java-rest-api icon indicating copy to clipboard operation
java-rest-api copied to clipboard

Error: Could not build package

Open rc-ctream opened this issue 4 years ago • 3 comments

Hi guys, by following the sms api guide for java Guide for Get started with SMS I get a trouble. The maven command mvn clean install results in my case with following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project messagebird-api: Unable to execute gpg command: Error while executing process. Cannot run program "gpg": error=2, No such file or directory -> [Help 1]

Can you give me an advice how to solve this?

Some information about my env:

OS: macOs - Catalina 10.15.7 Java: 11.0.9

rc-ctream avatar Jan 03 '21 21:01 rc-ctream

For me the following property mvn clean install -Dgpg.skip helps for building it without error. But it would be very helpful if this problem could be handle

rc-ctream avatar Jan 03 '21 22:01 rc-ctream

Hi @rc-ctream, Thanks for reporting the issue. You can use mvn clean install -Dgpg.skip for now. We will consider to fix it in the future. Let us know if you have more questions.

denizkilic avatar Jan 04 '21 16:01 denizkilic

Hi @denizkilic , thank you for your feedback. As mentioned above, I built it that way. Then I'll let the ticket wait until you get the fix it.

Thanks in advance!

rc-ctream avatar Jan 04 '21 17:01 rc-ctream