This is an automated email from the ASF dual-hosted git repository. alien11689 pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/aries.git
commit fececcd262066700cd886c1dbc532d7f5d76626c Author: Dominik Przybysz <[email protected]> AuthorDate: Fri Jan 30 00:00:16 2026 +0100 ARIES-2165: Test proxy on java 25 --- .github/workflows/proxy.yml | 2 +- proxy/proxy-impl/pom.xml | 38 +++++++++++++++++++++++++++++++++++--- proxy/proxy-itests/pom.xml | 4 ++-- 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/.github/workflows/proxy.yml b/.github/workflows/proxy.yml index e30e7aeee..5a8e38c6e 100644 --- a/.github/workflows/proxy.yml +++ b/.github/workflows/proxy.yml @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ 8, 11, 17, 21 ] + java: [ 8, 11, 17, 21, 25 ] os: [ ubuntu-latest ] name: JDK${{ matrix.java }} ${{ matrix.os }} runs-on: ${{ matrix.os }} diff --git a/proxy/proxy-impl/pom.xml b/proxy/proxy-impl/pom.xml index b1b252eba..748458ee1 100644 --- a/proxy/proxy-impl/pom.xml +++ b/proxy/proxy-impl/pom.xml @@ -180,9 +180,9 @@ <profiles> <profile> - <id>java9To21</id> + <id>java9To25</id> <activation> - <jdk>(8,22)</jdk> + <jdk>(8,26)</jdk> </activation> <build> <plugins> @@ -231,7 +231,7 @@ </build> </profile> <profile> - <id>java21+</id> + <id>java21</id> <activation> <jdk>21</jdk> </activation> @@ -263,6 +263,38 @@ </plugins> </build> </profile> + <profile> + <id>java25</id> + <activation> + <jdk>25</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>process-classes</phase> + <configuration> + <target> + <!-- run the Synthesizer on the WovenProxy class --> + <!-- diff from previous java versions: fork and jvmarg --> + <java classname="org.apache.aries.proxy.synthesizer.Synthesizer" classpathref="maven.runtime.classpath" fork="true"> + <arg value="${project.build.outputDirectory}/org/apache/aries/proxy/weaving/WovenProxy.class"/> + </java> + <delete dir="${project.build.outputDirectory}/org/apache/aries/proxy/synthesizer"/> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> diff --git a/proxy/proxy-itests/pom.xml b/proxy/proxy-itests/pom.xml index fce0873d4..d713b89ad 100644 --- a/proxy/proxy-itests/pom.xml +++ b/proxy/proxy-itests/pom.xml @@ -192,9 +192,9 @@ <profiles> <profile> - <id>java9To21</id> + <id>java9To25</id> <activation> - <jdk>(8,22)</jdk> + <jdk>(8,26)</jdk> </activation> <build> <plugins>
