Skip to content

Commit b2affdf

Browse files
committed
Reduce pom differences to current plugin archetype
1 parent a87f20e commit b2affdf

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

pom.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4+
45
<parent>
56
<groupId>org.jenkins-ci.plugins</groupId>
67
<artifactId>plugin</artifactId>
@@ -12,15 +13,13 @@
1213
<version>${revision}${changelist}</version>
1314
<packaging>hpi</packaging>
1415
<name>Git plugin</name>
15-
<description>Integrates Jenkins with Git SCM</description>
16-
<url>https://github.com/jenkinsci/git-plugin</url>
16+
<url>https://github.com/${gitHubRepo}</url>
1717
<inceptionYear>2007</inceptionYear>
1818

1919
<licenses>
2020
<license>
21-
<name>The MIT License (MIT)</name>
21+
<name>MIT License</name>
2222
<url>https://opensource.org/licenses/MIT</url>
23-
<distribution>repo</distribution>
2423
</license>
2524
</licenses>
2625

@@ -47,11 +46,14 @@
4746
<email>olamy@apache.org</email>
4847
<url>https://about.me/olamy</url>
4948
<timezone>Australia/Brisbane</timezone>
49+
<roles>
50+
<role>developer</role>
51+
</roles>
5052
</developer>
5153
</developers>
5254

53-
<scm>
54-
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
55+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
56+
<connection>scm:git:https://github.com/${gitHubRepo}</connection>
5557
<developerConnection>scm:git:git@github.com:${gitHubRepo}.git</developerConnection>
5658
<tag>${scmTag}</tag>
5759
<url>https://github.com/${gitHubRepo}</url>
@@ -83,7 +85,6 @@
8385
</dependency>
8486
</dependencies>
8587
</dependencyManagement>
86-
8788
<dependencies>
8889
<dependency>
8990
<groupId>org.jenkins-ci.plugins</groupId>
@@ -255,6 +256,7 @@
255256
<url>https://repo.jenkins-ci.org/public/</url>
256257
</repository>
257258
</repositories>
259+
258260
<pluginRepositories>
259261
<pluginRepository>
260262
<id>repo.jenkins-ci.org</id>

0 commit comments

Comments
 (0)