Skip to content

Commit 18db834

Browse files
committed
add release-sign-artifacts profile
1 parent 4e0df39 commit 18db834

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

pom.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,38 @@
4343
<maven.version>3.0.4</maven.version>
4444
</properties>
4545

46+
47+
<profiles>
48+
<profile>
49+
<id>release-sign-artifacts</id>
50+
<activation>
51+
<property>
52+
<name>performRelease</name>
53+
<value>true</value>
54+
</property>
55+
</activation>
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-gpg-plugin</artifactId>
61+
<version>1.1</version>
62+
<executions>
63+
<execution>
64+
<id>sign-artifacts</id>
65+
<phase>verify</phase>
66+
<goals>
67+
<goal>sign</goal>
68+
</goals>
69+
</execution>
70+
</executions>
71+
</plugin>
72+
</plugins>
73+
</build>
74+
</profile>
75+
</profiles>
76+
77+
4678
<build>
4779
<sourceDirectory>src/main/clojure</sourceDirectory>
4880
<resources>

0 commit comments

Comments
 (0)