File tree Expand file tree Collapse file tree 6 files changed +15
-12
lines changed Expand file tree Collapse file tree 6 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 4242
4343 - uses : actions/setup-java@v4
4444 with :
45- java-version : 11
45+ java-version : 17
4646 distribution : ' temurin'
4747 cache : ' maven'
4848
6161 strategy :
6262 matrix :
6363 os : [ubuntu-latest, windows-latest, macOS-latest]
64- java : [11, 17, 21]
64+ java : [17, 21]
6565
6666 fail-fast : false
6767 runs-on : ${{ matrix.os }}
@@ -130,4 +130,4 @@ jobs:
130130 if : failure() && matrix.os != 'windows-latest'
131131 with :
132132 name : ${{ github.run_number }}-integration-test-artifact-${{ matrix.os }}-${{ matrix.java }}
133- path : ./maven-integration-testing/core-it-suite/target/test-classes/
133+ path : ./maven-integration-testing/core-it-suite/target/test-classes/
Original file line number Diff line number Diff line change 3131 strategy :
3232 matrix :
3333 os : [ubuntu-latest, windows-latest]
34- java : [11, 17, 21]
34+ java : [17, 21]
3535 fail-fast : false
3636
3737 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change 2020properties([buildDiscarder(logRotator(artifactNumToKeepStr : ' 5' , numToKeepStr : env. BRANCH_NAME == ' master' ? ' 5' : ' 1' ))])
2121
2222def buildOs = ' linux'
23- def buildJdk = ' 11 '
23+ def buildJdk = ' 17 '
2424def buildMvn = ' 3.8.x'
2525def runITsOses = [' linux' ]
26- def runITsJdks = [' 11 ' , ' 17' , ' 21' ]
26+ def runITsJdks = [' 17' , ' 21' ]
2727def runITsMvn = ' 3.8.x'
2828def runITscommand = " mvn clean install -Prun-its,embedded -B -U -V" // -DmavenDistro=... -Dmaven.test.failure.ignore=true
2929def tests
Original file line number Diff line number Diff line change 2020properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: env.BRANCH_NAME=='master'?'5':'1'))])
2121
2222def buildOs = 'linux'
23- def buildJdk = '11 '
23+ def buildJdk = '17 '
2424def buildMvn = '3.8.x'
2525def runITsOses = ['linux']
26- def runITsJdks = ['11', ' 17']
26+ def runITsJdks = ['17']
2727def runITsMvn = '3.8.x'
2828def runITscommand = "mvn clean install -Prun-its,embedded -B -U -V" // -DmavenDistro=... -Dmaven.test.failure.ignore=true
2929def tests
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ Do you like Apache Maven? Then [donate back to the ASF](https://www.apache.org/f
6565Quick Build
6666-------
6767If you want to bootstrap Maven, you'll need:
68- - Java 11 +
68+ - Java 17 +
6969- Maven 3.6.3 or later
7070- Run Maven, specifying a location into which the completed Maven distro should be installed:
7171 ```
Original file line number Diff line number Diff line change @@ -147,7 +147,10 @@ under the License.
147147 </distributionManagement >
148148
149149 <properties >
150- <javaVersion >8</javaVersion >
150+ <javaVersion >17</javaVersion >
151+ <maven .compiler.source>${javaVersion} </maven .compiler.source>
152+ <maven .compiler.target>${javaVersion} </maven .compiler.target>
153+ <maven .compiler.release>${javaVersion} </maven .compiler.release>
151154 <maven .test.redirectTestOutputToFile>true</maven .test.redirectTestOutputToFile>
152155 <maven .baseline>3.8.8</maven .baseline>
153156 <!-- Control the name of the distribution and information output by mvn -->
@@ -816,10 +819,10 @@ under the License.
816819 <configuration >
817820 <rules >
818821 <requireJavaVersion >
819- <version >[11 ,)</version >
822+ <version >[17 ,)</version >
820823 </requireJavaVersion >
821824 <enforceBytecodeVersion >
822- <maxJdkVersion >${maven.compiler.target } </maxJdkVersion >
825+ <maxJdkVersion >${maven.compiler.release } </maxJdkVersion >
823826 <ignoredScopes >
824827 <ignoredScope >test</ignoredScope >
825828 </ignoredScopes >
You can’t perform that action at this time.
0 commit comments