diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 1aba73812..652bd55d1 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,2 +1,5 @@ _extends: .github -tag-template: plexus-$NEXT_MINOR_VERSION +# plexus-pom uses a single version number +version-template: '$MAJOR' +name-template: '$NEXT_MAJOR_VERSION' +tag-template: 'plexus-$NEXT_MAJOR_VERSION' diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index fd924e7dd..09feae474 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,7 +22,7 @@ on: [push, pull_request] jobs: build: name: Build it - uses: codehaus-plexus/.github/.github/workflows/maven.yml@v0.0.5 + uses: codehaus-plexus/.github/.github/workflows/maven.yml@master deploy: name: Deploy diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 4000f8c4f..4c09c8a70 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -7,6 +7,6 @@ jobs: update_release_draft: runs-on: ubuntu-latest steps: - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index cbd21a612..fe3c96bdc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ Plexus Parent POM -============ +================= [![Maven Central](https://img.shields.io/maven-central/v/org.codehaus.plexus/plexus.svg?label=Maven%20Central)](https://search.maven.org/artifact/org.codehaus.plexus/plexus) diff --git a/pom.xml b/pom.xml index a679b93ce..b24ea4659 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ limitations under the License. org.codehaus.plexus plexus - 14 + 23-SNAPSHOT pom Plexus @@ -32,7 +32,7 @@ limitations under the License. - Apache License, Version 2.0 + Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0.txt repo @@ -297,16 +297,12 @@ limitations under the License. mojohaus-dev@googlegroups.com https://groups.google.com/forum/#!forum/mojohaus-dev - - Former (pre-2015-06) Development List - https://markmail.org/list/org.codehaus.plexus.dev - scm:git:https://github.com/codehaus-plexus/plexus-pom.git ${project.scm.connection} - plexus-14 + master https://github.com/codehaus-plexus/plexus-pom/tree/${project.scm.tag}/ @@ -317,13 +313,13 @@ limitations under the License. - plexus-releases - Plexus Release Repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + sonatype-central-portal + Sonatype Central Portal + https://repo.maven.apache.org/maven2 - plexus-snapshots - Plexus Snapshot Repository + ${plexusDistMgmtSnapshotsId} + ${plexusDistMgmtSnapshotsName} ${plexusDistMgmtSnapshotsUrl} @@ -335,29 +331,41 @@ limitations under the License. 8 + 3.6.3 + ${javaVersion} ${javaVersion} ${javaVersion} + ${javaVersion} + + none + true UTF-8 - https://oss.sonatype.org/content/repositories/plexus-snapshots - 2023-07-23T09:58:05Z + + sonatype-central-portal + Sonatype Central Snapshots + https://central.sonatype.com/repository/maven-snapshots + + 2025-06-02T20:46:34Z true - 2.38.0 - 3.9.0 - 1.11.2 - 3.1.2 - 5.9.3 - check - 0.9.0.M2 + 2.44.5 + 3.15.1 + 2.1.0 + 3.5.3 + 5.13.0 + 0.7.1 + apply + 0.9.0.M4 + true + + + true + automatic + true + false - - org.apache.maven.plugin-tools - maven-plugin-annotations - ${mavenPluginToolsVersion} - provided - org.junit junit-bom @@ -371,16 +379,21 @@ limitations under the License. + + eu.maveniverse.maven.plugins + njord + ${njord.version} + org.apache.maven.plugins maven-assembly-plugin - 3.6.0 + 3.7.1 org.apache.maven.plugins maven-checkstyle-plugin - 3.3.0 + 3.6.0 config/maven_checks.xml @@ -391,49 +404,77 @@ limitations under the License. org.apache.maven.shared maven-shared-resources - 5 + 6 org.apache.maven.plugins maven-clean-plugin - 3.3.1 + 3.4.1 org.apache.maven.plugins maven-compiler-plugin - 3.11.0 + 3.14.0 + + ${maven.compiler.proc} + ${maven.compiler.showDeprecation} + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.8.1 org.apache.maven.plugins maven-deploy-plugin - 3.1.1 + 3.1.4 org.apache.maven.plugins maven-enforcer-plugin - 3.3.0 + 3.5.0 org.apache.maven.plugins maven-gpg-plugin - 3.1.0 + 3.2.7 + + true + org.apache.maven.plugins maven-install-plugin - 3.1.1 + 3.1.4 org.apache.maven.plugins maven-jar-plugin - 3.3.0 + 3.4.2 + + + + true + true + + + + + + org.apache.maven.plugins + maven-invoker-plugin + 3.9.0 + + ${invoker.streamLogsOnFailures} + org.apache.maven.plugins maven-javadoc-plugin - 3.5.0 + 3.11.2 true en @@ -444,7 +485,7 @@ limitations under the License. org.apache.maven.plugins maven-jxr-plugin - 3.3.0 + 3.6.0 org.apache.maven.plugins @@ -474,7 +515,7 @@ limitations under the License. org.apache.maven.plugins maven-pmd-plugin - 3.21.0 + 3.26.0 ${maven.compiler.source} @@ -489,15 +530,14 @@ limitations under the License. org.apache.maven.plugins maven-project-info-reports-plugin - 3.4.5 + 3.9.0 org.apache.maven.plugins maven-release-plugin - 3.0.1 + 3.1.1 deploy - forked-path plexus-release @@ -509,7 +549,7 @@ limitations under the License. org.apache.maven.plugins maven-scm-publish-plugin - 3.2.1 + 3.3.0 ${project.scm.developerConnection} @@ -519,7 +559,7 @@ limitations under the License. org.apache.maven.plugins maven-site-plugin - 3.12.1 + 3.21.0 true @@ -528,7 +568,7 @@ limitations under the License. org.apache.maven.plugins maven-source-plugin - 3.3.0 + 3.3.1 org.apache.maven.plugins @@ -548,7 +588,7 @@ limitations under the License. org.codehaus.mojo taglist-maven-plugin - 3.0.0 + 3.2.1 org.eclipse.sisu @@ -564,25 +604,6 @@ limitations under the License. - - org.codehaus.plexus - plexus-component-metadata - 2.1.1 - - - process-classes - - generate-metadata - - - - process-test-classes - - generate-test-metadata - - - - com.diffplug.spotless spotless-maven-plugin @@ -597,6 +618,8 @@ limitations under the License. javax,java,,\# + + PRESERVE false @@ -604,6 +627,15 @@ limitations under the License. true + + + **/*.md + + + target/** + + + true @@ -628,7 +660,7 @@ limitations under the License. org.codehaus.mojo extra-enforcer-rules - 1.7.0 + 1.10.0 @@ -640,12 +672,15 @@ limitations under the License. - 3.2.5 - This project requires at least Maven 3.2.5 + ${minimalMavenBuildVersion} + This project requires at least Maven ${minimalMavenBuildVersion} ${maven.compiler.target} + + ${minimalJavaBuildVersion} + @@ -659,10 +694,18 @@ limitations under the License. attach-descriptor + false + + + eu.maveniverse.maven.njord + extension + ${njord.version} + + @@ -708,14 +751,33 @@ limitations under the License. org.apache.maven.plugins maven-surefire-report-plugin + + false + false + org.apache.maven.plugins maven-pmd-plugin + + true + + + + default + + cpd + pmd + + + org.codehaus.mojo taglist-maven-plugin + + true + org.apache.maven.plugins @@ -747,6 +809,11 @@ limitations under the License. plexus-release + + 3.9.0 + + true + config/maven_checks_nocodestyle.xml @@ -854,7 +917,7 @@ limitations under the License. format-check - !format + env.CI @@ -865,7 +928,7 @@ limitations under the License. format - format + !env.CI diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt deleted file mode 100644 index c09df94df..000000000 --- a/src/site/apt/index.apt +++ /dev/null @@ -1,11 +0,0 @@ - ----- - Plexus Parent POM - ----- - Hervé Boutemy - ----- - 2018-05-06 - ----- - -Plexus Parent POM - - Plexus Parent POM defines common {{{./plugin-management.html}plugins}}, reporting and release configuration. diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md new file mode 100644 index 000000000..4570112ef --- /dev/null +++ b/src/site/markdown/index.md @@ -0,0 +1,27 @@ +# Plexus Parent POM + +Plexus Parent POM defines common [plugins](./plugin-management.html), reporting and release configuration. + +## Preparing the environment for publishing vie the Central Portal + +Release manager should include the following sections in your personal `settings.xml`: + +```xml + + + + sonatype-central-portal + jqhacker + SeCrEt + + sonatype-cp + njord:template:release-sca + + + + +``` + +Tokens can be obtained from https://central.sonatype.com/account + diff --git a/src/site/site.xml b/src/site/site.xml index 8ee2f56be..59edeea41 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -1,11 +1,10 @@ - - - Plexus - https://codehaus-plexus.github.io/ - https://codehaus-plexus.github.io/images/plexus-logo-trans.png + + + + Plexus @@ -34,7 +33,7 @@ - + @@ -51,28 +50,20 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - +