diff --git a/light-eventuate-4j/src/main/resources/templates/eventuate/hybrid/server/pom.xml.rocker.raw b/light-eventuate-4j/src/main/resources/templates/eventuate/hybrid/server/pom.xml.rocker.raw index cad4ad896..aafcf2424 100644 --- a/light-eventuate-4j/src/main/resources/templates/eventuate/hybrid/server/pom.xml.rocker.raw +++ b/light-eventuate-4j/src/main/resources/templates/eventuate/hybrid/server/pom.xml.rocker.raw @@ -10,7 +10,11 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 + com.networknt.server.Server 1.6.2-SNAPSHOT 2.9.8 1.7.25 @@ -298,36 +302,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -379,4 +372,134 @@ + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/light-eventuate-4j/src/main/resources/templates/eventuate/hybrid/service/pom.xml.rocker.raw b/light-eventuate-4j/src/main/resources/templates/eventuate/hybrid/service/pom.xml.rocker.raw index 8b81ce45d..4ec3c670a 100644 --- a/light-eventuate-4j/src/main/resources/templates/eventuate/hybrid/service/pom.xml.rocker.raw +++ b/light-eventuate-4j/src/main/resources/templates/eventuate/hybrid/service/pom.xml.rocker.raw @@ -10,7 +10,11 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 + com.networknt.server.Server 1.6.2-SNAPSHOT 2.9.8 1.7.25 @@ -236,36 +240,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -317,4 +310,134 @@ + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/commandservice/pom.xml.rocker.raw b/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/commandservice/pom.xml.rocker.raw index f47340526..a3b502593 100644 --- a/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/commandservice/pom.xml.rocker.raw +++ b/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/commandservice/pom.xml.rocker.raw @@ -10,8 +10,12 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 - 1.6.0 + com.networknt.server.Server + 1.6.2-SNAPSHOT 2.9.8 1.7.25 0.6.3 @@ -392,36 +396,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -477,4 +470,134 @@ https://code.lds.org/nexus/content/groups/main-repo + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/pom.xml.rocker.raw b/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/pom.xml.rocker.raw index d9a6399f3..0b00395bb 100644 --- a/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/pom.xml.rocker.raw +++ b/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/pom.xml.rocker.raw @@ -10,7 +10,11 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 + com.networknt.server.Server 1.6.2-SNAPSHOT 1.6.0 2.9.8 @@ -446,36 +450,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -531,4 +524,134 @@ https://code.lds.org/nexus/content/groups/main-repo + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/queryservice/pom.xml.rocker.raw b/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/queryservice/pom.xml.rocker.raw index e93a1aae2..47776e9f5 100644 --- a/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/queryservice/pom.xml.rocker.raw +++ b/light-eventuate-4j/src/main/resources/templates/eventuate/rest/openapi/queryservice/pom.xml.rocker.raw @@ -10,8 +10,12 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 - 1.6.0 + com.networknt.server.Server + 1.6.2-SNAPSHOT 2.9.8 1.7.25 0.6.3 @@ -392,36 +396,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -477,4 +470,134 @@ https://code.lds.org/nexus/content/groups/main-repo + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/light-graphql-4j/src/main/resources/templates/graphql/pom.xml.rocker.raw b/light-graphql-4j/src/main/resources/templates/graphql/pom.xml.rocker.raw index 41c3929eb..4a140e1c3 100644 --- a/light-graphql-4j/src/main/resources/templates/graphql/pom.xml.rocker.raw +++ b/light-graphql-4j/src/main/resources/templates/graphql/pom.xml.rocker.raw @@ -10,7 +10,11 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 + com.networknt.server.Server 1.6.2-SNAPSHOT 2.9.8 1.7.25 @@ -351,36 +355,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -432,4 +425,134 @@ + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/light-hybrid-4j/src/main/resources/templates/hybrid/server/pom.xml.rocker.raw b/light-hybrid-4j/src/main/resources/templates/hybrid/server/pom.xml.rocker.raw index 3966b3af8..215c1cc77 100644 --- a/light-hybrid-4j/src/main/resources/templates/hybrid/server/pom.xml.rocker.raw +++ b/light-hybrid-4j/src/main/resources/templates/hybrid/server/pom.xml.rocker.raw @@ -10,7 +10,11 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 + com.networknt.server.Server 1.6.2-SNAPSHOT 2.9.8 1.7.25 @@ -270,36 +274,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -351,4 +344,134 @@ + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/light-hybrid-4j/src/main/resources/templates/hybrid/service/pom.xml.rocker.raw b/light-hybrid-4j/src/main/resources/templates/hybrid/service/pom.xml.rocker.raw index 550f147f0..b2626a7dd 100644 --- a/light-hybrid-4j/src/main/resources/templates/hybrid/service/pom.xml.rocker.raw +++ b/light-hybrid-4j/src/main/resources/templates/hybrid/service/pom.xml.rocker.raw @@ -10,7 +10,11 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 + com.networknt.server.Server 1.6.2-SNAPSHOT 2.9.8 1.7.25 @@ -202,36 +206,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -283,4 +276,134 @@ + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/light-rest-4j/src/main/resources/templates/rest/openapi/pom.xml.rocker.raw b/light-rest-4j/src/main/resources/templates/rest/openapi/pom.xml.rocker.raw index 392e50cf0..d64184a9e 100644 --- a/light-rest-4j/src/main/resources/templates/rest/openapi/pom.xml.rocker.raw +++ b/light-rest-4j/src/main/resources/templates/rest/openapi/pom.xml.rocker.raw @@ -10,6 +10,9 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 com.networknt.server.Server 1.6.2-SNAPSHOT @@ -267,6 +270,114 @@ } + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { + + -XDcompilePolicy=simple + -Xplugin:ErrorProne + + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } + + + + org.codehaus.mojo + versions-maven-plugin + ${versions.maven-version} + + + org.apache.maven.plugins + maven-surefire-plugin + 2.14 + + + org.apache.maven.surefire + surefire-junit47 + 2.14 + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.6 + + + + ${project.main.class} + + + + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.apache.maven.plugins + + + maven-compiler-plugin + + + [3.3,) + + + compile + testCompile + + + + + + + + + + + + + + + + + + + sonatype-snapshots + https://oss.sonatype.org/content/repositories/snapshots + + true + + + + codelds + https://code.lds.org/nexus/content/groups/main-repo + + @@ -373,124 +484,27 @@ + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.3 - - javac-with-errorprone - true - true - - - - true - - ${java.version} - ${java.version} - - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - - - org.codehaus.mojo - versions-maven-plugin - ${versions.maven-version} - - - org.apache.maven.plugins - maven-surefire-plugin - 2.14 - - - org.apache.maven.surefire - surefire-junit47 - 2.14 - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.6 - - - - ${project.main.class} - - - - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - - org.apache.maven.plugins - - - maven-compiler-plugin - - - [3.3,) - - - compile - testCompile - - - - - - - - - - - - - - - - - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots - - true - - - - codelds - https://code.lds.org/nexus/content/groups/main-repo - - diff --git a/light-rest-4j/src/main/resources/templates/rest/swagger/pom.xml.rocker.raw b/light-rest-4j/src/main/resources/templates/rest/swagger/pom.xml.rocker.raw index a37c78ede..53e56d193 100644 --- a/light-rest-4j/src/main/resources/templates/rest/swagger/pom.xml.rocker.raw +++ b/light-rest-4j/src/main/resources/templates/rest/swagger/pom.xml.rocker.raw @@ -10,7 +10,11 @@ 1.8 + @if(config.toBoolean("enableErrorProne")) { + 9+181-r4173-1 + } UTF-8 + com.networknt.server.Server 1.6.2-SNAPSHOT 2.9.8 1.7.25 @@ -363,36 +367,25 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + 3.8.0 - javac-with-errorprone - true - true + 8 + 8 + @if(config.toBoolean("enableErrorProne")) { - + -XDcompilePolicy=simple + -Xplugin:ErrorProne - true - - ${java.version} - ${java.version} + + + com.google.errorprone + error_prone_core + 2.3.3 + + + } - - - org.codehaus.plexus - plexus-compiler-javac-errorprone - 2.8 - - - - com.google.errorprone - error_prone_core - 2.0.15 - - - @@ -448,4 +441,134 @@ https://code.lds.org/nexus/content/groups/main-repo + + + + release + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + ${project.build.directory}/dependency-reduced-pom.xml + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + ${project.build.directory}/${project.build.finalName}.${project.packaging} + + + + + + + + debug + + true + + + -Xdebug + -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + ${project.build.directory} + java + + -cp + + ${java.debug.argument} + ${java.debug.agent} + ${project.main.class} + + + + + + + @if(config.toBoolean("enableErrorProne")) { + + jdk8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + + + + + } + + diff --git a/pom.xml b/pom.xml index 7a9a7b164..ea1ba1dfd 100644 --- a/pom.xml +++ b/pom.xml @@ -457,7 +457,8 @@ 2.3.3 - + +