This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch maven-compiler-plugin-3.x in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
commit a75cc5f287a1e412ec3e6cc1532c2f351ba3dbfd Author: Slawomir Jaranowski <[email protected]> AuthorDate: Mon Oct 13 08:04:20 2025 +0200 add proc full for jdk 21+ --- src/it/MCOMPILER-538/code/pom.xml | 21 +++++++++++++++++++++ src/it/jdk16-annotation/pom.xml | 26 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/src/it/MCOMPILER-538/code/pom.xml b/src/it/MCOMPILER-538/code/pom.xml index 2dd9744..14019cd 100644 --- a/src/it/MCOMPILER-538/code/pom.xml +++ b/src/it/MCOMPILER-538/code/pom.xml @@ -90,4 +90,25 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>jdk21</id> + <activation> + <jdk>[21,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <proc>full</proc> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> + </project> diff --git a/src/it/jdk16-annotation/pom.xml b/src/it/jdk16-annotation/pom.xml index 6a12ad7..98e472e 100644 --- a/src/it/jdk16-annotation/pom.xml +++ b/src/it/jdk16-annotation/pom.xml @@ -52,4 +52,30 @@ under the License. <scope>test</scope> </dependency> </dependencies> + + <profiles> + <profile> + <id>jdk21</id> + <activation> + <jdk>[21,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>@project.version@</version> + <executions> + <execution> + <id>default-testCompile</id> + <configuration> + <proc>full</proc> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
