[ http://jira.codehaus.org/browse/MNG-2781?page=comments#action_85267 ]
Jason van Zyl commented on MNG-2781:
------------------------------------
Putting this in the POM flicks it on, I don't know who put that in there but it
still should not pick up snapshots. Turning that on selects a snapshot over a
released version of a plugin. Many people make no distinction between plugin
repos or regular repos, snapshot repos or not and it should select releases
only which is the semantic. This is wrong.
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
</pluginRepository>
</pluginRepositories>
> Snapshot plugin repository declarations cause snapshot plugins to slip in
> where only releases are requested
> -----------------------------------------------------------------------------------------------------------
>
> Key: MNG-2781
> URL: http://jira.codehaus.org/browse/MNG-2781
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.1-alpha-1
> Reporter: Jason van Zyl
>
> If you specify a plugin snapshot repository then snapshots will be pulled
> down for plugins for which you do not specify a version. I'm bootstrapping on
> trunk and trying to debug a problem with the jar plugin and I always get a
> snapshot because a snapshot plugin repository is specified.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira