Skip to content

Commit 3ef3c92

Browse files
authored
Use jenkins.baseline for plugin BOM version (#113)
Reduce duplication in the pom file and make the plugin pom file closer to the archetype.
1 parent bfaa8a8 commit 3ef3c92

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
<properties>
3434
<revision>3.4.1</revision>
3535
<changelist>999999-SNAPSHOT</changelist>
36-
<jenkins.version>2.452.4</jenkins.version>
36+
<jenkins.baseline>2.452</jenkins.baseline>
37+
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
3738
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
3839
<hpi.compatibleSinceVersion>3.2</hpi.compatibleSinceVersion>
3940
<spotless.check.skip>false</spotless.check.skip>
@@ -43,7 +44,7 @@
4344
<dependencies>
4445
<dependency>
4546
<groupId>io.jenkins.tools.bom</groupId>
46-
<artifactId>bom-2.452.x</artifactId>
47+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
4748
<version>3790.va_b_a_2d26d2b_69</version>
4849
<type>pom</type>
4950
<scope>import</scope>

0 commit comments

Comments
 (0)