[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project openapi-sdk: Unable to execute gpg command: Error while executing process. Cannot run program "gpg": error=2, No such file or directory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
感谢提供如此方便的工具,目前在使用过程中遇到了如下问题
生成代码后执行
mvn install
会报如下错误排查后发现生成的 pom.xml 里面生成 bulid 的结构如下:
这种写法应该是 maven 2.x 时的写法,而 maven 3.x 的结构有变化,应该如下:
多了一个
pluginManagement
因为 maven 3 已经很普遍在使用了,希望可以加个配置用于兼容 maven 3 结构,感谢👍