Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Specify only parent in "pomless" build

Hi Andreas,

this is my structure
example-aggregator
|-- example-parent
|-- example-feature
|-- example-plugin

example-aggregator defines example-parent, example-feature and example-plugin as its modules.
example-feature, example-plugin AND example-aggregator specify example-parent as its parent.

All the projects have the same groupId and same version.

If it's supported that pomless example-feature and example-plugin can fetch the groupId from the parent folder (in this case example-aggregator) although the Maven module in the parent folder is not the Maven parent, everything is fine for me.

Kind regards
Oliver

----- Urspr√ľngliche Mail -----
Von: "Andreas Sewe" <andreas.sewe@xxxxxxxxxxxxxx>
An: "tycho-user" <tycho-user@xxxxxxxxxxx>
Gesendet: Freitag, 15. Januar 2016 09:20:07
Betreff: Re: [tycho-user] Specify only parent in "pomless" build

Hi,

> is it possible to specify only the Maven parent in a pom.xml file for a "pomless" plugin/feature build? I split the aggregator and the parent, so the parent is not located in the parent folder.

not 100% sure I understand your setup from this one sentence, but I
assume that your non-parent aggregator is in the
eclipse-project/eclipse-feature's parent folder, right? If so, why not
make your aggregator inherit from the parent, which then can live wherever.

An alternative structure would have the
eclipse-project/eclipse-feature's parent in the parent folder (where
Tycho expects them) but the aggregator projects somewhere else, using
relative paths in the <module> element.

Personally, I like the first option better, but AFAIK either should work.

Hope that helps.

Andreas

-- 
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
_______________________________________________
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


Back to the top