I'm currently using the maven-dependency-plugin like
mvn -B dependency:copy-dependencies \
-Dmdep.copyPom=true \
-DoutputDirectory="$OUTDIR"
to download all POMs of all (transitive) dependencies. However, that is also downloading the JARs, which I don't want. I tried to use includeTypes
/ excludeTypes
to limit to POM files only, but that didn't work as nothing is retrieved then.
Is there another option / command that really just retrieves the POMs?
Background: I only need the meta-data from all transitive POMs for compliance checks.