Skip to content

Commit

Permalink
[CIRC-1830] Migrate to Java 17 (#1299)
Browse files Browse the repository at this point in the history
* CIRC-1830 update module to 17 java version

* CIRC-1830 Update Jenkinsfile

* Revert "CIRC-1830 Update Jenkinsfile"

This reverts commit 184e5db.

* CIRC-1830 Increase jacoco version
  • Loading branch information
roman-barannyk authored Jul 5, 2023
1 parent 5699dd1 commit 7e3f7a5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
FROM folioci/alpine-jre-openjdk11:latest
FROM folioci/alpine-jre-openjdk17:latest

# Install latest patch versions of packages: https://pythonspeed.com/articles/security-updates-in-docker/
USER root
RUN apk upgrade --no-cache
USER folio

ENV VERTICLE_FILE mod-circulation.jar

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildMvn {
mvnDeploy = true
doKubeDeploy = true
publishPreview = false
buildNode = 'jenkins-agent-java11'
buildNode = 'jenkins-agent-java17'

doDocker = {
buildJavaDocker {
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<log4j2.version>2.19.0</log4j2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<lombok.version>1.18.24</lombok.version>
<lombok.version>1.18.28</lombok.version>
<spring.version>5.3.24</spring.version>
<maven.site.plugin.version>3.9.1</maven.site.plugin.version>
</properties>
Expand Down Expand Up @@ -319,7 +319,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
<version>0.8.10</version>
<configuration>
<excludes>
<exclude>org/drools/compiler/lang/*</exclude>
Expand All @@ -344,7 +344,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<release>11</release>
<release>17</release>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
Expand Down

0 comments on commit 7e3f7a5

Please sign in to comment.