Hello Russel,
I have ran into the same problem as you, and I also tried to add some
mirrors in the setting.xml, but no success. Does your settings file
look something like mine?
<?xml version="1.0" encoding="ISO-8859-1"?>
<settings>
<proxies>
<proxy>
<id>myproxy</id>
<active>true</active>
<protocol>http</protocol>
<host>proxyhost</host>
<port>8080</port>
<username>user</username>
<password>password</password>
</proxy>
</proxies>
<mirrors>
<mirror>
<id>mirrors.dotsrc.org</id>
<name>Mirror of http://repo1.maven.org/maven2/</name>
<url>http://mirrors.dotsrc.org/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>public.planetmirror.com</id>
<name>Mirror of http://repo1.maven.org/maven2/</name>
<url> http://public.planetmirror.com/pub/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
</settings>
Many thanks for some pointers to errors..
regs
/Tomas
2005/12/2, Russell Brown <[EMAIL PROTECTED]>:
> Ok,
>
> I tried again. I changed my settings.xml to point to a mirror repository
> and ran mvn -U -X compile and this time the plugins were downloaded.
> From central mind you, not the mirror.
>
> It is going to be a steep curve but I've started now.
> Thanks for your help so far
>
> Russell
>
> -----Original Message-----
> From: Russell Brown [mailto:[EMAIL PROTECTED]
> Sent: 02 December 2005 09:51
> To: Maven Users List
> Subject: RE: The plugin
> 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no
> valid version can be found. Maven 2 new install.
>
> Brett,
> Many thanks. This is a clean install of maven2. When I run the command
>
> mvn -U compile
>
> The output states
>
> artefact org.apache.maven.plugins:maven-resources-plugin: checking for
> updates from central
>
> But then I still get the message
>
> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
> not exist or no valid versi on could be found
>
> So is the plugin in the right place in central ? I can find the plugin
> at http://repo1.mave,.org/maven2/org/apache/maven/plugins/... So why
> can't mvn ?
>
> Any more help appreciated as I am not sure how to install plugins if I
> cannot install the install plugin.
>
> Russell
>
> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: 02 December 2005 09:46
> To: Maven Users List
> Subject: Re: The plugin
> 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no
> valid version can be found. Maven 2 new install.
>
> This seems to be an issue of upgrading an old install. Please run with
> -U and see if that helps - it will force an update.
>
> - Brett
>
> On 12/2/05, Russell Brown <[EMAIL PROTECTED]> wrote:
> > Allan,
> > Thanks for your reply. I have just tried what you suggest and may have
>
> > come across a boot strapping type issue. When I run the command
> >
> > mvn install:install-file
> > -Dfile=m:\maven-resources\2.0-alpha-3\maven-resources-plugin-2
> > .0-alpha-3.jar -DgroupId=org.apache.maven.plugins
> > -DartifactId=maven-resources-plugin -Dversion=2.0-
> > aplha-3 -Dpackaging=jar
> >
> > And got the message
> >
> > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does
>
> > not exist or no valid version could be found
> >
> > Fair play. So I download the maven-install-plugin and run the command
> >
> > mvn install:install-file
> > -Dfile=m:\maven-resources\maven-install-plugin-2.0.jar -Dgroup
> > Id=org.apache.maven.plugins -DartifactId=maven-install-plugin
> > -Dversion=2.0 -Dpackaging=jar
> >
> > And get the message
> >
> > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does
>
> > not exist or no valid version could be found
> >
> > ?? Erm. Not sure what to do next.
> >
> > Is there a root cause to this 'cos presumably Maven should be
> > downloading these plugins from central.
> >
> > Any more Ideas ?
> >
> > Many thanks
> >
> > Russell
> >
> >
> > >Hi Russel,
> > >
> > >http://docs.codehaus.org/display/MAVENUSER/FAQs
> > >Look for the question "Why am I getting a "<plugin name>" does not
> > exist
> > >or no valid version"
> > >
> > >Hope this helps,
> > >
> > >regards,
> > >-allan
> > >
> > >Russell Brown wrote:
> > >
> > >Hi,
> > >Whenever I try and run 'mvn compile' I get the message:
> > >
> > >The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
>
> > >exist or no valid version can be found.
> > >
> > >I have looked on http://www.ibiblio.org/maven2 and the directory
> > >http://www.ibiblio.org/maven2/maven/maven-resources-plugin/ is empty.
> > Is
> > >this the reason for the error ?
> > >
> > >I poked around some more and found a jar that could be the right one
> > >at
> > >http://www.ibiblio.org/maven2/apache/maven/plugins/maven-resources-pl
> > >ug
> > i
> > >n . I downloaded it and the pom and put it in my local repository. No
>
> > >luck, same message. I put it on a local web server and set up a
> > >mirror in the settings.xml and mvn compile still results in the same
> message.
> > I
> > >removed the mirror form settings.xml and set up a profile pointing to
>
> > >a remote repository on my network with the plugin on the path
> > ><my-server>/maven/maven-resources-plugin/ and that did not work.
> > >
> > >I have tried it on 4 different paths as I am not sure which is
> > >correct (I mirrored every instance of the .jar on the server) and
> > >that did not work.
> > >
> > >I googled and searched the archive for [email protected] and
> > >found that the issue was raised on 05/11/2005. The respondent asked
> > >the
> > poster
> > >to "try again in a few days" as there was "trouble" with
> > repo1.maven.org
> > >at the moment. So...my question: having RTFM and tried very hard to
> > >solve the problem myself I have to ask if anyone out there knows what
>
> > >the cause of this issues is and how I solve it ?
> > >
> > >My env:-
> > >Windows XP
> > >Jdk 5
> > >Behind a proxy but I maven managed to download the archetype plugin
> > >so
> > I
> > >configured the proxy settings correctly
> > >
> > >Thanks in advance if you can help
> > >
> > >Regards
> > >
> > >Russell
> > >
> > >
> > >
> > >Russell Brown
> > >Developer
> > >LINK Interchange Network Ltd
> > >
> > >Tel: 01423 35631
> > >
> > >_____________________________________________________________________
> > >__
> > _
> > >The Information contained in this e-mail message is intended only for
>
> > >the individuals named above. If you are not the intended recipient,
> > >you should be aware that any dissemination, distribution, forwarding
> > >or other duplication of this communication is strictly prohibited.
> > >The views expressed in this e-mail are those of the individual author
>
> > >and not necessarily those of LINK Interchange Network Ltd.
> > >Prior to taking any action based upon this e-mail message you should
> > >seek appropriate confirmation of its authenticity. If you have
> > >received this e-mail in error, please notify the sender immediately.
> > >_____________________________________________________________________
> > >__
> > _
> > >
> > >
> > >---------------------------------------------------------------------
> > >--
> > -
> > >
> > >No virus found in this incoming message.
> > >Checked by AVG Free Edition.
> > >Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date:
> > 11/30/2005
> > >
> > >
> > >
> >
> >
> > ______________________________________________________________________
> > __ The Information contained in this e-mail message is intended only
> > for the individuals named above. If you are not the intended
> > recipient, you should be aware that any dissemination, distribution,
> > forwarding or other duplication of this communication is strictly
> > prohibited.
> > The views expressed in this e-mail are those of the individual author
> > and not necessarily those of LINK Interchange Network Ltd.
> > Prior to taking any action based upon this e-mail message you should
> > seek appropriate confirmation of its authenticity. If you have
> > received this e-mail in error, please notify the sender immediately.
> > ______________________________________________________________________
> > __
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service working
> around the clock, around the globe, visit http://www.messagelabs.com
> ________________________________________________________________________
> LINK Information Security
>
> ________________________________________________________________________
> The Information contained in this e-mail message is intended only for
> the individuals named above. If you are not the intended recipient, you
> should be aware that any dissemination, distribution, forwarding or
> other duplication of this communication is strictly prohibited.
> The views expressed in this e-mail are those of the individual author
> and not necessarily those of LINK Interchange Network Ltd.
> Prior to taking any action based upon this e-mail message you should
> seek appropriate confirmation of its authenticity. If you have received
> this e-mail in error, please notify the sender immediately.
> ________________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service working
> around the clock, around the globe, visit http://www.messagelabs.com
> ________________________________________________________________________
> LINK Information Security
>
> ________________________________________________________________________
> The Information contained in this e-mail message is intended only for
> the individuals named above. If you are not the intended recipient,
> you should be aware that any dissemination, distribution, forwarding
> or other duplication of this communication is strictly prohibited.
> The views expressed in this e-mail are those of the individual
> author and not necessarily those of LINK Interchange Network Ltd.
> Prior to taking any action based upon this e-mail message you should
> seek appropriate confirmation of its authenticity. If you have
> received this e-mail in error, please notify the sender immediately.
> ________________________________________________________________________
>
> ---------------------------------------------------------------------
> 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]