#2864: Add release maven profile

This commit is contained in:
md_5 2020-06-26 18:44:14 +10:00
parent e21b0b3773
commit 6cff5a955c
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

20
pom.xml
View File

@ -240,5 +240,25 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles> </profiles>
</project> </project>