You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/19 13:01:00 UTC
[jira] [Updated] (MDEP-510) copy-dependencies + copyPom +
useRepositoryLayout skips existing artifacts
[ https://issues.apache.org/jira/browse/MDEP-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold updated MDEP-510:
---------------------------------------
Priority: Minor (was: Major)
> copy-dependencies + copyPom + useRepositoryLayout skips existing artifacts
> --------------------------------------------------------------------------
>
> Key: MDEP-510
> URL: https://issues.apache.org/jira/browse/MDEP-510
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: copy-dependencies
> Affects Versions: 2.10
> Environment: Debian Jessie
> Reporter: Alexander Knaust
> Priority: Minor
>
> copy-dependencies using copyPom with useRepositoryLayout will skip copying poms to artifact directories that already exist. This doesn't seem to happen without useRepositoryLayout
> Here is a link to a bash script demonstrating the bug. It clones apache commons-math, and then copies its dependencies with useRepositoryLayout. It then goes back and does it with copyPom=true, but the pom files do not get copied.
> +This can be overcome by setting -DoverWriteReleases=true+
> https://gist.github.com/olemma/2a344a5748befcb7acce
--
This message was sent by Atlassian Jira
(v8.3.4#803005)