Skip to content

Commit a909571

Browse files
committed
update pom.xml
1 parent a0ad953 commit a909571

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

pom.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,33 @@
8686
<url>http://github.com/TooTallNate/Java-WebSocket/blob/master/LICENSE</url>
8787
</license>
8888
</licenses>
89-
</project>
89+
<profiles>
90+
<profile>
91+
<id>release-sign-artifacts</id>
92+
<activation>
93+
<property><name>performRelease</name><value>true</value></property>
94+
</activation>
95+
<build>
96+
<plugins>
97+
<plugin>
98+
<groupId>org.apache.maven.plugins</groupId>
99+
<artifactId>maven-gpg-plugin</artifactId>
100+
<version>1.1</version>
101+
<executions>
102+
<execution>
103+
<id>sign-artifacts</id>
104+
<phase>verify</phase>
105+
<goals>
106+
<goal>sign</goal>
107+
</goals>
108+
</execution>
109+
</executions>
110+
<configuration>
111+
<keyname>[email protected]></keyname>
112+
</configuration>
113+
</plugin>
114+
</plugins>
115+
</build>
116+
</profile>
117+
</profiles>
118+
</project>

0 commit comments

Comments
 (0)