Cristiano Gavião opened MDEP-794 and commented
I'm using the copyDependencies to build a distribution package and I'm getting junit.jar and others on it.
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<excludeClassifiers>sources,javadoc,full,pom</excludeClassifiers>
<excludeScope>system</excludeScope>
<includeScope>compile</includeScope>
</configuration>
</plugin>
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-dependency-plugin:3.2.0:copy-dependencies from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-dependency-plugin:3.2.0, parent: sun.misc.Launcher$AppClassLoader@18b4aac2]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-dependency-plugin:3.2.0:copy-dependencies' with basic configurator -->
[DEBUG] (f) addParentPoms = false
[DEBUG] (s) copyPom = false
[DEBUG] (f) excludeArtifactIds = jdk.tools
[DEBUG] (f) excludeClassifiers = sources,javadoc,full,pom
[DEBUG] (f) excludeScope = system
[DEBUG] (f) excludeTransitive = false
[DEBUG] (s) failOnMissingClassifierArtifact = false
[DEBUG] (f) includeScope = compile
[DEBUG] (s) markersDirectory = C:\Users\cristianoga\git-code\p-stripping\target\dependency-maven-plugin-markers
[DEBUG] (f) outputAbsoluteArtifactFilename = false
[DEBUG] (s) outputDirectory = C:\Users\cristianoga\git-code\p-stripping\target\dependency
[DEBUG] (f) overWriteIfNewer = true
[DEBUG] (f) overWriteReleases = false
[DEBUG] (f) overWriteSnapshots = false
[DEBUG] (s) prependGroupId = false
[INFO] Copying junit-4.13.2.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\junit-4.13.2.jar
[INFO] Copying hamcrest-core-1.3.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\hamcrest-core-1.3.jar
[INFO] Copying mockito-core-3.12.4.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\mockito-core-3.12.4.jar
[INFO] Copying byte-buddy-1.11.13.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\byte-buddy-1.11.13.jar
[INFO] Copying byte-buddy-agent-1.11.13.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\byte-buddy-agent-1.11.13.jar
[INFO] Copying objenesis-3.2.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\objenesis-3.2.jar
[INFO] Copying dbunit-2.7.2.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\dbunit-2.7.2.jar
[INFO] Copying h2-1.4.200.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\h2-1.4.200.jar
[INFO] Copying assertj-core-3.21.0.jar to C:\Users\cristianoga\git-code\p-stripping\target\dependency\assertj-core-3.21.0.jar
Affects: 3.2.0
Attachments:
Cristiano Gavião opened MDEP-794 and commented
I'm using the copyDependencies to build a distribution package and I'm getting junit.jar and others on it.
Affects: 3.2.0
Attachments: