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.gs 
-DartifactId=org.wso2.gs.styles.feature -Dversion=2.0.0-SNAPSHOT 
-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.gs 
-DartifactId=org.wso2.gs.styles.feature -Dversion=2.0.0-SNAPSHOT 
-Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.gs:org.wso2.gs.styles.feature:zip:2.0.0-SNAPSHOT

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: 9 seconds
[INFO] Finished at: Tue Mar 29 19:49:41 IST 2011
[INFO] Final Memory: 27M/1237M
[INFO] ------------------------------------------------------------------------
2011-03-29_19-48-15
Carbon  packs are available at : 
http://10.100.1.43/~carbon/releases/carbon/3.2.0/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