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

Re: Surefire plugin



Le 21/07/2017 à 12:57, Markus Koschany a écrit :

> Interesting. Thanks for the explanation. Adding junit4 to Build-Depends
> works. I'm just wondering if it should be necessary because I disabled
> the tests and also added junit to maven.ignoreRules. Is it somehow
> possible to avoid adding junit4 to Build-Depends?

Strictly speaking setting the maven.test.skip parameter to false doesn't
disable the test phase, the execution of the tests is skipped but
maven-surefire-plugin is still invoked.

I think using an empty override_dh_auto_test target should do it. But I
agree this shouldn't be necessary, I'll investigate.

Emmanuel


Reply to: