diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
deleted file mode 100644
index c9e9127..0000000
--- a/.github/release-drafter.yml
+++ /dev/null
@@ -1,2 +0,0 @@
-_extends: .github
-tag-template: maven-stapler-plugin-$NEXT_MINOR_VERSION
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
new file mode 100644
index 0000000..0279984
--- /dev/null
+++ b/.github/workflows/cd.yml
@@ -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 }}
diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml
deleted file mode 100644
index a90c0d7..0000000
--- a/.github/workflows/release-drafter.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-# Automates creation of Release Drafts using Release Drafter
-# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
-
-on:
- push:
- branches:
- - master
-
-jobs:
- update_release_draft:
- runs-on: ubuntu-latest
- steps:
- - uses: release-drafter/release-drafter@v5
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.mvn/maven.config b/.mvn/maven.config
index 2a0299c..f7daf60 100644
--- a/.mvn/maven.config
+++ b/.mvn/maven.config
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
+-Dchangelist.format=%d.v%s
diff --git a/README.md b/README.md
index 1f98aef..fd17a71 100644
--- a/README.md
+++ b/README.md
@@ -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)
diff --git a/pom.xml b/pom.xml
index eb2997b..ef4d3a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,13 +9,13 @@
- org.kohsuke.stapler
- maven-stapler-plugin
+ io.jenkins.tools.maven
+ stapler-maven-plugin
maven-plugin
- ${revision}${changelist}
+ ${changelist}
- Maven Stapler plugin
- Maven2 plugin for developing stapler applications
+ Stapler Maven plugin
+ Maven plugin for developing stapler applications
https://github.com/jenkinsci/${project.artifactId}
@@ -29,7 +29,7 @@
2-clause BSD license
repo
- https://www.opensource.org/licenses/bsd-license.php
+ https://www.opensource.org/license/bsd-2-clause/
@@ -47,8 +47,7 @@
- 1.24
- -SNAPSHOT
+ 999999-SNAPSHOT
jenkinsci/${project.artifactId}
3.8.1
2.1.1
@@ -58,7 +57,7 @@
- ${maven.version}
+ ${maven.version}
diff --git a/src/site/site.xml b/src/site/site.xml
index b904a00..63bd0ef 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -22,7 +22,7 @@
true
- jenkinsci/maven-stapler-plugin
+ jenkinsci/stapler-maven-plugin
right
orange