Paul Hammant created MDEP-975:
---------------------------------
Summary: Command-line use of copy-dependencies does
excludeTransitive=true when pom based use has that as false by default
Key: MDEP-975
URL: https://issues.apache.org/jira/browse/MDEP-975
Project: Maven Dependency Plugin
Issue Type: Improvement
Components: copy-dependencies
Affects Versions: 3.8.1
Reporter: Paul Hammant
[https://maven.apache.org/components/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#excludeTransitive]
- suggests false is default.
Command line use ( I have a project that has okhttp as test dep):
```
mvn -q dependency:copy-dependencies -DincludeScope=test
-DincludeArtifactIds=okhttp -DoutputDirectory=target/libs_for_test
```
This should have copied okio, kotlin-stdlib and okio-jvm, too, but did not.
I think the command line use of copy-dependencies should match the defaults of
the pom/xml based use of the same
--
This message was sent by Atlassian Jira
(v8.20.10#820010)