diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-05-15 17:34:15 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-05-16 07:05:28 +0700 |
commit | fcb563dee0a426645cc9c1935869ac8e79f2426c (patch) | |
tree | 3bbc6e1f7384cab7fb48e113315b5dafa796ba1e /aspectjrt | |
parent | f9bd419b71a6071d8ec5c903b1ea8e79a841b8b1 (diff) | |
download | aspectj-fcb563dee0a426645cc9c1935869ac8e79f2426c.tar.gz aspectj-fcb563dee0a426645cc9c1935869ac8e79f2426c.zip |
Fix selective Nexus deployment to Sonatype OSSRH
Other than Maven Deploy, Nexus Staging plugin cannot just be added to
the 'build/plugins' section of the parent POM once and (de-)activated
with a simple property like 'maven.deploy.skip' on a per-module basis.
See also https://issues.sonatype.org/browse/OSSRH-68966. Consequently,
we do not add it to the parent but separately to each module meant to be
published.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'aspectjrt')
-rw-r--r-- | aspectjrt/pom.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml index c674b3601..bc5e36e59 100644 --- a/aspectjrt/pom.xml +++ b/aspectjrt/pom.xml @@ -228,6 +228,12 @@ </executions> </plugin> + <!-- Deploy this module to Nexus (Sonatype OSSRH, releases promotable to Maven Central) --> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + </plugin> + </plugins> </build> |