LinkedDataFragments / Server.Java

A Triple Pattern Fragments server for Java
MIT License
27 stars 20 forks source link

Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) #44

Closed hartig closed 7 years ago

hartig commented 7 years ago

When I do mvn install after a fresh git clone of this project, the build process fails with the following messages:

[INFO] --- maven-gpg-plugin:1.5:sign (sign-artifacts) @ ldfserver ---
gpg: no default secret key: secret key not available
gpg: signing failed: secret key not available

When I comment out the maven-gpg-plugin in the pom.xml (lines 211-224), the build process is successful.

mielvds commented 7 years ago

Adding a -Dpgp.skip-truecan avoid this for prior versions.

Luckily, the fix was simply moving the gpg signing to the deploy phase, see https://github.com/LinkedDataFragments/Server.Java/commit/24149ebe139b76918781116f2a51fff7b2c7b19a. mvn installshould work now.

hartig commented 7 years ago

Thanks @mielvds ! Works perfectly.

NidhiRajeshDhoka commented 6 years ago

Thanks @mielvds !It worked for me.

ramazancesur commented 5 years ago

thanks a lot your advice worded for me