Closed testwill closed 2 months ago
There are 2 ways to deal with it:
/opt/deploy/assembly
dir . maven.assembly.descriptor
property in your pom.xml
file to specify the assembly file location, like this:
<properties>
<maven.assembly.descriptor>src/main/assembly/assembly.xml</maven.assembly.descriptor>
</properties>
好的,谢谢。我试下
这个文档会不会增加k8s部署
这个文档会不会增加k8s部署
把程序包打包到docker镜像,k8s通过deployment启动这个镜像的容器即可。 后续可能会说明如何打包成docker镜像。
好的
@testwill 1.1.2 / 1.0.10 版本已补上Docker 发布脚本和发布文档。https://github.com/ldcsaa/hp-soa/blob/main/misc/doc/deploy.md
谢谢
[ERROR] [3] [INFO] File: /opt/deploy/assembly/assembly.xml does not exist. [ERROR] -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :hp-demo-bff-mysql