Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #9824

Re: Surefire plugin

From Markus Koschany <apo@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Surefire plugin
Date 2017-07-22 12:50 +0200
Message-ID <u608V-PS-3@gated-at.bofh.it> (permalink)
References <u5DvI-3Ew-5@gated-at.bofh.it> <u5DFo-3I1-19@gated-at.bofh.it> <u5DP5-3Lj-35@gated-at.bofh.it> <u5E8q-493-21@gated-at.bofh.it>
Organization debian.org

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Am 21.07.2017 um 13:12 schrieb Emmanuel Bourg:
> 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.

Should we treat this as a bug in maven-debian-helper or as a Maven
feature? I believe most people would expect that either the tests are
completely "skipped" if maven.test.skip is set to true in
debian/maven.properties or that an ignore rule like

org.apache.maven.plugins maven-surefire-plugin * * * *

prevents the maven-surefire-plugin from being 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.

I also thought that overriding dh_auto_test should do it but I just saw
that I already did that. Unfortunately the package still fails to build.

Markus

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Surefire plugin Markus Koschany <apo@debian.org> - 2017-07-21 12:40 +0200
  Re: Surefire plugin Emmanuel Bourg <ebourg@apache.org> - 2017-07-21 12:50 +0200
    Re: Surefire plugin Markus Koschany <apo@debian.org> - 2017-07-21 13:00 +0200
      Re: Surefire plugin Emmanuel Bourg <ebourg@apache.org> - 2017-07-21 13:20 +0200
        Re: Surefire plugin Emmanuel Bourg <ebourg@apache.org> - 2017-07-21 15:30 +0200
          Re: Surefire plugin Mykola Nikishov <mn@mn.com.ua> - 2017-07-21 20:00 +0200
            Re: Surefire plugin Emmanuel Bourg <ebourg@apache.org> - 2017-07-21 20:20 +0200
              Re: Surefire plugin Mykola Nikishov <mn@mn.com.ua> - 2017-07-21 20:40 +0200
        Re: Surefire plugin Markus Koschany <apo@debian.org> - 2017-07-22 12:50 +0200
          Re: Surefire plugin Emmanuel Bourg <ebourg@apache.org> - 2017-07-22 21:30 +0200

csiph-web