Skip to content

Commit

Permalink
ARTEMIS-3328: override the parent pom assembly creation, suppress cre…
Browse files Browse the repository at this point in the history
…ating and deploying unused assembly
  • Loading branch information
gemmellr committed Jun 4, 2021
1 parent c05c595 commit aa67a12
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
15 changes: 4 additions & 11 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-<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.
## 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

Expand Down
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit aa67a12

Please sign in to comment.