[regression] command line option "-update-snapshots" does not work for
dependency:copy-dependencies
---------------------------------------------------------------------------------------------------
Key: MNG-4679
URL: http://jira.codehaus.org/browse/MNG-4679
Project: Maven 2 & 3
Issue Type: Bug
Components: Artifacts and Repositories
Affects Versions: 3.0-beta-1
Reporter: Benjamin Bentmann
The following snippet
{code:xml}
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<id>copy</id>
<phase>initialize</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>3.0-SNAPSHOT</version>
<type>jar</type>
<overWrite>true</overWrite>
</artifactItem>
</artifactItems>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
{code}
and the command "mvn initialize -U" does not cause a snapshot update check for
the configured artifact in 3.x.
--
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