File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717jobs :
1818 analyze :
1919 name : Analyze
20- runs-on : ubuntu-22 .04
20+ runs-on : ubuntu-24 .04
2121
2222 strategy :
2323 fail-fast : false
3030
3131 steps :
3232 - name : Checkout repository
33- uses : actions/checkout@v4
33+ uses : actions/checkout@v5
3434 with :
3535 # We must fetch at least the immediate parents so that if this is
3636 # a pull request then we can check out the head.
Original file line number Diff line number Diff line change 1010env :
1111 # This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
1212 # `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
13- MAVEN_OPTS : " -Dhttps.protocols=TLSv1.2 - Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
13+ MAVEN_OPTS : " -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
1414 # As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
1515 # when running from the command line.
1616 # `installAtEnd` and `deployAtEnd` are only effective with recent version of the corresponding plugins.
1717 MAVEN_CLI_OPTS : " --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
1818
1919jobs :
2020 build :
21-
22- runs-on : ubuntu-latest
21+ runs-on : ubuntu-24.04
2322 timeout-minutes : 10
2423
2524 steps :
26- - uses : actions/checkout@v4
25+ - uses : actions/checkout@v5
2726
2827 - name : Bump version and create tag
2928 id : semanticversion
@@ -50,11 +49,11 @@ jobs:
5049 key : ${{ runner.os }}-sonar
5150 restore-keys : ${{ runner.os }}-sonar
5251
53- - name : Set up JDK 17
54- uses : actions/setup-java@v4
52+ - name : Set up JDK 21
53+ uses : actions/setup-java@v5
5554 with :
5655 distribution : ' temurin'
57- java-version : ' 17 '
56+ java-version : ' 21 '
5857 cache : ' maven'
5958
6059 # # Build with maven
Original file line number Diff line number Diff line change 1010env :
1111 # This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
1212 # `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
13- MAVEN_OPTS : " -Dhttps.protocols=TLSv1.2 - Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
13+ MAVEN_OPTS : " -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
1414 # As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
1515 # when running from the command line.
1616 # `installAtEnd` and `deployAtEnd` are only effective with recent version of the corresponding plugins.
1717 MAVEN_CLI_OPTS : " --batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
1818
1919jobs :
2020 build :
21-
22- runs-on : ubuntu-latest
21+ runs-on : ubuntu-24.04
2322 timeout-minutes : 10
2423
2524 steps :
26- - uses : actions/checkout@v4
25+ - uses : actions/checkout@v5
2726
2827 # # Enable Caching
2928 - name : Cache SonarCloud packages
@@ -33,11 +32,11 @@ jobs:
3332 key : ${{ runner.os }}-sonar
3433 restore-keys : ${{ runner.os }}-sonar
3534
36- - name : Set up JDK 17
37- uses : actions/setup-java@v4
35+ - name : Set up JDK 21
36+ uses : actions/setup-java@v5
3837 with :
3938 distribution : ' temurin'
40- java-version : ' 17 '
39+ java-version : ' 21 '
4140 cache : ' maven'
4241
4342 - name : Perform build and analysis
Original file line number Diff line number Diff line change 8787 <configuration >
8888 <source >17</source >
8989 <target >17</target >
90+ <release >17</release >
9091 </configuration >
9192 </plugin >
9293 <plugin >
154155 </requireMavenVersion >
155156 <requireJavaVersion >
156157 <!-- http://maven.apache.org/enforcer/enforcer-rules/versionRanges.html -->
157- <version >[17,21 )</version >
158+ <version >[17,22 )</version >
158159 </requireJavaVersion >
159160 <!-- <requirePluginVersions> <message>Best Practice is to
160161 always define plugin versions!</message> <banLatest>true</banLatest> <banRelease>true</banRelease>
232233 <artifactId >maven-javadoc-plugin</artifactId >
233234 <version >3.12.0</version >
234235 </plugin >
236+ <plugin >
237+ <groupId >org.sonarsource.scanner.maven</groupId >
238+ <artifactId >sonar-maven-plugin</artifactId >
239+ <version >5.3.0.6276</version >
240+ </plugin >
235241 </plugins >
236242 </pluginManagement >
237243 </build >
You can’t perform that action at this time.
0 commit comments