You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2017/03/02 18:53:45 UTC

[jira] [Commented] (MDEP-555) outputDirectory is not used

    [ https://issues.apache.org/jira/browse/MDEP-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892784#comment-15892784 ] 

Guillaume Boué commented on MDEP-555:
-------------------------------------

I cannot reproduce this behaviour, and it is [tested with an IT|https://github.com/apache/maven-plugins/tree/trunk/maven-dependency-plugin/src/it/projects/copy-dependencies]. Would you happen to have this configuration in a execution block, and trying to execute it on the command-line? Can you give a complete example?

> outputDirectory is not used
> ---------------------------
>
>                 Key: MDEP-555
>                 URL: https://issues.apache.org/jira/browse/MDEP-555
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: copy-dependencies
>    Affects Versions: 2.8, 3.0.0
>         Environment: Apache Maven 3.3.9
> Maven home: /usr/share/maven
> Java version: 1.8.0_121, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-8-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.4.0-64-generic", arch: "amd64", family: "unix"
>            Reporter: Thomas Hartwig
>
> I use the configuration below to be able to copy all dependencies. The problem is the outputDirectory is not used. The files are copied to target/dependency of the project dir instead. Tested in 3.0.0 and 2.8.
> {code:xml}
>                         <configuration>
>                             <outputDirectory>/tmp/</outputDirectory>
>                             <!--<outputDirectory>${project.lib.dir}</outputDirectory>-->
>                             <overWriteReleases>false</overWriteReleases>
>                             <overWriteSnapshots>false</overWriteSnapshots>
>                             <overWriteIfNewer>true</overWriteIfNewer>
>                         </configuration>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)