What could be fixed is PlexusTestCase (https://github.com/eclipse/sisu.plexus/tree/master/org.eclipse.sisu.plexus) that TestCopyMojo inherits from. Migrate it to JUnit 4, and one day it will reach maven-dependency-plugin via maven-plugin-testing-harness. It's that simple.
OR Upgrade TestCopyMojo to JUnit 4: 1. Add explicit runner to TestCopyMojo 2. Add (missing now) @Test-s and @Before etc 3. upgrade surefire plugin (currently used 2.22.0 does not mark not-assumed as skipped) and you'll get: [WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 2.432 s - in org.apache.maven.plugins.dependency.fromConfiguration.TestCopyMojo with 62 <testcase name="testAssumption" classname="org.apache.maven.plugins.dependency.fromConfiguration.TestCopyMojo" time="0"> 63 <skipped message="got: <true>, expected: is <false>"/> in xml surefire report. (https://github.com/pzygielo/maven-dependency-plugin/commit/353ca210c720278b42e4dca1e7f3f3c34c439c9a, ran with `mvn test -Dtest=TestCopyMojo`). Given all existing test methods meet their goals. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org