Skip to content

Commit

Permalink
Rebrand maven-stapler-plugin to stapler-maven-plugin and enable CD (
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault authored Jul 11, 2023
1 parent 5340624 commit 5ae92fb
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 28 deletions.
2 changes: 0 additions & 2 deletions .github/release-drafter.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins

name: cd
on:
workflow_dispatch:
check_run:
types:
- completed

jobs:
maven-cd:
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
secrets:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
15 changes: 0 additions & 15 deletions .github/workflows/release-drafter.yml

This file was deleted.

1 change: 1 addition & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Maven plugin to generate taglib documentation and a variety of other tasks.

## Changelog
See [GitHub Releases](https://github.com/jenkinsci/maven-stapler-plugin/releases)
See [GitHub Releases](https://github.com/jenkinsci/stapler-maven-plugin/releases)
17 changes: 8 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
<relativePath />
</parent>

<groupId>org.kohsuke.stapler</groupId>
<artifactId>maven-stapler-plugin</artifactId>
<groupId>io.jenkins.tools.maven</groupId>
<artifactId>stapler-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<version>${revision}${changelist}</version>
<version>${changelist}</version>

<name>Maven Stapler plugin</name>
<description>Maven2 plugin for developing stapler applications</description>
<name>Stapler Maven plugin</name>
<description>Maven plugin for developing stapler applications</description>
<url>https://github.com/jenkinsci/${project.artifactId}</url>

<scm>
Expand All @@ -29,7 +29,7 @@
<license>
<name>2-clause BSD license</name>
<distribution>repo</distribution>
<url>https://www.opensource.org/licenses/bsd-license.php</url>
<url>https://www.opensource.org/license/bsd-2-clause/</url>
</license>
</licenses>

Expand All @@ -47,8 +47,7 @@
</pluginRepositories>

<properties>
<revision>1.24</revision>
<changelist>-SNAPSHOT</changelist>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}</gitHubRepo>
<maven.version>3.8.1</maven.version> <!-- if we update this all consumers need to be running at least this version -->
<plexus.version>2.1.1</plexus.version>
Expand All @@ -58,7 +57,7 @@
</properties>

<prerequisites>
<maven>${maven.version}</maven>
<maven>${maven.version}</maven>
</prerequisites>

<build>
Expand Down
2 changes: 1 addition & 1 deletion src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<fluidoSkin>
<sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
<gitHub>
<projectId>jenkinsci/maven-stapler-plugin</projectId>
<projectId>jenkinsci/stapler-maven-plugin</projectId>
<ribbonOrientation>right</ribbonOrientation>
<ribbonColor>orange</ribbonColor>
</gitHub>
Expand Down

0 comments on commit 5ae92fb

Please sign in to comment.