Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 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=org.wso2.carbon 
-DartifactId=org.apache.synapse.wso2.feature -Dversion=3.2.1 -Dpackaging=zip 
-Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: 
    mvn deploy:deploy-file -DgroupId=org.wso2.carbon 
-DartifactId=org.apache.synapse.wso2.feature -Dversion=3.2.1 -Dpackaging=zip 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.carbon:org.apache.synapse.wso2.feature:zip:3.2.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)


        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
        at 
org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
        ... 22 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
        at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
        ... 24 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] ERROR

Unable to download the artifact from any repository
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 52 seconds
[INFO] Finished at: Wed Jul 13 22:55:58 EDT 2011
[INFO] Final Memory: 17M/981M
[INFO] ------------------------------------------------------------------------
2011-07-13_22-52-20
Carbon  packs are available at : 
http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.1/latest/
tail -n50 $CARBON_SRC_HOME/build.log
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to