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


  org.wso2.ms:org.wso2.ms.styles.feature:zip:2.3.0-SNAPSHOT

from the specified remote repositories:
  com.springsource.repository.bundles.release 
(http://repository.springsource.com/maven/bundles/release),
  com.springsource.repository.bundles.external 
(http://repository.springsource.com/maven/bundles/external),
  wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
  central (http://repo1.maven.org/maven2),
  wso2-maven2-repository (http://dist.wso2.org/maven2)


        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)
        ... 21 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:349)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
        ... 23 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: 2 minutes 11 seconds
[INFO] Finished at: Sun Mar 06 18:21:17 IST 2011
[INFO] Final Memory: 28M/1237M
[INFO] ------------------------------------------------------------------------
cp: cannot stat `target/p2-repo': No such file or directory
2011-03-06_18-17-22
Carbon  packs are available at : 
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
tail -n50 $STRATOS_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