Why mvn downloads a lot of dependencies, given an artifact, but the mvnrepository.com says there is no dependency?

42 Views Asked by At

This artifiact AWS SDK For Java Bundle » 1.11.901 says there is no "Compile Dependencies" (or "Provided Dependencies"/"Runtime Dependencies").

But when executing this command:

./mvn dependency:get -Dartifact=com.amazonaws:aws-java-sdk-bundle:1.11.901 -Dtransitive=false

I ended up with a .m2 folder (originally empty) full of dependencies:

$ls
asm                       commons-cli          commons-logging    oro
backport-util-concurrent  commons-collections  commons-validator  xml-apis
classworlds               commons-digester     junit
com                       commons-io           log4j
commons-beanutils         commons-lang         org

It is supposed that only aws-java-sdk-bundle-1.11.901.jar should be downloaded.

Did I misunderstand something? I'm not familiar with Java language...

With or without flag -Dtransitive=false doesn't make any difference.

0

There are 0 best solutions below