[INFO] Unable to find resource
'com.acme.shoppingcart:shopping-cart:zip:1.1.0' in repository
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
Downloading:
http://repo1.maven.org/maven2/com/acme/shoppingcart/shopping-cart/1.1.0/shopping-cart-1.1.0.zip
[INFO] Unable to find resource
'com.acme.shoppingcart:shopping-cart:zip:1.1.0' in repository central
(http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to find artifact.
Embedded error: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.acme.shoppingcart
-DartifactId=shopping-cart -Dversion=1.1.0 -Dpackaging=zip
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.acme.shoppingcart
-DartifactId=shopping-cart -Dversion=1.1.0 -Dpackaging=zip
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
com.acme.shoppingcart:shopping-cart:zip:1.1.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
--
Thanks & Regards,
Prabath
http://blog.facilelogin.com
http://RampartFAQ.com
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev