Skip to content

Commit a2e6ce3

Browse files
authored
Set Maven compiler release to 17
the library should not float java versions nor pick them up from the parent pom. The library is consumed by plugins, via the plugin-pom and upgrading the bytecode will cause the plugin pom to no longer work with older (pre 25) versions of Jenkins and there is no need to do that.
1 parent 809bf36 commit a2e6ce3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<gitHubRepo>jenkinsci/lib-${project.artifactId}</gitHubRepo>
2727
<spotless.check.skip>false</spotless.check.skip>
2828
<ban-junit4-imports.skip>false</ban-junit4-imports.skip>
29+
<maven.compiler.release>17</maven.compiler.release>
2930
</properties>
3031

3132
<dependencies>

0 commit comments

Comments
 (0)