maven deploy问题

今天遇到一个deploy的问题,

[INFO] Total time: 3.617s
[INFO] Finished at: Thu Jun 08 16:38:18 CST 2017
[INFO] Final Memory: 16M/206M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-
deploy-plugin:2.8.2:deploy (default-deploy) on project xnol-device-
interface: Deployment failed: repository element was not specified in 
the POM inside distributionManagement element or in -
DaltDeploymentRepository=id::layout::url parameter -> [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/MojoExecutionExc
eption

最后知道了是没有选择ci,也就是下图的选项.

image.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容