Skip to content

Commit

Permalink
Test JGit 7.0.0-m2 pre-release with Java 17 build
Browse files Browse the repository at this point in the history
JGit 7.0.0 requires Java 17.  Jenkins 2.463 requires Java 17.

Use the plugin bill of materials from 2.462.x because it is the closest
we have to 2.463.  The plugin is expected to work with any release 2.463
or later.
  • Loading branch information
MarkEWaite authored and git-client-user committed Aug 17, 2024
1 parent 54f9c71 commit 6bfa95c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,19 @@
</scm>

<properties>
<revision>5.0.1</revision>
<revision>6.0.0</revision>
<changelist>-SNAPSHOT</changelist>
<!-- Character set tests fail unless file.encoding is set -->
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.baseline>2.440</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
<jgit.version>6.10.0.202406032230-r</jgit.version>
<jenkins.baseline>2.462</jenkins.baseline>
<!-- <jenkins.version>${jenkins.baseline}.3</jenkins.version> -->
<!-- TODO Replace with the standard jenkins.baseline references after LTS requires Java 17 -->
<jenkins.version>2.463</jenkins.version>
<jgit.version>7.0.0.202407311305-m2</jgit.version>
<!-- TODO JENKINS-73339 until in parent POM -->
<maven.compiler.release>17</maven.compiler.release>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Low</spotbugs.threshold>
<spotless.check.skip>false</spotless.check.skip>
Expand All @@ -77,7 +81,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>3271.vf18ea_cb_9edfb_</version>
<version>3276.vcd71db_867fb_2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit 6bfa95c

Please sign in to comment.