Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Tycho 2.4, Maven Surefire and Jacoco
  • From: "Keppler Michael (ETAS/ESW-CI)" <Michael.Keppler@xxxxxxxx>
  • Date: Tue, 27 Jul 2021 13:19:38 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; 1; spf=pass (sender ip is; dmarc=pass (p=reject sp=none pct=100) action=none; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=78WJNmbuEsQa05n+j1c38cyfDG1LcUuUfyfZiT7O/aI=; b=gcgHD120ig/kxUfiKdh3tzstKeklgKibk7nctc4g57JEeJOgYkpo3kn+//tt/2cos8dnzZjbk+tfZMihe+GWINCqRQqJJtBoMLkx4WJ4HR7AqhbJ2pMC5SA0rDKvjBfV5l+3ZCJw+/0L9Q1npNC0wAipI3R3GWVxpVReArDP0hSAWNGQUwiLNBFcCgwNl3A+sH/iecOpnGA9XCq0qwPH5q4px19jJx0ywMSMMYHiUYbP3UdqYJkMMfvWCs28EkNj9sv3Y48HlHbo0Zx9Wkvx2By8qOXx66RKy0g2fnZHMrfzet5mFP/M/l1824j+l1EwXNPEtu3IiN7Rhx+rI5BGSg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=exexaFLXV1ia0msNILkTLBd8YBqNRps0i3p+n1EjjEy9zzxuhL06wjAxd9Wyd7TKuQ7PfAO19bEEDcd8OHkVhNjV7DFpZtLiLkYPbLCFo2vQpbXlzitkyLvTfrPGoa812+s+gSDWHs95K8RyIHKvJENT7U5XDXgnqTbl6drh4sJkZADYPT52X8998Fw4k1I0rjaXUOZ7KDPSNV/u2V0xc8em1ZPJTqebx6vJlQoAD+F+eC/cgJfZavjpaG9Ys3Azac/JBPyXIvVVZEPL5MpiRn9pKVW8Bd8A8vIal4QazHOzlxdlOhZG3lkpzdlDwg2LJJywKsJI7QKGL52U3ifblg==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Thread-index: AdeC59AuGtF2lp9OTauURrpeNiYMwg==
  • Thread-topic: Tycho 2.4, Maven Surefire and Jacoco

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

Back to the top