Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho 2.4, Maven Surefire and Jacoco

can it be this is the same i observed in
and my inital diagnosis was wrong?

Am 27.07.21 um 15:19 schrieb Keppler Michael (ETAS/ESW-CI) via tycho-user:

Hi folks,


Upgrading to Tycho 2.4 caused some confusion for us, therefore I want to document that behavior for others:

·       Switching to 2.4 without any further changes can lead to running (and failing) maven-surefire on all bundles (both packaging eclipse-plugin and eclipse-test-plugin), if you use a common parent POM for both. You may need to bind maven-surefire with phase none for your none-test bundles to get rid of that, or split the parent POM. This feature is documented in release notes, but I wasn’t aware it would become active by default for everything.

·       If you have a bundle with packaging eclipse-plugin (not test!) mixed into your test bundles and use Jacoco for coverage, you may suddenly see maven errors about unresolved “tycho.argLine” property. Previously such bundles were ignored by Tycho when running tests. Now they are included (due to above changes), and they _don’t_ use the “tycho.argLine” property like the test bundles, but rather the “argLine” property only (as documented in jacoco-maven-plugin). So if you have only defined “tycho.argLine” in your common parent and have such a bundle between your tests, you may need to explicitly disable surefire there, too.


Mit freundlichen Grüßen / Best regards

Michael Keppler

Engineering Application Software - Chapter CI/CD and Common Infrastructure Components

T +49 711 3423-2429

Borsigstraße 24, 70469 Stuttgart, Germany

ETAS – Driving Embedded Excellence

Managing Directors: Christoph Hartung, Günter Gromeier, Götz Nigge
Chairman of the Supervisory Board: Dr. Walter Schirm
Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB 19033

tycho-user mailing list
To unsubscribe from this list, visit


Vorstand/Board: Jens Wagener (Vors./chairman), Dr. Stephan Eberle, Abdelghani El-Kacimi, Wolfgang Neuhaus, Franz-Josef Schuermann
Aufsichtsrat/Supervisory Board: Michael Neuhaus (Vors./chairman), Harald Goertz, Eric Swehla
Sitz der Gesellschaft/Registered Office: Am Brambusch 15-24, 44536 Lünen (Germany)
Registergericht/Registry Court: Amtsgericht Dortmund | HRB 20621

Back to the top