Maven发布jar包

报错:Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy

原因:缺少配置

解决:在Maven配置文件settings.xml中加配置

在目录…apache-maven-3.2.3-binapache-maven-3.2.3conf下打开文件settings.xml,增加配置。

<!-- servers| This is a list of authentication profiles, keyed by the server-id used within the system.| Authentication profiles can be used whenever maven must make a connection to a remote server.|--><servers><!-- server| Specifies the authentication information to use when connecting to a particular server, identified by| a unique name within the system (referred to by the 'id' attribute below).| | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are |       used together.|--><server><id>xxxx</id><username>xxxx</username><password>xxxx</password></server><!-- Another sample, using keys to authenticate.<server><id>siteServer</id><privateKey>/path/to/private/key</privateKey><passphrase>optional; leave empty if not used.</passphrase></server>--></servers>

Maven发布出错:Failed to execute goal org.apache.maven.pluginsmaven-deploy-plugin2.8.2deploy相关推荐

  1. maven bug之Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (defau

    maven bug之Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (defau ...

  2. 使用idea进行Maven打包异常:Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war

    使用idea进行Maven打包异常:Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war 参考文章: (1) ...

  3. Maven打包时报Failed to execute goal org.apache.maven.plugins:maven-war-plugin:解决方案

    问题现象: 用Maven打包时,报Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war错误. 原因分析: 打 ...

  4. springboot maven 打包失败 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2

    maven 打包失败 一.问题描述: idea打包springboot项目,控制台提示: Failed to execute goal org.apache.maven.plugins:maven-s ...

  5. 解决Failed to execute goal org.apache.maven.plugins

    1.Maven构建失败 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin: 2.3 . 2 :compile  ...

  6. maven install出错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (d

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-c ...

  7. Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile)

    完整的错误信息: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile ( ...

  8. maven package 时报错 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test

    之前启动springboot的项目,报错:Failed to determine suitable jdbc url 但是本地配置文件也配置着spring.datasource.url,目录也没错,想 ...

  9. 针对Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1的解决方案

    2019独角兽企业重金招聘Python工程师标准>>> 背景:本项目使用JDK1.8 编译maven工程的时候出现如下错误: Failed to execute goal org.a ...

最新文章

  1. msf rhosts设置文件_聊一聊基于 msf 的免杀项目测试过程
  2. ue4 开发动作游戏_【图片】第三人称动作游戏开发日志【虚幻4吧】_百度贴吧
  3. 远程 不显示本地硬盘解决办法(高级版)
  4. 多线程不重复读取数据_别再犯错了,多线程访问同一个资源一定要上锁?
  5. android sdk更新代理设置
  6. 前端学习(2055)vuejs的认识和特点介绍
  7. python量化数据处理小细节2
  8. 不能头脑一热,就布局颠覆性技术、上马未来产业
  9. UE4 FBX静态网格物体通道
  10. tomcat可以直接起jar吗_天津买房可以直接落户吗
  11. SuperRuntimeLibrary.TextVoice 发布,支持文本到语音 文本到.wav
  12. duet二重奏hp_二重奏Duet Game pc版|二重奏电脑版下载_v1.7_9号软件下载
  13. java基础——数据库
  14. 13个测试网站访问速度的服务网站
  15. 第七章 变量进阶与点阵LED 练习题
  16. KITTI下使用SGBM立体匹配算法获得深度图
  17. python构建决策引擎_决策引擎与机器学习模型的集成 | 信数这么干(一)
  18. 数据库大赛50强之「华东师范大学」:恰同学少年,代码激扬
  19. stm32f103c8t6+esp8266在WiFi下通过手机控制外设
  20. jsp中设置编码格式

热门文章

  1. 写入epass1000nd 的 key1和key1(c#)
  2. WMT 2011 News Crawl机器翻译数据
  3. 【时间序列分析】序列趋势分析公式总结
  4. HTTP/HTTPS及CDN 原理
  5. 速盘服务器什么时候停止维护,速盘竟然收集用户数据并上传自己服务器?作者出来澄清。还有干净安全的网盘吗?...
  6. 移动互联网运营必读:APP运营人的职责、指标全解析
  7. 国科大-图像处理复习(王伟强)
  8. ❤️❤️❤️Arduino语法手册 完整版
  9. 如何在 Mac 上愉快的使用 Docker
  10. php+mysql+手机商城 毕业设计-附源码191803