Skip to content

Commit 3e56c51

Browse files
committed
Make Java 17 required to build project
As 11 is not enough, while 21 is not really needed. Tool lowered to 17 as well.
1 parent 7318c95 commit 3e56c51

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/maven-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
with:
2929
ff-run: false
3030
ff-site-run: false
31-
jdk-matrix: '[ "21" ]'
31+
jdk-matrix: '[ "17", "21" ]'
3232

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
* under the License.
1818
*/
1919

20-
asfMavenTlpStdBuild( 'jdks' : [ "21" ] )
20+
asfMavenTlpStdBuild( 'jdks' : [ "17", "21" ] )
2121

maven-resolver-tools/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<description>Various tools.</description>
3333

3434
<properties>
35-
<javaVersion>21</javaVersion>
35+
<javaVersion>17</javaVersion>
3636
<maven.deploy.skip>true</maven.deploy.skip>
3737

3838
<Automatic-Module-Name>org.apache.maven.resolver.tools</Automatic-Module-Name>

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<mavenVersion>4.0.0-alpha-8</mavenVersion>
103103
<minimalMavenBuildVersion>[3.8.8,)</minimalMavenBuildVersion>
104104
<!-- MRESOLVER-422: keep this in sync with Javadoc plugin configuration (but cannot directly, as this below is range) -->
105-
<minimalJavaBuildVersion>[11,)</minimalJavaBuildVersion>
105+
<minimalJavaBuildVersion>[17,)</minimalJavaBuildVersion>
106106
<project.build.outputTimestamp>2023-11-15T14:56:04Z</project.build.outputTimestamp>
107107
</properties>
108108

@@ -183,7 +183,7 @@
183183
<dependency>
184184
<groupId>org.junit</groupId>
185185
<artifactId>junit-bom</artifactId>
186-
<version>5.10.0</version>
186+
<version>5.10.1</version>
187187
<type>pom</type>
188188
<scope>import</scope>
189189
</dependency>
@@ -237,7 +237,7 @@
237237
<dependency>
238238
<groupId>org.codehaus.plexus</groupId>
239239
<artifactId>plexus-testing</artifactId>
240-
<version>1.1.0</version>
240+
<version>1.2.0</version>
241241
</dependency>
242242

243243
<dependency>

0 commit comments

Comments
 (0)