Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Shared target plaform for many independant module

Hi Henrik,


Thanks for the answer.


Your solution is the one that I usually use,

but in my use case I would like to use the maven-invoker plugin [1]

and share a target platform between the integration tests (many modules).


So my tests modules all have the same parent but their parent isn’t an aggregator.


Note, it works fine with this configuration in the parent:









but the repository is contacted for each module.

I kind of hope to avoid that with a targetplatform.







De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Henrik Steudel
Envoyé : jeudi 2 mars 2017 11:33
À : Tycho user list <tycho-user@xxxxxxxxxxx>
Objet : Re: [tycho-user] Shared target plaform for many independant module


not entirely sure if I understood correctly, but I gather you used a combined parent and aggregator approach where you defined

in your parent pom.

These module definitions can be refactored to an aggregator (packaging pom)
1) one aggregator which contains the multi-module Child A (+ parent P)
2) and another aggregator pom which contains Child B (+ parent P).

Target Platform configuration could still be defined in the parent pom, as you seem to be using the same parent P for both children. At least that's how I structured it: Target Platform in parent, modules in aggregator.

Consequently, you'll need to build the aggregator pom to build either multi-module project now.
Further details:

Maybe it helps

Am 02.03.2017 um 10:07 schrieb MAGGI Benoit:

Hi everyone,


I usually share my target platform using a multi-module configuration

but now I want to share it between independent module.



-        Parent P Module (Don’t have any child module)

o   Module Child A (have the parent P module as parent)

o   Module Child B (have the parent P module as parent)


ð  I want to use the same target platform when running maven clean install against Child A or Child B.

ð  How to achieve that ?


I tried to add a target platform as sub module of parent and also played a little with dependencies without success.


I suppose that one solution would be to release the platform before.

ð  Is there any module on Maven Central or Eclipse nexus that provide a minimal target platform?




tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit



Entimo AG
Stralauer Platz 33 - 34 | 10243 Berlin | Germany
Tel: +49.30.52 00 24 133 | Fax: +49.30.52 00 24 101
hst@xxxxxxxxxx |
Vorstand: Jürgen Spieler (Vors.), Marianne Neumann
Aufsichtratsvorsitzender: Erika Tannenbaum
Sitz der Gesellschaft: Berlin, Germany | Handelsregister: HRB Berlin-Charlottenburg 85073

Back to the top