不见也不念 2016-11-11 09:26 采纳率: 0%
浏览 11033

运行maven install的时候出现错误

使用是本地maven仓库

## **Console控制台报下列错误:**

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.hundsun.crm.frame:com.hundsun.crm.frame.pub:jar:1.0.0.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ com.hundsun.crm.frame:com.hundsun.crm.frame.pub:${com.hundsun.crm.frame.version}, D:\PPOS\Sources\com.hundsun.crm.frame\com.hundsun.crm.frame.pub\pom.xml, line 9, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ com.hundsun.crm.frame:com.hundsun.crm.frame.repository-setting:1.0.0.0-SNAPSHOT, D:\m3\com\hundsun\crm\frame\com.hundsun.crm.frame.repository-setting\1.0.0.0-SNAPSHOT\com.hundsun.crm.frame.repository-setting-1.0.0.0-SNAPSHOT.pom, line 48, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building com.hundsun.crm.frame.pub 1.0.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repos.hundsun.com:6060/nexus/content/groups/public/org/postgresql/postgresql/9.4.1211.jre6/postgresql-9.4.1211.jre6.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.767 s
[INFO] Finished at: 2016-11-11T17:04:19+08:00
[INFO] Final Memory: 8M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project com.hundsun.crm.frame.pub: Could not resolve dependencies for project com.hundsun.crm.frame:com.hundsun.crm.frame.pub:jar:1.0.0.0-SNAPSHOT: Failed to collect dependencies at org.postgresql:postgresql:jar:9.4.1211.jre6: Failed to read artifact descriptor for org.postgresql:postgresql:jar:9.4.1211.jre6: Could not transfer artifact org.postgresql:postgresql:pom:9.4.1211.jre6 from/to nexus (http://repos.hundsun.com:6060/nexus/content/groups/public): repos.hundsun.com: Unknown host repos.hundsun.com -> [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

图片说明

  • 写回答

3条回答

  • devmiao 2016-11-11 15:54
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的