@ -37,6 +37,8 @@
@@ -37,6 +37,8 @@
<module > jaxb</module>
<module > jaxrs</module>
<module > jaxrs2</module>
<module > java11</module>
<module > jakarta</module>
<module > json</module>
<module > okhttp</module>
<module > googlehttpclient</module>
@ -50,14 +52,14 @@
@@ -50,14 +52,14 @@
<module > dropwizard-metrics5</module>
<module > kotlin</module>
<module > micrometer</module>
<module > mock</module>
<module > apt-test-generator</module>
<module > annotation-error-decoder</module>
<module > example-github</module>
<module > example-github-with-coroutine</module>
<module > example-wikipedia</module>
<module > example-wikipedia-with-springboot</module>
<module > mock</module>
<module > apt-test-generator</module>
<module > benchmark</module>
<module > annotation-error-decoder</module>
</modules>
<properties >
@ -69,7 +71,7 @@
@@ -69,7 +71,7 @@
<!-- default bytecode version for src/main -->
<main.java.version > 1.8</main.java.version>
<main.signature.artifact > java18</main.signature.artifact >
<latest.java.version > 17</latest.java.version >
<!-- default bytecode version for src/test -->
<maven.compiler.source > ${main.java.version}</maven.compiler.source>
@ -93,7 +95,6 @@
@@ -93,7 +95,6 @@
<hamcrest.version > 2.2</hamcrest.version>
<mockito.version > 4.11.0</mockito.version>
<animal-sniffer-maven-plugin.version > 1.22</animal-sniffer-maven-plugin.version>
<maven-compiler-plugin.version > 3.10.1</maven-compiler-plugin.version>
<maven-install-plugin.version > 3.1.0</maven-install-plugin.version>
<maven-source-plugin.version > 3.2.1</maven-source-plugin.version>
@ -103,7 +104,7 @@
@@ -103,7 +104,7 @@
<maven-release-plugin.version > 2.5.3</maven-release-plugin.version>
<maven-bundle-plugin.version > 5.1.8</maven-bundle-plugin.version>
<centralsync-maven-plugin.version > 0.1.1</centralsync-maven-plugin.version>
<maven-surefire-plugin.version > 2.22.2 </maven-surefire-plugin.version>
<maven-surefire-plugin.version > 3.0.0-M9 </maven-surefire-plugin.version>
<bom-generator.version > 0.94.0</bom-generator.version>
<bom.template.file.path > file://${project.basedir}/src/config/bom.xml</bom.template.file.path>
<maven-scm-plugin.version > 1.13.0</maven-scm-plugin.version>
@ -310,12 +311,6 @@
@@ -310,12 +311,6 @@
<version > ${hamcrest.version}</version>
</dependency>
<dependency >
<groupId > org.jvnet</groupId>
<artifactId > animal-sniffer-annotation</artifactId>
<version > 1.0</version>
</dependency>
<dependency >
<groupId > com.google.code.gson</groupId>
<artifactId > gson</artifactId>
@ -420,6 +415,7 @@
@@ -420,6 +415,7 @@
</dependencies>
<build >
<defaultGoal > clean install</defaultGoal>
<pluginManagement >
<plugins >
<plugin >
@ -445,20 +441,63 @@
@@ -445,20 +441,63 @@
<redirectTestOutputToFile > true</redirectTestOutputToFile>
<trimStackTrace > false</trimStackTrace>
<argLine > ${jvm.options}</argLine>
<jdkToolchain >
<version > ${latest.java.version}</version>
</jdkToolchain>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-failsafe-plugin</artifactId>
<version > ${maven-surefire-plugin.version}</version>
<configuration >
<redirectTestOutputToFile > true</redirectTestOutputToFile>
<trimStackTrace > false</trimStackTrace>
<jdkToolchain >
<version > ${latest.java.version}</version>
</jdkToolchain>
</configuration>
<dependencies >
<dependency >
<!-- surefire uses ASM to do some bytecode magic... need to bump version to be java 11 compatible -->
<groupId > org.ow2.asm</groupId>
<artifactId > asm</artifactId>
<version > 9.4</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-toolchains-plugin</artifactId>
<version > 3.1.0</version>
<executions >
<execution >
<goals >
<goal > toolchain</goal>
</goals>
<configuration >
<toolchains >
<jdk >
<version > ${main.java.version}</version>
</jdk>
</toolchains>
</configuration>
</execution>
<execution >
<id > test</id>
<phase > generate-test-sources</phase>
<goals >
<goal > toolchain</goal>
</goals>
<configuration >
<toolchains >
<jdk >
<version > ${latest.java.version}</version>
</jdk>
</toolchains>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-compiler-plugin</artifactId>
<inherited > true</inherited>
@ -490,40 +529,13 @@
@@ -490,40 +529,13 @@
<compilerArgs >
<arg > -parameters</arg>
</compilerArgs>
<source > ${main .java.version}</source>
<target > ${main .java.version}</target>
<source > ${latest .java.version}</source>
<target > ${latest .java.version}</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > animal-sniffer-maven-plugin</artifactId>
<version > ${animal-sniffer-maven-plugin.version}</version>
<configuration >
<signature >
<groupId > org.codehaus.mojo.signature</groupId>
<artifactId > ${main.signature.artifact}</artifactId>
<version > 1.0</version>
</signature>
</configuration>
<executions >
<execution >
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
<dependencies >
<dependency >
<groupId > org.ow2.asm</groupId>
<artifactId > asm</artifactId>
<version > 9.4</version>
</dependency>
</dependencies>
</plugin>
<plugin >
<artifactId > maven-install-plugin</artifactId>
<version > ${maven-install-plugin.version}</version>
@ -776,16 +788,6 @@
@@ -776,16 +788,6 @@
<bom.template.file.path > file:///${project.basedir}/src/config/bom.xml</bom.template.file.path>
</properties>
</profile>
<profile >
<id > java11</id>
<activation >
<jdk > [11,)</jdk>
</activation>
<modules >
<module > java11</module>
<module > jakarta</module>
</modules>
</profile>
<profile >
<id > validateCodeFormat</id>