aboutsummaryrefslogtreecommitdiffstats
path: root/aspectjtools/pom.xml
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 /aspectjtools/pom.xml
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 'aspectjtools/pom.xml')
-rw-r--r--aspectjtools/pom.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/aspectjtools/pom.xml b/aspectjtools/pom.xml
index 03bb6ed96..78b8539f5 100644
--- a/aspectjtools/pom.xml
+++ b/aspectjtools/pom.xml
@@ -258,6 +258,13 @@
</execution>
</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>