Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] is there something changed in the target-platform mojo?
  • From: "Keppler Michael (ETAS/ESW-CI)" <Michael.Keppler@xxxxxxxx>
  • Date: Mon, 2 Aug 2021 08:36:10 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.201) smtp.rcpttodomain=eclipse.org smtp.mailfrom=etas.com; dmarc=pass (p=reject sp=none pct=100) action=none header.from=etas.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=82UwnjvjlKD8ZAWukFpikcizx2Zlr26SkqQe4EKA5X0=; b=m+WwSap62cYawt/3mrr0jyGRJcCQ5HBLCSIxJ6H3hEs08QNjVbfh2J0WgIPCYFU9FAkS6Zv89+0pm21kr1Nn3p0CfXGYdn4GfHkpiIROV/KYLKJTHbZDlKNDa8Uszx5bivydvUgT9nAIjqM/e13XR9oykIgRK4JllfkhnIgHIQP/sQYBGf9X/JBl3W0g01bnLTKUXe03OfWRrx2v9/r/himqibr+tq/YoHJl7ROL/PUDMJhd+8ARS/6od+l1GKAHBYBpl1cyIyoo1ODEkMxFTG+LrSCjQDJmPfirT6KsrOXfgv0+SJ7oyATxQAeIwHNfXjV6htj8UakN/KJ72QNEIw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H5XMnw03T6wfLznHqPu5N1ZfHplS5MSB49uVPMCRl/VqcxJp0UMK8hk7A0Zs4CzFyeuEpOsEqba+EoQhLkc01lsFb3IDvgl4hEFo+GMT2BYB8SLEpA51s8vcpKMYK8HMDLYyyhvLbxKP7B8oXvHUXW39v3m0KgyLgbpT+XsGC8K1G1g553c9Nv8zjxNbHkCujMK1kJaiW5EfgQ4SMjAHvWgThCZN3jqspXKtM99tYtAQCCqvKl0YX4hXadq2rBbYn40EA/2gaaD02tnPvuoDhIp9daiWAaKKtBupu7buFHVfpPto9yz0L2OvU7v5i4enYfkXXGmqQ9QkKxCwccCuYg==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tycho-user/>
  • List-help: <mailto:tycho-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXhUfTEmhL08mi8E+rphX7WvN6KKtbaKGAgAAHEACAAAGPAIAEdKZQ
  • Thread-topic: [tycho-user] is there something changed in the target-platform mojo?

You build the target module in multiple profiles, and you depend on that artifact in the target-platform-configuration AFAICS. I have seen reports of about unreliable goal order when the same execution is configured in multiple profiles (but I’m not sure that fits your situation exactly).

 

Since Tycho 2.3 you can reference a target just by the .target file. You could therefore completely remove its POM, profile and dependency. Might or might not fix your goal order.

 

 

Mit freundlichen Grüßen / Best regards

Michael Keppler

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

T +49 711 3423-2429
Michael.Keppler@xxxxxxxx

ETAS GmbH, ETAS/ESW-CI
Borsigstraße 24, 70469 Stuttgart, Germany
www.etas.com


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

Von: tycho-user <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Johan Compagner
Gesendet: Freitag, 30. Juli 2021 16:25
An: Tycho user list <tycho-user@xxxxxxxxxxx>
Betreff: Re: [tycho-user] is there something changed in the target-platform mojo?

 

ok all the stuff that is before the target platform is in the child pom:

 

 

so thats in the pom of the product plugin

 

but that inherited the parent pom where i have the target definition 

 

 

is that somehow now wrong?

 

 

On Fri, 30 Jul 2021 at 16:19, Johan Compagner <jcompagner@xxxxxxxxxx> wrote:

the order seems to be changed...

 

if i look at the goals list i see in 23 that org.eclipse.tycho:target-platform-configuration:2.3.0:target-platform (default-target-platform) is after the clean and before org.eclipse.tycho:tycho-p2-publisher-plugin:2.3.0:publish-osgi-ee (default-publish-osgi-ee)

 

but in 24 i see org.eclipse.tycho:target-platform-configuration:2.4.0:target-platform (default-target-platform)

after org.eclipse.tycho:tycho-p2-publisher-plugin:2.4.0:attach-artifacts (default-attach-artifacts)

 

so instead of it is the 3rd goal in 23

it suddenly the 7th goal in 24 

 

 

On Fri, 30 Jul 2021 at 15:54, Christoph Läubrich <laeubi@xxxxxxxxxxxxxx> wrote:

Can you run the build with -X option to see if there are any additional
error information?

Am 30.07.21 um 15:35 schrieb Johan Compagner:
> hi,
>
> below is what i get compared 2.3 against 2.4
>
> i can't really find anything in the release notes for this. Should i do
> something now my self with the  target-platform-configuration ?
>
> tycho 2.3:
>
>
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
> com.servoy.eclipse.product ---
> [INFO]
> [INFO] --- tycho-packaging-plugin:2.3.0:build-qualifier-aggregator
> (default-build-qualifier-aggregator) @ com.servoy.eclipse.product ---
> [INFO] The project's OSGi version is 2021.9.0.3700_rc
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @
> com.servoy.eclipse.product ---
> [INFO]
> [INFO] --- target-platform-configuration:2.3.0:target-platform
> (default-target-platform) @ com.servoy.eclipse.product ---
> [INFO]
> [INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-osgi-ee
> (default-publish-osgi-ee) @ com.servoy.eclipse.product ---
> [INFO] Published profile IUs: [config.a.jre.javase 11.0.0, a.jre.javase
> 11.0.0]
> [WARNING] No system packages found in profile nor toolchain for
> JavaSE-15, using current JRE system packages.
> This can cause faulty dependency resolution, consider adding a
> definition for a 'jdk' with id=JavaSE-15 in your toolchains.xml
> [INFO] Published profile IUs: [config.a.jre.javase 15.0.0, a.jre.javase
> 15.0.0]
> [WARNING] No system packages found in profile nor toolchain for
> JavaSE-16, using current JRE system packages.
> This can cause faulty dependency resolution, consider adding a
> definition for a 'jdk' with id=JavaSE-16 in your toolchains.xml
> [INFO] Published profile IUs: [config.a.jre.javase 16.0.0, a.jre.javase
> 16.0.0]
> [INFO]
> [INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-products
> (default-publish-products) @ com.servoy.eclipse.product ---
>
>
>
> tycho 2.4:
>
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
> com.servoy.eclipse.product ---
> [INFO]
> [INFO] --- tycho-packaging-plugin:2.4.0:build-qualifier-aggregator
> (default-build-qualifier-aggregator) @ com.servoy.eclipse.product ---
> [INFO] The project's OSGi version is 2021.9.0.3700_rc
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @
> com.servoy.eclipse.product ---
> [INFO]
> [INFO] --- tycho-p2-publisher-plugin:2.4.0:publish-osgi-ee
> (default-publish-osgi-ee) @ com.servoy.eclipse.product ---
>
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-p2-publisher-plugin:2.4.0:publish-osgi-ee
> (default-publish-osgi-ee) on project com.servoy.eclipse.product:
> Publisher failed. Verify your target-platform-configuration and
> executionEnvironment are suitable for proper resolution: Target platform
> is missing -> [Help 1]
>
> --
> Johan Compagner
> Servoy
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user
>
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user


 

--

Johan Compagner

Servoy


 

--

Johan Compagner

Servoy


Back to the top