Skip to content

Commit

Permalink
Add a profile for releasing to JBoss Nexus.
Browse files Browse the repository at this point in the history
Signed-off-by: James R. Perkins <[email protected]>
  • Loading branch information
jamezp committed Dec 1, 2023
1 parent b31d0c5 commit b4c07ab
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,24 @@
</plugins>
</build>

<profiles>
<profile>
<id>release</id>

<!-- Release to JBoss Nexus -->
<distributionManagement>
<repository>
<id>${jboss.releases.repo.id}</id>
<name>JBoss Releases Repository</name>
<url>${jboss.releases.repo.url}</url>
</repository>
<snapshotRepository>
<id>${jboss.snapshots.repo.id}</id>
<name>JBoss Snapshots Repository</name>
<url>${jboss.snapshots.repo.url}</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>

</project>

0 comments on commit b4c07ab

Please sign in to comment.