slachiewicz opened a new pull request, #755: URL: https://github.com/apache/maven-deploy-plugin/pull/755
Adds `skipAttachedArtifacts` to the `deploy` goal: a list of selectors (`groupId`, `artifactId`, `classifier`, `extension`) for attached artifacts that stay out of the deployment, such as a shaded or executable JAR that only other modules of the build need. The main artifact, the POM and the consumer POM of Maven 4 are never selected, and an entry that matches no attached artifact fails the build, so a misspelled entry cannot publish what it was meant to hold back. This carries the idea of #3 by @xleon90, whose 2018 patch no longer applies to the current code. The commit has a `Co-authored-by` trailer: merge with "Rebase and merge", or keep the trailer when squashing. Unlike #3, an entry takes no version and may leave out any coordinate. The same change for master is in the companion pull request. Verified: `mvn verify -Prun-its` on Maven 4.0.0-rc-7 → 56 tests and 44 ITs pass. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
