Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ '21' ]
java: [ '21', '25-ea' ]
os: [ 'ubuntu-24.04' ]
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -174,11 +174,3 @@ jobs:
title: CheckStyle Violations
path: '**/checkstyle-result.xml'
mode: inline

- name: Remove Label
if: ${{ always() && github.event.label.name == 'rebuild' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR: ${{ github.event.number }}
run: |
gh pr edit $PR --remove-label rebuild
45 changes: 45 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,17 @@ Import-Package: \\
<requireMavenVersion>
<version>3.9.6</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[21.0,22.0),[25.0,26.0)</version>
</requireJavaVersion>
<requireJavaVersion>
<version>[21.0,22.0)</version>
<message>++ WARNING ++ WARNING ++ WARNING ++ WARNING ++ WARNING ++ WARNING ++
JDK 25 compiler is in use, generating Java 21 bytecode.
This is not officially supported.
Consider using JDK 21 for building and testing.
++ WARNING ++ WARNING ++ WARNING ++ WARNING ++ WARNING ++ WARNING ++</message>
<level>WARN</level>
</requireJavaVersion>
</rules>
</configuration>
Expand Down Expand Up @@ -791,6 +800,8 @@ Import-Package: \\
<profile>
<id>with-bnd-resolver-resolve</id>
<activation>
<!-- TODO remove automatic activation once upgrade from bnd 7.1.0 to 7.2.0 is done -->
<jdk>[25.0,26.0)</jdk>
<property>
<name>withResolver</name>
</property>
Expand All @@ -815,5 +826,39 @@ Import-Package: \\
</pluginManagement>
</build>
</profile>
<!-- TODO remove this profile once upgrade from bnd 7.1.0 to 7.2.0 is done -->
<profile>
<id>jdk25</id>
<activation>
<jdk>[25.0,26.0)</jdk>
</activation>
<properties>
<bnd.version>7.2.0-SNAPSHOT</bnd.version>
</properties>
<repositories>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>bnd-snapshots</id>
<url>https://bndtools.jfrog.io/bndtools/update-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>bnd-snapshots-plugins</id>
<url>https://bndtools.jfrog.io/bndtools/update-snapshot</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>
Loading