My understanding is that junitlauncher has a dependency on JUnit 4 through
vintage engine. I guess pom should provide profiles for engine choice. See
my earlier questions re the task classpath.

Gintas

Den tis 20 mars 2018 16:28Stefan Bodewig <bode...@apache.org> skrev:

> Hi
>
> I've just added a POM for ant-junitlauncher and it currently fails to
> build as
> org.apache.tools.ant.taskdefs.optional.junitlauncher.SingleTestClass has
> a dependency on org.junit.Test and I haven't declared any dependency on
> JUnit4 inside the POM (only transitively with scope test).
>
> The class has an @Test annotation inside of the main build tree, is this
> intentional? To me it looks as if the annotation and the import of
> org.junit.Test could be removed.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>
>

Reply via email to