Skip to content

Commit

Permalink
Use recommended format for scm connection fields (#153)
Browse files Browse the repository at this point in the history
* Use recommended format for scm connection fields

Silences a Maven warning

* Enable incrementals for easier testing and development

https://www.jenkins.io/doc/developer/tutorial-improve/enable-incrementals/
describes the steps taken in the commit.

https://www.jenkins.io/doc/developer/plugin-development/incrementals/
provides more details of the benefits of incrementals and the way that
they help users and developers.

* Remove developers list

Official list of developers is stored in the repository permissions
updater.
  • Loading branch information
MarkEWaite authored Jan 5, 2025
1 parent 25d7048 commit cae313a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
7 changes: 7 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<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">
<extension>
<groupId>io.jenkins.tools.incrementals</groupId>
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.8</version>
</extension>
</extensions>
2 changes: 2 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
29 changes: 8 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
</parent>

<properties>
<revision>2.2.1</revision>
<changelist>-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/plot-plugin</gitHubRepo>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.baseline>2.452</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
Expand Down Expand Up @@ -37,25 +40,9 @@
<artifactId>plot</artifactId>
<packaging>hpi</packaging>
<name>Plot plugin</name>
<version>2.2.1-SNAPSHOT</version>
<version>${revision}${changelist}</version>
<url>https://github.com/jenkinsci/plot-plugin</url>

<developers>
<developer>
<id>nidaley</id>
<name>Nigel Daley</name>
</developer>
<developer>
<id>ericbn</id>
<name>Eric Nielsen</name>
</developer>
<developer>
<id>vgaidarji</id>
<name>Veaceslav Gaidarji</name>
<email>[email protected]</email>
</developer>
</developers>

<dependencies>
<dependency>
<groupId>commons-beanutils</groupId>
Expand Down Expand Up @@ -157,10 +144,10 @@
</pluginRepositories>

<scm>
<connection>scm:git:ssh://github.com/jenkinsci/plot-plugin.git</connection>
<developerConnection>scm:git:ssh://[email protected]/jenkinsci/plot-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/plot-plugin</url>
<tag>HEAD</tag>
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection>
<url>https://github.com/${gitHubRepo}</url>
<tag>${scmTag}</tag>
</scm>

</project>

0 comments on commit cae313a

Please sign in to comment.