我尝试构建我的applivation并获取followinf错误消息:
[ERROR] Failed to execute goal on project XXX: Could not resolve dependencies for project XXX:1.0.0-SNAPSHOT: Failed to collect dependencies at com.day.cq:cq-i18n:jar:5.4.4: Failed to read artifact descriptor for com.day.cq:cq-i18n:jar:5.4.4: Could not transfer artifact com.day.cq:cq-i18n:pom:5.4.4 from/to repo1 (http://HOST.COM/content/groups/public/): Connection to http://HOST.COM refused: Connection refused: connect
但是在文件系统上,我看到这个jar存在于以下文件夹中:
.m2\repository\com\day\cq\cq-i18n\5.4.4
如何解决这个问题?
更新
尝试使用-o选项执行:
Failed to execute goal on project XXXs: Could not resolve dependencies for project XXX:bundle:1.0.0-SNAPSHOT: Cannot access adobe (http://repo.adobe.com/nexus/content/groups/public/) in offline mode and the artifact com.day.cq:cq-i18n:jar:5.4.4 has not been downloaded from it before.