Thanks for your suggestions Wayne. I found a way to fix the issue. 

I searched in my local repository under org.apache.maven.plugins... and
found that it did not contain a version directory  (that should contain the
jars etc) - just a couple of xml files describing the artifact etc. 

I deleted the directory and behold! It worked! 

I didn't delete the jars. Maven must have done something with them??

I still think it would be very useful if someone could deterministically
document what on earth maven is doing. 


Wayne Fay wrote:
> 
> Its simply not that straightforward as there are many things you can
> configure in various places etc. By default, Maven looks in the
> Central repo, but you can override this or set up mirrors etc.
> 
> Try mvn -U -X eclipse:eclipse and if it still fails, copy and paste
> the log into pastebin.com and send the link here.
> 
> Wayne
> 
> On 10/26/07, alexworden <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> The odd thing is that this was working just fine last week. I didn't
>> change
>> a thing, and now it's broken. It's not related to being behind a firewall
>> since I'm trying it from home, where I don't have a firewall - and it was
>> working here last week.
>>
>> What ports does maven try to connect to the repository on anyway?
>>
>> Where are the repositories configured?
>>
>> If I have a local repository configured, will maven also try to look in
>> the
>> default repositories?
>>
>> Again - if anyone can explain what maven is doing in order to look-up the
>> plugin location, that would be helpful.
>>
>> Thanks,
>>
>> Alex
>>
>>
>> alexworden wrote:
>> >
>> >
>> >
>> > Wayne Fay wrote:
>> >>
>> >>> The plugin 'org.apache.maven.plugins:maven-eclipse-plugin' does not
>> >>> exist or
>> >>> no valid version could be found
>> >>
>> >> There are several reasons why this will happen. In short, Maven is
>> >> unable to find the plugin. For new users, this generally means that
>> >> you're behind some kind of Internet proxy and simply have failed to
>> >> configure it in your settings.xml as is required.
>> >>
>> >>> From what I gather, maven should look in:
>> >>> http://repo1.maven.org/maven2/eclipse/ but when I browse there, I
>> don't
>> >>> find
>> >>> any versions available. Is there something wrong with the maven
>> >>> repository
>> >>> right now? very mysterious...
>> >>
>> >> This is incorrect. The correct url is:
>> >>
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/
>> >>
>> >> Wayne
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-does-maven-resolve-plugin-dependencies-tf4694740s177.html#a13432043
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-does-maven-resolve-plugin-dependencies-tf4694740s177.html#a13433842
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to