You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/05/18 16:26:12 UTC

[jira] Created: (MNG-4679) [regression] command line option "-update-snapshots" does not work for dependency:copy-dependencies

[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

        

[jira] Closed: (MNG-4679) [regression] command line option "-update-snapshots" does not work for dependency:copy-dependencies

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4679.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta-2
         Assignee: Benjamin Bentmann

Fixed in [r945715|http://svn.apache.org/viewvc?view=revision&revision=945715].

> [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
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-beta-2
>
>
> 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