Hi, I'm running a maven release build from Hudson and when trying to download an artifact from a remote Archiva Repository it fails with the error below... Does anyone has any pointers on how to resolve or circumvent this issue...??? I'd really appreciate your help... FYI, I also added a snippet from my pom.xml, which is below the error... Also, I removed the ip address in the error and and pom snippet, and replaced it with <remoteRepository>... Thanks...
[INFO] [INFO] Configured Artifact: com.statcom.pfl:statcom-webstart-client:1.1.0.11:zip [INFO] Downloading: http://<remoteRepository>:8080/archiva/repository/internal/com/statcom/pfl/statcom-webstart-client/1.1.0.11/statcom-webstart-client-1.1.0.11.zip<http://%3cremoterepository%3e:8080/archiva/repository/internal/com/statcom/pfl/statcom-webstart-client/1.1.0.11/statcom-webstart-client-1.1.0.11.zip> [INFO] Downloading: http://<remoteRepository>:8080/archiva/repository/snapshots/com/statcom/pfl/statcom-webstart-client/1.1.0.11/statcom-webstart-client-1.1.0.11.zip<http://%3cremoterepository%3e:8080/archiva/repository/snapshots/com/statcom/pfl/statcom-webstart-client/1.1.0.11/statcom-webstart-client-1.1.0.11.zip> [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] BUILD ERROR [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Unable to find artifact. [INFO] [INFO] Embedded error: Unable to download the artifact from any repository [INFO] [INFO] Try downloading the file manually from the project website. [INFO] [INFO] Then, install it using the command: [INFO] mvn install:install-file -DgroupId=com.statcom.pfl -DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip -Dfile=/path/to/file [INFO] [INFO] Alternatively, if you host your own repository you can deploy the file there: [INFO] mvn deploy:deploy-file -DgroupId=com.statcom.pfl -DartifactId=statcom-webstart-client -Dversion=1.1.0.11 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [INFO] [INFO] [INFO] com.statcom.pfl:statcom-webstart-client:zip:1.1.0.11 [INFO] [INFO] from the specified remote repositories: [INFO] archiva.snapshots ( http://<remoteRepository>:8080/archiva/repository/snapshots<http://%3cremoterepository%3e:8080/archiva/repository/snapshots> ), [INFO] central (http://<remoteRepository>:8080/archiva/repository/internal<http://%3cremoterepository%3e:8080/archiva/repository/internal> ) <pluginRepository> <id>central</id> <name>StatCom Internal Archiva Maven Repository</name> <url>http:// <remoteRepository>:8080/archiva/repository/internal</url> </pluginRepository> <pluginRepository> <id>atlassian-m2-repository</id> <name>Atlassian Maven 2.x Repository</name> <url>http://repository.atlassian.com/maven2</url> </pluginRepository> </pluginRepositories> <repositories> <repository> <id>central</id> <name>StatCom Internal Archiva Maven Repository</name> <url>http:// <remoteRepository>:8080/archiva/repository/internal</url> </repository> <repository> <id>archiva.snapshots</id> <name>Internal Snapshot Repository</name> <url>http:// <remoteRepository>:8080/archiva/repository/snapshots</url> </repository> </repositories> Thanks Chris
