Skip to content

Commit c6932ec

Browse files
authored
Update plugin POM and BOM (#9)
1 parent 38a840e commit c6932ec

File tree

3 files changed

+31
-15
lines changed

3 files changed

+31
-15
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.3</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: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44
<parent>
55
<groupId>org.jenkins-ci.plugins</groupId>
66
<artifactId>plugin</artifactId>
7-
<version>3.47</version>
7+
<version>4.40</version>
88
<relativePath />
99
</parent>
1010

1111
<groupId>io.jenkins.plugins</groupId>
1212
<artifactId>gitlab-api</artifactId>
13-
<version>1.0.7-SNAPSHOT</version>
13+
<version>${revision}${changelist}</version>
1414
<packaging>hpi</packaging>
1515

1616
<properties>
17-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
19-
<jenkins.version>2.60.3</jenkins.version>
20-
<java.level>8</java.level>
17+
<revision>1.0.7</revision>
18+
<changelist>-SNAPSHOT</changelist>
19+
<jenkins.version>2.289.3</jenkins.version>
20+
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
2121
</properties>
2222

2323
<name>Gitlab API Plugin</name>
2424
<description>Wraps Gitlab4J API into a plugin</description>
25-
<url>https://github.com/jenkinsci/gitlab-api-plugin</url>
25+
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
2626

2727
<issueManagement>
2828
<url>https://issues.jenkins-ci.org/browse/JENKINS-57445?jql=project%20%3D%20JENKINS%20AND%20component%20%3D%20gitlab-api-plugin</url>
@@ -46,23 +46,30 @@
4646
</developers>
4747

4848
<scm>
49-
<connection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</connection>
50-
<developerConnection>scm:git:[email protected]:jenkinsci/${project.artifactId}-plugin.git</developerConnection>
51-
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
49+
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
50+
<developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection>
51+
<url>https://github.com/${gitHubRepo}</url>
5252
<tag>${scmTag}</tag>
5353
</scm>
5454

55+
<dependencyManagement>
56+
<dependencies>
57+
<dependency>
58+
<groupId>io.jenkins.tools.bom</groupId>
59+
<artifactId>bom-2.289.x</artifactId>
60+
<version>1246.va_b_50630c1d19</version>
61+
<type>pom</type>
62+
<scope>import</scope>
63+
</dependency>
64+
</dependencies>
65+
</dependencyManagement>
66+
5567
<dependencies>
5668
<dependency>
5769
<groupId>org.gitlab4j</groupId>
5870
<artifactId>gitlab4j-api</artifactId>
5971
<version>4.14.20</version>
6072
</dependency>
61-
<dependency>
62-
<groupId>javax.servlet</groupId>
63-
<artifactId>javax.servlet-api</artifactId>
64-
<version>4.0.1</version>
65-
</dependency>
6673
</dependencies>
6774

6875
<repositories>

0 commit comments

Comments
 (0)