[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] tycho.mode=maven and tycho-packaging-plugin
- From: "Sievers, Jan" <jan.sievers@xxxxxxx>
- Date: Mon, 13 Apr 2015 08:05:01 +0000
- Accept-language: en-US
- Delivered-to: firstname.lastname@example.org
- Thread-index: AQHQc60bHzbZhr8adE+1ho7cceUa6Z1Gj28AgAQJZjA=
- Thread-topic: [tycho-user] tycho.mode=maven and tycho-packaging-plugin
Jeff is right, tycho.mode=maven switches off any p2 dependency resolution.
This is only useful as a quick and dirty shortcut if you invoke maven goals directly on the CLI which do not require p2 dependency resolution.
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jeff MAURY
Sent: Freitag, 10. April 2015 22:23
To: Tycho user list
Subject: Re: [tycho-user] tycho.mode=maven and tycho-packaging-plugin
Can't find the documentation about tycho.mode but my guess is that tycho.mode=maven will transform the tycho resolution process to a NOP but if your Maven artifact is a tycho one then it's likely Tycho plugins will be invoked because they are defined in the corresponding packaging.
On Fri, Apr 10, 2015 at 6:19 PM, AurÃlien Pupier <aurelien.pupier@xxxxxxxxxxxxxx> wrote:
I'm trying to launch a maven build in Maven mode (mvn clean generate-resources -Dtycho.mode=maven)
Unfortunately, it is failing with the following error:
Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.21.0:build-qualifier (default-build-qualifier) on project org.bonitasoft.studio.repository.themes.bonitasoft: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:0.21.0:build-qualifier failed: Project has not been setup yet MavenProject: org.bonitasoft.studio.bundles.plugins:org.bonitasoft.studio.repository.themes.bonitasoft:7.0.0-SNAPSHOT @ C:\install\oomphBased\studio-150403-1714\git\bonita-studio\bundles\plugins\org.bonitasoft.studio.repository.themes.bonitasoft\pom.xml -> [Help 1]
Even if packaging of artefact is eclipse-plugin, I didn't expect having the tycho-packaging-plugin to be executed in Maven mode, am I wrong, is it a bug or did I miss some configuration?
Thanks for any help
R&D Engineer, BonitaBPM Studio Development Leader
32, rue Gustave Eiffel - 38000 Grenoble, France
Download Bonita BPMÂ|ÂAccess BPM Quick Start Center
ThisÂmessageÂand any attachment (the "message") is intended solely for the addressees and is confidential. If you receive thisÂmessageÂby mistake, please delete it and notify the sender immediately. Any use not in accordance with its purpose, any out-spread or disclosure, either as a whole or partially, is prohibited except with formal approval. Internet cannot guarantee the integrity of thisÂmessage, therefore Bonitasoft will not be liable for theÂmessageÂif modified.
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
"Legacy code" often differs from its suggested alternative by actually working and scaling.
Â- Bjarne Stroustrup