Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [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.

Regards
Jan

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.

Regards
Jeff

On Fri, Apr 10, 2015 at 6:19 PM, Aurélien Pupier <aurelien.pupier@xxxxxxxxxxxxxx> wrote:
Hi,

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

-- 
Aurelien Pupier 
R&D Engineer, BonitaBPM Studio Development Leader
aurelien.pupier@xxxxxxxxxxxxxx
apupier
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
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user




-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top