Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Running TPD to Target before actual build


I ran in the same issue. My workaround was

cd module-where-the-target-definition-is
mvn clean install
cd ..
mvn clean install

Firstly, I generate the TPD and install it in my local M2 Repository,
then I build the whole project and Maven Tycho use the previously
generated TPD.

Best regards,


Am 20.03.2018 um 08:14 schrieb Pierre-Charles David:
> On 19/03/2018 18:28, Eugen Neufeld wrote:
>> Hi,
>> I would like to use a tpd file
>> ( for my
>> target definition.
>> The Readme of the TPD Project also describes a way of generating the
>> target file using maven.
>> I would like to use this, but fail as tycho is trying to resolve the
>> target before my transformation kicks in.
>> I know I could run two dedicated mvn commands, but I would like to
>> still be able to call "mvn clean install" once.
>> Do you have a suggestion for a possible solution?
> I'm no expert on the internals of Maven or Tycho, but from what I read
> at,
> Mickael (author of the TPD DSL) seems to think that this is not
> possible: "Tycho uses maven extension mechanism to hook up very early in
> the maven dependencies resolution mechanism, so
> there are little chances you can use a generated .target from the same
> maven run."
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit

Attachment: signature.asc
Description: OpenPGP digital signature

Back to the top