aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-09-28 08:20:25 +0200
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-09-28 08:20:25 +0200
commitbee1f38f96469b5cc4eb6d61e895d401bf3f4d8f (patch)
tree340f3322c004e4ff2bc9c2ca45222b4ba3953ba8 /pom.xml
parenteef058c4c5a70359a35da51b77e638a57126081f (diff)
downloadaspectj-bee1f38f96469b5cc4eb6d61e895d401bf3f4d8f.tar.gz
aspectj-bee1f38f96469b5cc4eb6d61e895d401bf3f4d8f.zip
Add JDK 16+ workaround for Nexus Staging Maven Plugin
Plugin version 1.6.8 does not work on JDK 16+ without special MAVEN_OPTS opening certain modules, because the XStream version used needs it. One workaround is to use a more recent XStream version. TODO: remove plugin dependency after OSSRH-66257, NEXUS-26993 are fixed. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 2e7060f68..5dd236142 100644
--- a/pom.xml
+++ b/pom.xml
@@ -372,6 +372,18 @@
<!-- Activate in order to directly release to Maven Central after successful staging -->
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
+ <dependencies>
+ <!--
+ Plugin version 1.6.8 does not work on JDK 16+ without special MAVEN_OPTS opening certain modules,
+ because the XStream version used needs it. One workaround is to use a more recent XStream version.
+ TODO: remove plugin dependency after OSSRH-66257, NEXUS-26993 are fixed.
+ -->
+ <dependency>
+ <groupId>com.thoughtworks.xstream</groupId>
+ <artifactId>xstream</artifactId>
+ <version>1.4.15</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>