This is an automated email from the ASF dual-hosted git repository.
veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git
The following commit(s) were added to refs/heads/master by this push:
new d642d42 Simplify the maven-compiler-plugin configuration
d642d42 is described below
commit d642d42d3f38b69341ceb05fc09667a3b5ad6133
Author: Andreas Veithen <[email protected]>
AuthorDate: Sun Mar 13 11:46:24 2022 +0000
Simplify the maven-compiler-plugin configuration
---
pom.xml | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/pom.xml b/pom.xml
index 0d01bb6..08a704a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -737,19 +737,6 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
- <configuration>
- <compilerArgs combine.children="append">
- <compilerArg>-XDcompilePolicy=simple</compilerArg>
- <compilerArg>-Xplugin:ErrorProne
-XepExcludedPaths:.*/org/jaxen/.* -Xep:MissingOverride:ERROR</compilerArg>
- </compilerArgs>
- <annotationProcessorPaths combine.children="append">
- <annotationProcessorPath>
- <groupId>com.google.errorprone</groupId>
- <artifactId>error_prone_core</artifactId>
- <version>${errorprone.version}</version>
- </annotationProcessorPath>
- </annotationProcessorPaths>
- </configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
@@ -1014,12 +1001,20 @@
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
- <inherited>true</inherited>
<configuration>
<source>${javaVersion}</source>
<target>${javaVersion}</target>
<release>${javaRelease}</release>
- <annotationProcessorPaths>
+ <compilerArgs combine.children="append">
+ <compilerArg>-XDcompilePolicy=simple</compilerArg>
+ <compilerArg>-Xplugin:ErrorProne
-XepExcludedPaths:.*/org/jaxen/.* -Xep:MissingOverride:ERROR</compilerArg>
+ </compilerArgs>
+ <annotationProcessorPaths combine.children="append">
+ <annotationProcessorPath>
+ <groupId>com.google.errorprone</groupId>
+ <artifactId>error_prone_core</artifactId>
+ <version>${errorprone.version}</version>
+ </annotationProcessorPath>
<annotationProcessorPath>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>