[regression] plugin updates are requested on every build regardless of policies
-------------------------------------------------------------------------------
Key: MNG-4554
URL: http://jira.codehaus.org/browse/MNG-4554
Project: Maven 2 & 3
Issue Type: Bug
Components: Artifacts and Repositories, Plugins and Lifecycle
Affects Versions: 3.0-alpha-6
Reporter: Brett Porter
I'm not sure if this is an intentional change that I've missed or not, but
running something like:
{code}
mvn archetype:generate
{code}
will retrieve the metadata from the repository on every build:
{code}
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
9 KB downloaded at 17.1 KB/sec
{code}
This is in contrast to Maven 2.2.1 which always continues to use the first
version encountered until you use -U:
{code:xml}
<pluginRepositories>
<pluginRepository>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
{code}
While that remains in the super POM of Maven 3, it seems that the metadata is
retrieved regardless.
--
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