Skip to content

Commit

Permalink
run spotless to reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed May 21, 2024
1 parent a7fa4cf commit 24e7660
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 23 deletions.
26 changes: 12 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@
<version>0.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
<name>JSON/XML Debug Exporter Plugin</name>
<description>
This exporter plugin can be added to a Dataverse installation, dumping all possible JSON and XML data.
It also serves as a demo / example plugin.
</description>
<description>This exporter plugin can be added to a Dataverse installation, dumping all possible JSON and XML data.
It also serves as a demo / example plugin.</description>

<url>https://github.com/gdcc/exporter-debug</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>poikilotherm</id>
Expand All @@ -21,14 +26,7 @@
<timezone>+1</timezone>
</developer>
</developers>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>


<scm>
<connection>scm:git:https://github.com/gdcc/exporter-debug.git</connection>
<developerConnection>scm:git:git@github.com:gdcc/exporter-debug.git</developerConnection>
Expand All @@ -50,7 +48,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.version>17</jdk.version>

<!-- Official Maven Plugins -->
<maven-plugin-api.version>3.8.2</maven-plugin-api.version>
<maven-plugin-annotations.version>3.6.4</maven-plugin-annotations.version>
Expand All @@ -68,7 +66,7 @@
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
<maven-release-plugin.version>3.0.1</maven-release-plugin.version>
<maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>

<pomchecker-maven-plugin.version>1.7.0</pomchecker-maven-plugin.version>
<nexus-staging-plugin.version>1.6.13</nexus-staging-plugin.version>
<jacoco.version>0.8.12</jacoco.version>
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/io/gdcc/spi/export/debug/DebugExporter.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
package io.gdcc.spi.export.debug;

import com.google.auto.service.AutoService;

import io.gdcc.spi.export.ExportDataProvider;
import io.gdcc.spi.export.ExportException;
import io.gdcc.spi.export.Exporter;

import jakarta.json.Json;
import jakarta.json.JsonArray;
import jakarta.json.JsonObject;
import jakarta.json.JsonObjectBuilder;
import jakarta.ws.rs.core.MediaType;

import java.io.OutputStream;
import java.util.Locale;

Expand Down
9 changes: 3 additions & 6 deletions src/test/java/io/gdcc/spi/export/debug/DebugExporterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@
import static org.junit.jupiter.api.Assertions.*;

import io.gdcc.spi.export.ExportDataProvider;

import jakarta.json.Json;
import jakarta.json.JsonArray;
import jakarta.json.JsonObject;
import jakarta.json.JsonReader;
import jakarta.json.JsonWriter;
import jakarta.json.JsonWriterFactory;
import jakarta.json.stream.JsonGenerator;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.skyscreamer.jsonassert.JSONAssert;

import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
Expand All @@ -29,6 +23,9 @@
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Map;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.skyscreamer.jsonassert.JSONAssert;

public class DebugExporterTest {

Expand Down

0 comments on commit 24e7660

Please sign in to comment.