git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: junitlauncher dependency on JUnit4?


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 <bodewig@xxxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxx
> For additional commands, e-mail: dev-help@xxxxxxxxxxxxxx
>
>