Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit a5f2459

Browse files
committed
Incrementals Enablement
1 parent 2b2a8c1 commit a5f2459

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,7 +9,7 @@
99
</parent>
1010

1111
<artifactId>matlab</artifactId>
12-
<version> 2.16.1-SNAPSHOT</version>
12+
<version>${revision}${changelist}</version>
1313
<packaging>hpi</packaging>
1414

1515
<name>MATLAB Plugin</name>
@@ -46,13 +46,16 @@
4646
</pluginRepositories>
4747

4848
<scm>
49-
<connection>scm:git:ssh://github.com/jenkinsci/matlab-plugin.git</connection>
50-
<developerConnection>scm:git:ssh://git@github.com/jenkinsci/matlab-plugin.git</developerConnection>
51-
<url>https://github.com/jenkinsci/matlab-plugin</url>
52-
<tag>HEAD</tag>
49+
<connection>scm:git:ssh://github.com/${gitHubRepo}.git</connection>
50+
<developerConnection>scm:git:ssh://git@github.com/${gitHubRepo}.git</developerConnection>
51+
<url>https://github.com/${gitHubRepo}</url>
52+
<tag>${scmTag}</tag>
5353
</scm>
5454

5555
<properties>
56+
<revision>2.16.1</revision>
57+
<changelist>-SNAPSHOT</changelist>
58+
<gitHubRepo>jenkinsci/matlab-plugin</gitHubRepo>
5659
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
5760
<jenkins.baseline>2.387</jenkins.baseline>
5861
<jenkins.version>${jenkins.baseline}.3</jenkins.version>

0 commit comments

Comments
 (0)