aboutsummaryrefslogtreecommitdiffstats
path: root/aspectjweaver
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-05-15 17:34:15 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-05-16 07:05:28 +0700
commitfcb563dee0a426645cc9c1935869ac8e79f2426c (patch)
tree3bbc6e1f7384cab7fb48e113315b5dafa796ba1e /aspectjweaver
parentf9bd419b71a6071d8ec5c903b1ea8e79a841b8b1 (diff)
downloadaspectj-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 'aspectjweaver')
-rw-r--r--aspectjweaver/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/aspectjweaver/pom.xml b/aspectjweaver/pom.xml
index 4db51b332..5e4ec2e40 100644
--- a/aspectjweaver/pom.xml
+++ b/aspectjweaver/pom.xml
@@ -260,6 +260,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>