Skip to content

Commit a587cca

Browse files
authored
Merge pull request #22 from pampadams/incrementalify
Publish incremental development artifacts
2 parents 3fe0ebd + 3977881 commit a587cca

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.4</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
@@ -11,7 +11,7 @@
1111
<artifactId>artifactdeployer</artifactId>
1212
<packaging>hpi</packaging>
1313
<name>Jenkins Artifact Deployer Plugin</name>
14-
<version>1.3-SNAPSHOT</version>
14+
<version>${revision}${changelist}</version>
1515
<url>https://github.com/jenkinsci/artifactdeployer-plugin</url>
1616

1717
<licenses>
@@ -41,16 +41,19 @@
4141
</developers>
4242

4343
<properties>
44+
<revision>1.3</revision>
45+
<changelist>-SNAPSHOT</changelist>
46+
<gitHubRepo>jenkinsci/artifactdeployer-plugin</gitHubRepo>
4447
<jenkins.version>2.346.1</jenkins.version>
4548
<!-- Requires triage -->
4649
<spotbugs.threshold>High</spotbugs.threshold>
4750
</properties>
4851

4952
<scm>
50-
<connection>scm:git:https://github.com/jenkinsci/artifactdeployer-plugin.git</connection>
51-
<developerConnection>scm:git:ssh://[email protected]/jenkinsci/artifactdeployer-plugin.git</developerConnection>
52-
<url>https://github.com/jenkinsci/artifactdeployer-plugin</url>
53-
<tag>HEAD</tag>
53+
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
54+
<developerConnection>scm:git:ssh://[email protected]/${gitHubRepo}.git</developerConnection>
55+
<url>https://github.com/${gitHubRepo}</url>
56+
<tag>${scmTag}</tag>
5457
</scm>
5558

5659
<dependencyManagement>

0 commit comments

Comments
 (0)