maven怎么打包发布到linux中

[ERROR] Failed to execute goal on project wenhua-start: Could not resolve dependencies for project wenhua-start:wenhua-start:war:0.0.1-SNAPSHOT: Could not find artifact wenhua-app-tcpserver:wenhua-app-tcpserver:jar:0.0.1-SNAPSHOT -> [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/DependencyResolutionException

2个回答

你这Maven依赖都有问题吧,clean update一下Project,再重新Maven clean、Maven install,本地打包没问题了,再考虑怎么发布到linux上吧,有命令直接解压包发到linux服务器上就可以了!

请关注我的博客,http://blog.csdn.net/weisheixiaoxin 会定期更新有关maven的学习文章
需要使用maven插件cargo
图片说明
linux tomcat/conf/tomcat-users.xml
图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问