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
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.jarDownloading:
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