This is an automated email from the ASF dual-hosted git repository. ahuber pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push: new 5803e2ee31 ISIS-3297: bom: consolidate maven-compiler-plugin from core 5803e2ee31 is described below commit 5803e2ee31d071bbdc4db1a7dde4a0b4b7f9fc00 Author: Andi Huber <ahu...@apache.org> AuthorDate: Tue Nov 29 10:58:50 2022 +0100 ISIS-3297: bom: consolidate maven-compiler-plugin from core --- bom/pom.xml | 25 ++++++++++++++++++++++++- core/pom.xml | 58 ---------------------------------------------------------- 2 files changed, 24 insertions(+), 59 deletions(-) diff --git a/bom/pom.xml b/bom/pom.xml index 6aacb967ab..464f420d42 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -310,8 +310,31 @@ It is therefore a copy of org.apache:apache, with customisations clearly identif <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>${maven-compiler-plugin.version}</version> + <configuration> + <showDeprecation>true</showDeprecation> + <showWarnings>true</showWarnings> + <!-- Java compliance level, to be overridden with option maven.compiler.release --> + <annotationProcessorPaths> + <path> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <version>${lombok.version}</version> + </path> + </annotationProcessorPaths> + </configuration> + <!-- goal:compile binds to phase:compile --> + <!-- goal:testCompile binds to phase:test-compile --> </plugin> + <plugin> + <groupId>org.jvnet.jaxb2.maven2</groupId> + <artifactId>maven-jaxb2-plugin</artifactId> + <version>0.15.1</version> + <configuration> + <removeOldOutput>true</removeOldOutput> + <episode>true</episode> + </configuration> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> diff --git a/core/pom.xml b/core/pom.xml index 2f92cd06b1..72a95e462f 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -63,27 +63,6 @@ <pluginManagement> <plugins> - <!-- Compile --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>${maven-compiler-plugin.version}</version> - <configuration> - <showDeprecation>false</showDeprecation> - <showWarnings>false</showWarnings> - <!-- Java compliance level, to be overridden with option maven.compiler.release --> - <annotationProcessorPaths> - <path> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - <version>${lombok.version}</version> - </path> - </annotationProcessorPaths> - </configuration> - <!-- goal:compile binds to phase:compile --> - <!-- goal:testCompile binds to phase:test-compile --> - </plugin> - <!-- Test Reporting --> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -221,11 +200,6 @@ <artifactId>apache-rat-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - </plugin> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> @@ -1287,38 +1261,6 @@ </build> </profile> - <profile> - <id>jdk11</id> - <activation> - <jdk>[11,)</jdk> - </activation> - - <build> - <plugins> - <!-- Compile --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <showDeprecation>true</showDeprecation> - <showWarnings>true</showWarnings> - <!-- Java compliance level, to be overridden with option maven.compiler.release --> - </configuration> - </plugin> - - <plugin> - <groupId>org.jvnet.jaxb2.maven2</groupId> - <artifactId>maven-jaxb2-plugin</artifactId> - <version>0.15.1</version> - <configuration> - <removeOldOutput>true</removeOldOutput> - <episode>true</episode> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> <id>owasp</id> <activation>