activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [activemq-artemis] 03/05: ARTEMIS-3328: override the parent pom assembly creation, suppress creating and deploying unused assembly
Date Fri, 04 Jun 2021 18:56:38 GMT
This is an automated email from the ASF dual-hosted git repository.

jbertram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit aa67a12449f2ba8053206c197167d123ed1dca19
Author: Robbie Gemmell <robbie@apache.org>
AuthorDate: Thu Jun 3 11:41:32 2021 +0100

    ARTEMIS-3328: override the parent pom assembly creation, suppress creating and deploying
unused assembly
---
 RELEASING.md | 15 ++++-----------
 pom.xml      | 20 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/RELEASING.md b/RELEASING.md
index 25b38ff..0b65465 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -140,18 +140,11 @@ scm.tag=1.4.0
 ```
 
 
-## Removing additional files
-
-The last step before closing the staging repository is removing the `artemis-pom-&lt;version>-source-release.zip`
file.  At 
-the moment this artifact is uploaded automatically by the Apache release plugin. In future
versions the ActiveMQ Artemis
-pom will be updated to take this into account.
-
-The file will be located under ./artemis-pom/&lt;version>/
-
-Remove these files manually under Nexus (https://repository.apache.org/#stagingRepositories)
while the repository is still open.
-
-Once the file is removed close the staging repo using the "Close" button on Nexus website.
+## Closing the staging repository
 
+Give the staging repository contents a quick inspection using the content navigation area,
then proceed to close the
+staging repo using the "Close" button on Nexus website, locking it from further modification
and exposing its contents
+at a staging URL to allow testing. Set a description such as "ActiveMQ Artemis <version>
(RC1)" while closing.
 
 ## Stage the release to the dist dev area
 
diff --git a/pom.xml b/pom.xml
index a48af17..c2d722e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1100,6 +1100,26 @@
             </plugins>
          </build>
       </profile>
+      <!-- Override the apache-release profile from the parent to skip creating
+           a source-release archive here, it is done in artemis-distribution. -->
+      <profile>
+         <id>apache-release</id>
+         <build>
+            <plugins>
+               <plugin>
+                  <artifactId>maven-assembly-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>source-release-assembly</id>
+                        <configuration>
+                           <skipAssembly>true</skipAssembly>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
       <profile>
          <!-- this will activate the property required to play with tests retry -->
          <id>tests-retry</id>

Mime
View raw message