Fix Travis build

The maven-gpg-plugin broke the Travis build with an error

> gpg: no default secret key: secret key not available

Fixed it by moving the GPG plugin and other release-related
plugins to the release profile which is not used by Travis.
This commit is contained in:
Zafar Khaja 2016-10-26 21:24:12 +03:00
parent 2a77345c5f
commit a34d6f2a76

10
pom.xml
View File

@ -71,6 +71,14 @@
<compilerArgument>-Xlint:all</compilerArgument>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
@ -116,4 +124,6 @@
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>