Skip to content

Commit 4cc97e3

Browse files
puredangerrichhickey
authored andcommitted
Move artifact signing to a profile
Signed-off-by: Rich Hickey <[email protected]>
1 parent 303496a commit 4cc97e3

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

pom.xml

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -239,21 +239,6 @@
239239
</configuration>
240240
</plugin>
241241

242-
<!-- sign artifacts for deployment -->
243-
<plugin>
244-
<groupId>org.apache.maven.plugins</groupId>
245-
<artifactId>maven-gpg-plugin</artifactId>
246-
<version>1.5</version>
247-
<executions>
248-
<execution>
249-
<id>sign-artifacts</id>
250-
<phase>verify</phase>
251-
<goals>
252-
<goal>sign</goal>
253-
</goals>
254-
</execution>
255-
</executions>
256-
</plugin>
257242
</plugins>
258243
</build>
259244

@@ -298,5 +283,27 @@
298283
</plugins>
299284
</build>
300285
</profile>
286+
<profile>
287+
<!-- sign artifacts for deployment -->
288+
<id>sign</id>
289+
<build>
290+
<plugins>
291+
<plugin>
292+
<groupId>org.apache.maven.plugins</groupId>
293+
<artifactId>maven-gpg-plugin</artifactId>
294+
<version>1.5</version>
295+
<executions>
296+
<execution>
297+
<id>sign-artifacts</id>
298+
<phase>verify</phase>
299+
<goals>
300+
<goal>sign</goal>
301+
</goals>
302+
</execution>
303+
</executions>
304+
</plugin>
305+
</plugins>
306+
</build>
307+
</profile>
301308
</profiles>
302309
</project>

0 commit comments

Comments
 (0)