From a34d6f2a7631d576304b91e6e388cd0c776edd58 Mon Sep 17 00:00:00 2001 From: Zafar Khaja Date: Wed, 26 Oct 2016 21:24:12 +0300 Subject: [PATCH] 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. --- pom.xml | 96 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 43 deletions(-) diff --git a/pom.xml b/pom.xml index f0b62be..3268d6c 100644 --- a/pom.xml +++ b/pom.xml @@ -71,49 +71,59 @@ -Xlint:all - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - -Xdoclint:none - - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - sign-artifacts - verify - - sign - - - - + + + + release + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + -Xdoclint:none + + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + + +