Skip to content

Commit

Permalink
Support for JDK 22 (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso authored Oct 17, 2023
1 parent 513eb1e commit 452fb4b
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/crosschecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fail-fast: false
matrix:
language: ['java']
java: [ '21' ]
java: [ '21', '22-ea' ]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down
5 changes: 0 additions & 5 deletions core/idrepo/rest-cxf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ under the License.
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions core/provisioning-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ under the License.
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions core/provisioning-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ under the License.
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions ext/elasticsearch/persistence-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ under the License.
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
Expand Down
93 changes: 92 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ under the License.

<jasypt.version>1.9.3</jasypt.version>

<groovy.version>5.0.0-SNAPSHOT</groovy.version>

<flowable.version>7.0.0</flowable.version>
<flowable-old.version>6.8.0</flowable-old.version>

Expand Down Expand Up @@ -870,6 +872,57 @@ under the License.
<version>${connid.version}</version>
</dependency>

<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-templates</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-xml</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-jsr223</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-datetime</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-dateutil</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-sql</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-json</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-yaml</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-groovysh</artifactId>
<version>${groovy.version}</version>
</dependency>

<dependency>
<groupId>com.icegreen</groupId>
<artifactId>greenmail</artifactId>
Expand Down Expand Up @@ -1698,7 +1751,7 @@ under the License.
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-ant</artifactId>
<version>4.0.15</version>
<version>${groovy.version}</version>
</dependency>
</dependencies>
<executions>
Expand Down Expand Up @@ -2200,6 +2253,44 @@ under the License.
</plugins>
</build>
</profile>

<profile>
<id>jdk-22</id>

<activation>
<jdk>22</jdk>
</activation>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.6.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.14.9</version>
</dependency>

<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>1.14.9</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
</profiles>

<modules>
Expand Down

0 comments on commit 452fb4b

Please sign in to comment.