You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Abid Hussain <hu...@gmx.de> on 2012/01/04 14:17:54 UTC

Maven is using SNAPSHOT versions of plugins

Hi all,

trying to create a project using the archetype-plugin fails because maven tries to use a SNAPSHOT version of the plugin:
[INFO] Unable to find resource 'org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:2.3-SNAPSHOT' in repository central (http://central)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository

Same happens when trying to perform the maven-eclipse-plugin. So my question is: why does maven try to use SNAPSHOT versions which do not exist? Can the cause of the problem be in my local configuration?

Regards,

Abid
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!		
Jetzt informieren: http://www.gmx.net/de/go/freephone

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven is using SNAPSHOT versions of plugins

Posted by "Nord, James" <JN...@nds.com>.
Most likely because you are using a repository manager (nexus / artifactory?) and a settings.xml that is incorrect configured.

http://maven.40175.n5.nabble.com/Plugins-snapshot-resolution-td4833804.html

and http://maven.40175.n5.nabble.com/settings-xml-td131025.html for a solution that "works for me(tm)"

/james

-----Original Message-----
From: jeffmaury@gmail.com [mailto:jeffmaury@gmail.com] On Behalf Of Jeff MAURY
Sent: 04 January 2012 16:02
To: Maven Users List
Subject: Re: Maven is using SNAPSHOT versions of plugins

SNAPSHOT are not available in central repository.

Jeff MAURY

On Wed, Jan 4, 2012 at 2:17 PM, Abid Hussain <hu...@gmx.de> wrote:

> Hi all,
>
> trying to create a project using the archetype-plugin fails because
> maven tries to use a SNAPSHOT version of the plugin:
> [INFO] Unable to find resource
> 'org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:2.3-SNAPSHOT'
> in repository central (http://central) [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] A required plugin was not found: Plugin could not be found -
> check that the goal name is correct: Unable to download the artifact
> from any repository
>
> Same happens when trying to perform the maven-eclipse-plugin. So my
> question is: why does maven try to use SNAPSHOT versions which do not
> exist? Can the cause of the problem be in my local configuration?
>
> Regards,
>
> Abid
> --
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury


**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven is using SNAPSHOT versions of plugins

Posted by Jeff MAURY <je...@jeffmaury.com>.
SNAPSHOT are not available in central repository.

Jeff MAURY

On Wed, Jan 4, 2012 at 2:17 PM, Abid Hussain <hu...@gmx.de> wrote:

> Hi all,
>
> trying to create a project using the archetype-plugin fails because maven
> tries to use a SNAPSHOT version of the plugin:
> [INFO] Unable to find resource
> 'org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:2.3-SNAPSHOT'
> in repository central (http://central)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] A required plugin was not found: Plugin could not be found - check
> that the goal name is correct: Unable to download the artifact from any
> repository
>
> Same happens when trying to perform the maven-eclipse-plugin. So my
> question is: why does maven try to use SNAPSHOT versions which do not
> exist? Can the cause of the problem be in my local configuration?
>
> Regards,
>
> Abid
> --
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury