You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "James Walker (JIRA)" <ji...@codehaus.org> on 2008/04/27 04:58:46 UTC

[jira] Created: (MDEP-165) dependency:copy-dependencies does not copy sources, and downloads them every time

dependency:copy-dependencies does not copy sources, and downloads them every time
---------------------------------------------------------------------------------

                 Key: MDEP-165
                 URL: http://jira.codehaus.org/browse/MDEP-165
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: copy-dependencies
    Affects Versions: 2.0-alpha-4
            Reporter: James Walker
            Assignee: Brian Fox


Cofigure the pom as follows:
{quote}
<build>
  ...
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.0-alpha-4</version>
          <configuration>
            <copyPom>true</copyPom>
            <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
            <outputDirectory>lib</outputDirectory>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
{quote}

Run
{quote}
   mvn dependency:copy-dependencies -Dclassifier=sources
{quote}
The available source distributions will be downloaded, presumably into the local user repository, even if they have only been download just moments before, but they will not be copied into the output directory.


-- 
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: (MDEP-165) dependency:copy-dependencies does not copy sources, and downloads them every time

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran closed MDEP-165.
-------------------------

       Resolution: Not A Bug
    Fix Version/s: 2.2
         Assignee: Dan Tran  (was: Brian Fox)

> dependency:copy-dependencies does not copy sources, and downloads them every time
> ---------------------------------------------------------------------------------
>
>                 Key: MDEP-165
>                 URL: http://jira.codehaus.org/browse/MDEP-165
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: copy-dependencies
>    Affects Versions: 2.0-alpha-4
>            Reporter: James Walker
>            Assignee: Dan Tran
>             Fix For: 2.2
>
>
> Cofigure the pom as follows:
> {quote}
> <build>
>   ...
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-dependency-plugin</artifactId>
>           <version>2.0-alpha-4</version>
>           <configuration>
>             <copyPom>true</copyPom>
>             <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
>             <outputDirectory>lib</outputDirectory>
>           </configuration>
>         </plugin>
>       </plugins>
>     </pluginManagement>
> {quote}
> Run
> {quote}
>    mvn dependency:copy-dependencies -Dclassifier=sources
> {quote}
> The available source distributions will be downloaded, presumably into the local user repository, even if they have only been download just moments before, but they will not be copied into the output directory.

-- 
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] Commented: (MDEP-165) dependency:copy-dependencies does not copy sources, and downloads them every time

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEP-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204636#action_204636 ] 

Dan Tran commented on MDEP-165:
-------------------------------

you need to add the source bundle to the dependency list so that it can properly copied

> dependency:copy-dependencies does not copy sources, and downloads them every time
> ---------------------------------------------------------------------------------
>
>                 Key: MDEP-165
>                 URL: http://jira.codehaus.org/browse/MDEP-165
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: copy-dependencies
>    Affects Versions: 2.0-alpha-4
>            Reporter: James Walker
>            Assignee: Brian Fox
>
> Cofigure the pom as follows:
> {quote}
> <build>
>   ...
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-dependency-plugin</artifactId>
>           <version>2.0-alpha-4</version>
>           <configuration>
>             <copyPom>true</copyPom>
>             <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
>             <outputDirectory>lib</outputDirectory>
>           </configuration>
>         </plugin>
>       </plugins>
>     </pluginManagement>
> {quote}
> Run
> {quote}
>    mvn dependency:copy-dependencies -Dclassifier=sources
> {quote}
> The available source distributions will be downloaded, presumably into the local user repository, even if they have only been download just moments before, but they will not be copied into the output directory.

-- 
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