Skip to content

Commit cb20b17

Browse files
authored
1 parent bd3aaa4 commit cb20b17

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.mvn/extensions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
2+
<extension>
3+
<groupId>io.jenkins.tools.incrementals</groupId>
4+
<artifactId>git-changelist-maven-extension</artifactId>
5+
<version>1.8</version>
6+
</extension>
7+
</extensions>

.mvn/maven.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-Pconsume-incrementals
2+
-Pmight-produce-incrementals

pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,23 @@
99

1010
<artifactId>port-allocator</artifactId>
1111
<packaging>hpi</packaging>
12-
<version>1.13-SNAPSHOT</version>
12+
<version>${revision}${changelist}</version>
1313
<name>Jenkins Port Allocator Plug-in</name>
1414
<url>https://github.com/jenkinsci/port-allocator-plugin</url>
1515

1616
<properties>
17+
<revision>1.13</revision>
18+
<changelist>-SNAPSHOT</changelist>
19+
<gitHubRepo>jenkinsci/port-allocator-plugin</gitHubRepo>
1720
<jenkins.baseline>2.479</jenkins.baseline>
1821
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
1922
</properties>
2023

2124
<scm>
22-
<connection>scm:git:https://github.com/jenkinsci/port-allocator-plugin.git</connection>
23-
<developerConnection>scm:git:git@github.com:jenkinsci/port-allocator-plugin.git</developerConnection>
24-
<url>https://github.com/jenkinsci/port-allocator-plugin</url>
25-
<tag>HEAD</tag>
25+
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
26+
<developerConnection>scm:git:git@github.com:${gitHubRepo}.git</developerConnection>
27+
<url>https://github.com/${gitHubRepo}</url>
28+
<tag>${scmTag}</tag>
2629
</scm>
2730

2831
<repositories>

0 commit comments

Comments
 (0)