]> source.dussan.org Git - aspectj.git/commitdiff
Prepare main artifacts to be deployed via Maven, step 2 48/head
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 8 May 2021 12:53:14 +0000 (19:53 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 8 May 2021 12:53:14 +0000 (19:53 +0700)
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>
asm-renamed/pom.xml
aspectjmatcher/pom.xml
aspectjrt/pom.xml
aspectjtools/pom.xml
aspectjweaver/pom.xml
installer/pom.xml
pom.xml

index cdc8bbde746cfef36973649aaff452ea2638e3a2..965e7fed55ba7361f8155d6572d463c07ec773f4 100644 (file)
     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>
index c398420af4af87ad3a21e43dd415cce6fb106098..0cba8cae9d38b88a645a69f8ce87306c245a3371 100644 (file)
        <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>
 
index 5e41a1558774d32db5b61c7678b315bbfb88fb4a..12571720cae2838e2d349cc31e6cf2d78b3aacf1 100644 (file)
        <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>
index 7860f3a5a691531769bfe6de9f37f7e28bb3677c..ffb37c037557b9184d418712fdce0767c4e6568e 100644 (file)
        <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>
 
index 69952e3b4650f9a5bc3250f96353e2191b1fbac7..a9147dd143cb3d4dc2e87b44b663b978a40f3dbc 100644 (file)
        <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>
 
index d8ada07d52657331c705b2a154f6d1aef554dcdb..321d573a8464d1b4a7ad488275b139b587998e7b 100644 (file)
        <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 8f5a31b2a13a2b57a1399b13c144a02e3b9a748c..7aa8f9fd6c7779eb975f8658906ac3f6027197a6 100644 (file)
--- 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>