[ http://jira.codehaus.org/browse/MNG-2126?page=comments#action_60287 ] 

Brett Porter commented on MNG-2126:
-----------------------------------

no, its not the right behaviour, but I've seen it work.

I suspect you have <releases><enabled>false on your snapshot repo. That bug is 
already known, in which case thsi is a dupe. Is that the case?

> Snapshot plugin repositories are not searched for plugins that do not 
> explicitly specify a snapshot version.
> ------------------------------------------------------------------------------------------------------------
>
>          Key: MNG-2126
>          URL: http://jira.codehaus.org/browse/MNG-2126
>      Project: Maven 2
>         Type: Bug

>     Reporter: John Allen
>     Priority: Minor

>
>
> Only release repositories are queried for version-unscoped plugins. 
> Deploy a plugin (say x-maven-plugin, version 1-SNAPSHOT) to a snapshot 
> repository via mvn -P performRelease deploy.
> clear local repository so client has no copy of the snapshot.
> Build a project that tries to use the x-maven-plugin but does not specify the 
> plugin's version.
> Results in client searching release respository only, does not query the 
> snapshot repository or attempt to merge the metadata in any way.
> Is this as designed?

-- 
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


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

Reply via email to