Skip to content

Commit 48c78f7

Browse files
authored
[issue-1349] - Update the maven-release-release plugin config (#1350)
1 parent 449871b commit 48c78f7

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

bom/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@
155155
<autoVersionSubmodules>true</autoVersionSubmodules>
156156
<pushChanges>false</pushChanges>
157157
<localCheckout>true</localCheckout>
158+
<releaseProfiles>gpg-sign</releaseProfiles>
159+
<tagNameFormat>@{project.version}</tagNameFormat>
158160
</configuration>
159161
</plugin>
160162
</plugins>

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,10 @@
486486
<autoVersionSubmodules>true</autoVersionSubmodules>
487487
<pushChanges>false</pushChanges>
488488
<localCheckout>true</localCheckout>
489+
<preparationGoals>clean install</preparationGoals>
490+
<releaseProfiles>gpg-sign,jboss-release</releaseProfiles>
491+
<arguments>-DskipTests=true -DskipItTests=true</arguments>
492+
<tagNameFormat>@{project.version}</tagNameFormat>
489493
</configuration>
490494
</plugin>
491495
<plugin>
@@ -522,4 +526,17 @@
522526
</plugin>
523527
</plugins>
524528
</build>
529+
530+
<distributionManagement>
531+
<repository>
532+
<id>${jboss.releases.repo.id}</id>
533+
<name>JBoss Releases Repository</name>
534+
<url>${jboss.releases.repo.url}</url>
535+
</repository>
536+
<snapshotRepository>
537+
<id>${jboss.snapshots.repo.id}</id>
538+
<name>JBoss Snapshots Repository</name>
539+
<url>${jboss.snapshots.repo.url}</url>
540+
</snapshotRepository>
541+
</distributionManagement>
525542
</project>

0 commit comments

Comments
 (0)