Ndacyayisenga-droid commented on code in PR #532: URL: https://github.com/apache/maven-dependency-plugin/pull/532#discussion_r2115923878
########## src/test/java/org/apache/maven/plugins/dependency/AbstractDependencyMojoTestCase.java: ########## @@ -35,33 +36,52 @@ import org.eclipse.aether.RepositorySystemSession; import org.eclipse.aether.repository.LocalRepository; import org.eclipse.aether.repository.LocalRepositoryManager; +import org.junit.Before; import org.sonatype.plexus.build.incremental.DefaultBuildContext; public abstract class AbstractDependencyMojoTestCase extends AbstractMojoTestCase { protected File testDir; - protected DependencyArtifactStubFactory stubFactory; - protected void setUp(String testDirectoryName, boolean createFiles) throws Exception { - setUp(testDirectoryName, createFiles, true); - } - - protected void setUp(String testDirectoryName, boolean createFiles, boolean flattenedPath) throws Exception { - // required for mojo lookups to work + @Override + @Before Review Comment: > This is misleading. This is still JUnit3 TestCase (and its successors are executed as such) and JUnit's annotations have no power here (or there). correct! I will move this to draft for now. we need to probably do it it in a different way -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org