Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit cee8435

Browse files
authored
Merge pull request #5 from roflinn/rel-1.10.0-RC
Update pom.xml - release-sign-artifacts profile
2 parents 7285cf2 + 593900c commit cee8435

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

pom.xml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,13 @@
7070

7171
<profiles>
7272
<profile>
73-
<id>release</id>
73+
<id>release-sign-artifacts</id>
74+
<activation>
75+
<property>
76+
<name>performRelease</name>
77+
<value>true</value>
78+
</property>
79+
</activation>
7480
<build>
7581
<plugins>
7682
<!-- plugin>
@@ -129,27 +135,25 @@
129135
<revisionOnScmFailure>Detached</revisionOnScmFailure>
130136
</configuration>
131137
</plugin>
138+
<plugin>
139+
<groupId>org.apache.maven.plugins</groupId>
140+
<artifactId>maven-gpg-plugin</artifactId>
141+
<executions>
142+
<execution>
143+
<id>sign-artifacts</id>
144+
<phase>verify</phase>
145+
<goals>
146+
<goal>sign</goal>
147+
</goals>
148+
</execution>
149+
</executions>
150+
</plugin>
132151
</plugins>
133152
</build>
134-
</profile>
153+
</profile>
135154
</profiles>
136155

137156
<build>
138-
<plugins>
139-
<plugin>
140-
<groupId>org.apache.maven.plugins</groupId>
141-
<artifactId>maven-gpg-plugin</artifactId>
142-
<executions>
143-
<execution>
144-
<id>sign-artifacts</id>
145-
<phase>verify</phase>
146-
<goals>
147-
<goal>sign</goal>
148-
</goals>
149-
</execution>
150-
</executions>
151-
</plugin>
152-
</plugins>
153157
<pluginManagement>
154158
<plugins>
155159
<plugin>

0 commit comments

Comments
 (0)