Skip to content
Discussion options

You must be logged in to vote

The jreleaser-maven-plugin does not collect artifacts during a reactor like the nexus-staging-maven-plugin nor maven-deploy-plugin do. Instead, you're supposed to configure jreleaser-maven-plugin at a single location, typically the root project.

https://jreleaser.org/guide/latest/tools/jreleaser-maven.html

Make sure that <inherited> is set to false; you'd also use -pl to invoke the plugin just on the root (or the project that has the plugin applied). In your case the command line could be

mvn -pl :sample-parent jreleaser:full-release.

You may also use the non recurse option assuming the plugin has been configured at the root

mvn -N jreleaser:full-release or mvn --non-recursive jreleaser:f…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hendrikebbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #1539 on November 24, 2023 09:52.