I try to build my applivation and get followinf error message:
[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
But on filesystem I see that this jar exists inside following folder:
.m2\repository\com\day\cq\cq-i18n\5.4.4
How to fix this problem?
update
Tried to execute with -o option:
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.