aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-05-08 19:53:14 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-05-08 19:53:14 +0700
commit891aee0d8c96ae1ce550b25ddc303870fb7d5de3 (patch)
tree7a685ccee31828999decea632d306057d30cbd6f
parentbdb89385dd387464ab02d7655ac8d5486d32c2fc (diff)
downloadaspectj-891aee0d8c96ae1ce550b25ddc303870fb7d5de3.tar.gz
aspectj-891aee0d8c96ae1ce550b25ddc303870fb7d5de3.zip
Prepare main artifacts to be deployed via Maven, step 2
This change affects the following modules: - aspectjmatcher - aspectjrt - aspectjtools - aspectjweaver - installer - asm-renamed Set maven.deploy.skip=false in parent POM, i.e. Maven Deploy by default will *not deploy anything. Only in the modules above, we change the value to 'true' in order to deploy those artifacts. This setting works for both snapshot repositories (GitHub Packages, soon to be migrated to aspectj.dev in a separate PR) and release repositories, i.e. in the future also for Maven Central. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
-rw-r--r--asm-renamed/pom.xml5
-rw-r--r--aspectjmatcher/pom.xml5
-rw-r--r--aspectjrt/pom.xml5
-rw-r--r--aspectjtools/pom.xml5
-rw-r--r--aspectjweaver/pom.xml5
-rw-r--r--installer/pom.xml5
-rw-r--r--pom.xml2
7 files changed, 32 insertions, 0 deletions
diff --git a/asm-renamed/pom.xml b/asm-renamed/pom.xml
index cdc8bbde7..965e7fed5 100644
--- a/asm-renamed/pom.xml
+++ b/asm-renamed/pom.xml
@@ -41,6 +41,11 @@
the binaries. IDEA will just stop looking at the local Maven repository in this case.
</description>
+ <properties>
+ <!-- By default, do not deploy artifacts - but deploy this one used by the main build -->
+ <maven.deploy.skip>false</maven.deploy.skip>
+ </properties>
+
<distributionManagement>
<repository>
<id>github</id>
diff --git a/aspectjmatcher/pom.xml b/aspectjmatcher/pom.xml
index c398420af..0cba8cae9 100644
--- a/aspectjmatcher/pom.xml
+++ b/aspectjmatcher/pom.xml
@@ -13,6 +13,11 @@
<artifactId>aspectjmatcher</artifactId>
<name>AspectJ Matcher</name>
+ <properties>
+ <!-- By default, do not deploy artifacts - but deploy this public one -->
+ <maven.deploy.skip>false</maven.deploy.skip>
+ </properties>
+
<build>
<plugins>
diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml
index 5e41a1558..12571720c 100644
--- a/aspectjrt/pom.xml
+++ b/aspectjrt/pom.xml
@@ -13,6 +13,11 @@
<artifactId>aspectjrt</artifactId>
<name>AspectJ Runtime</name>
+ <properties>
+ <!-- By default, do not deploy artifacts - but deploy this public one -->
+ <maven.deploy.skip>false</maven.deploy.skip>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
diff --git a/aspectjtools/pom.xml b/aspectjtools/pom.xml
index 7860f3a5a..ffb37c037 100644
--- a/aspectjtools/pom.xml
+++ b/aspectjtools/pom.xml
@@ -13,6 +13,11 @@
<artifactId>aspectjtools</artifactId>
<name>AspectJ Compiler</name>
+ <properties>
+ <!-- By default, do not deploy artifacts - but deploy this public one -->
+ <maven.deploy.skip>false</maven.deploy.skip>
+ </properties>
+
<build>
<plugins>
diff --git a/aspectjweaver/pom.xml b/aspectjweaver/pom.xml
index 69952e3b4..a9147dd14 100644
--- a/aspectjweaver/pom.xml
+++ b/aspectjweaver/pom.xml
@@ -13,6 +13,11 @@
<artifactId>aspectjweaver</artifactId>
<name>AspectJ Weaver</name>
+ <properties>
+ <!-- By default, do not deploy artifacts - but deploy this public one -->
+ <maven.deploy.skip>false</maven.deploy.skip>
+ </properties>
+
<build>
<plugins>
diff --git a/installer/pom.xml b/installer/pom.xml
index d8ada07d5..321d573a8 100644
--- a/installer/pom.xml
+++ b/installer/pom.xml
@@ -13,6 +13,11 @@
<artifactId>installer</artifactId>
<name>AspectJ Installer</name>
+ <properties>
+ <!-- By default, do not deploy artifacts - but deploy this public one -->
+ <maven.deploy.skip>false</maven.deploy.skip>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
diff --git a/pom.xml b/pom.xml
index 8f5a31b2a..7aa8f9fd6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,6 +14,8 @@
<revision>1.9.7.BUILD-SNAPSHOT</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <!-- By default, do not deploy artifacts - override for the ones which actually should be deployed -->
+ <maven.deploy.skip>true</maven.deploy.skip>
<jdt.core.version>3.25.0-SNAPSHOT</jdt.core.version>
<lib.ant.version>1.6.3</lib.ant.version>
<lib.ant.xerces.version>2.6.2</lib.ant.xerces.version>