Greetings! I'm just trying out Artifactory. It appears it is configured OK and maven uses it, as expected. To make sure I downloaded Wicket an tried to build it. Maven demanded the wagon plugin (see below), so I downloaded it and attempted mvn install:install-file... To my surprise, I got the same "Failed to resolve artifact", so I used the UI to deploy wagon. It has deployed, I can see that, but I'm still getting the same error. I'm beginning to suspect I have not configured the artifactory correctly after all. How can I make sure? Or maybe the setting.xml... On the other hand, if I did, why maven fails? Any suggestions are most welcome. TIA
-aaron Downloading: http://[localhost]:8081/artifactory/repo/org/apache/maven/wagon/wagon-ssh-external/1.0-alpha-6/wagon-ssh-external-1.0-alpha-6.jar [INFO] Unable to find resource 'org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6' in repository central (http://[localhost]:8081/artifactory/repo) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.wagon -DartifactId=wagon-ssh-external -Dversion=1.0-alpha-6 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.wagon -DartifactId=wagon-ssh-external -Dversion=1.0-alpha-6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.wicket:wicket-parent:pom:1.4.3 2) org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6 ---------- 1 required artifact is missing. for artifact: org.apache.wicket:wicket-parent:pom:1.4.3 from the specified remote repositories: central (http://[localhost]:8081/artifactory/repo), snapshots (http://localhost:8081/artifactory/repo) -- View this message in context: http://old.nabble.com/installed-artifact-is-not-resolving-tp26669923p26669923.html Sent from the Artifactory-Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
