ARTEMIS-3328: override the parent pom assembly creation, suppress creating and deploying unused assembly

This commit is contained in:
Robbie Gemmell 2021-06-03 11:41:32 +01:00
parent c05c5955f3
commit aa67a12449
2 changed files with 24 additions and 11 deletions

View File

@ -140,18 +140,11 @@ scm.tag=1.4.0
``` ```
## Removing additional files ## Closing the staging repository
The last step before closing the staging repository is removing the `artemis-pom-<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/<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.
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 ## Stage the release to the dist dev area

20
pom.xml
View File

@ -1100,6 +1100,26 @@
</plugins> </plugins>
</build> </build>
</profile> </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> <profile>
<!-- this will activate the property required to play with tests retry --> <!-- this will activate the property required to play with tests retry -->
<id>tests-retry</id> <id>tests-retry</id>