Hi,
thank you for the update.
I tested with v1.0.0-alpha2 (GSON mode) and the team updated some unit and integration tests and they pass.
Beside excluding some deps, I forced others to a different version, so my repository increased by only 3 MB, yeah!
Thank you so much for your great help!
In case someone else may ever have a similar requirement (which is very unlikely, as I have a *very* specific environment), as a point to start I include my "exclusions" as an example below. It was found empirically and may break things.
Steffen
pom.xml:/project/build/plugins:
<!-- Do not use, may break everything. -->
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<version>1.0.0-alpha2</version>
<configuration>
<sourceDirectory>${basedir}/../../src/schema</sourceDirectory>
<targetPackage>com.example.pkg.json</targetPackage>
<!-- Netbeans *requires* generated sources to be in ${basedir}/target/generated-sources/PLUGIN/ -->
<outputDirectory>${project.build.directory}/generated-sources/jsonschema2pojo/</outputDirectory>
<annotationStyle>GSON</annotationStyle>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-core</artifactId>
<version>1.0.0-alpha2</version>
<exclusions>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
</exclusion>
<exclusion>
<artifactId>android</artifactId>
</exclusion>
<exclusion>
<groupId>net.sourceforge.collections</groupId>
<artifactId>collections-generic</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.javaparser</groupId>
<artifactId>javaparser</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>com.squareup.moshi</groupId>
<artifactId>moshi</artifactId>
</exclusion>
<exclusion>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</plugin>