I know it, I checked. My knowledge of maven is not very deep, so I followed
the advice Maven had offered. Still, I'm baffled why maven doesn't find
wagon when it's installed locally. I'll check the logs as soon as I can get
to them. Thanks!

-aaron


freddy33 wrote:
> 
> Hi,
> This wagon jar is in repo1! Why do you need manual deploy?
>>From the maven log it looks like you are accessing Artifactory. You should
> try to look at the artifactory.log or access.log files under
> artifactory/logs folder for anything suspicious.
> It may be permissions or more likely some network access issue.
> 
> HTH,
> Fred.
> 
> On Mon, Dec 7, 2009 at 3:42 AM, passogiau <[email protected]> wrote:
> 
>>
>> 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
>>
> 
> 
> 
> -- 
> Co. Founder and Chief Architect
> JFrog Ltd
> http://www.jfrog.org/
> http://twitter.com/freddy33
> 
> ------------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/installed-artifact-is-not-resolving-tp26669923p26677543.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

Reply via email to