[ http://jira.codehaus.org/browse/MNG-3678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159770#action_159770 ]
Stephane Nicoll commented on MNG-3678: -------------------------------------- Well, I have exactly the opposite :) I am trying to run the ITs of the EAR plugin with 2.0.9 and it keeps downloading version 2.3.1 of the plugin even though I added the snapshot repo in the settings of the IT. If I run maven on the command line with -U it does not download the 2.3.2-SNAPSHOT either ! Switching to mvn 2.0.8 and invoking the exact same command with the same repo and the same settings just works. Anybody knows what's happening? This is bad since it seems I can't use a snapshot plugin with 2.0.9 anymore > Maven downloads from snapshot repos even when no snapshot repository is in > the pom > ---------------------------------------------------------------------------------- > > Key: MNG-3678 > URL: http://jira.codehaus.org/browse/MNG-3678 > Project: Maven 2 > Issue Type: Bug > Affects Versions: 2.0.9 > Environment: Win XP > Reporter: Julien HENRY > Fix For: 2.0.11 > > Attachments: pom.xml, stack.txt > > > Easy to reproduce. Start with an empty local repository (rename > ~/.m2/repository) and use a very simple pom.xml. The tips is to use a pom > project instead of a jar project. Now run mvn clean install. > In the log, you will see: > ... > Downloading: > http://snapshots.repository.codehaus.org/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar > Downloading: > http://people.apache.org/repo/m2-snapshot-repository//org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar > ... > I think there are some <repository> sections in some pom.xml on Ibiblio that > still contain snapshot repositories. -- 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