我正在尝试在系统中部署org.openwms,但是部署失败
遇到错误。
'https://github.com/openwms/org.openwms'
出现错误:
mvn clean deploy -Prelease,gpg
更新资料
getting error [INFO]
BUILD FAILURE [INFO]
------------------------------------------------------------------------ [INFO]
Total time: 18.446 s [INFO]
Finished at: 2019-07-23T13:06:06+05:30 [INFO]
------------------------------------------------------------------------ [ERROR]
Failed to execute goal org.apache.maven.plugins:
maven-gpg-plugin:1.6:sign (sign-artifacts) on project org.openwms.services:
Unable to execute gpg command: Error while executing process.
Cannot run program "gpg.exe":
CreateProcess error=2, The system cannot find the file specified ->
最佳答案
能够使用普通的maven命令为openwms(有问题的回购网址)生成jar文件。
mvn clean package
关于为
deploy
命令报告的错误,pom文件中缺少其配置。请参考以下命令,了解如何为您的项目设置部署目标。https://maven.apache.org/plugins/maven-deploy-plugin/