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


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

Re: Surefire plugin

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Markus Koschany <apo@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Surefire plugin
Date Sat, 22 Jul 2017 12:50:01 +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>
X-Mailbox-Line From debian-java-request@lists.debian.org Sat Jul 22 10:47:11 2017
Old-Return-Path <apo@debian.org>
X-Amavis-Spam-Status No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
Organization debian.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8Gatqd3oOs05EkD8QfQk2e4dq3wBELaMK"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/20188
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/77f75128-5d48-5fd2-b5f8-f35469b5fa6a@debian.org
Approved robomod@news.nic.it
Lines 80
Sender robomod@news.nic.it
X-Original-Date Sat, 22 Jul 2017 12:46:40 +0200
X-Original-Message-ID <77f75128-5d48-5fd2-b5f8-f35469b5fa6a@debian.org>
X-Original-References <294b2a3b-b7e8-c3b6-8477-d43f23f4e071@debian.org> <c054ffad-6db0-7e76-29cf-6d9694ab988d@apache.org> <e07a1e1e-1457-02da-2b3a-c4cccad429f7@debian.org> <b9938fb5-7d5e-e14d-338b-8157ac10f094@apache.org>
Xref csiph.com linux.debian.maint.java:9824

Show key headers only | 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