Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Adding modules through profiles

Hi,

A common practice in maven is to define some 'extraneous' modules in a profile in order to easily build part of a large product.

I was trying to use this with tycho in order to speed up our build so I:
* moved some modules to a profile activated by default.
* run the build with the profile deactivated with the -P !myProfile argument

But it seems that tycho is totally ignoring this and uses all modules as if all profiles were activated.
I double checked the profile status with 'mvn help:active-profiles -P \!myProfile' and myProfile is really deactivated but tycho ignores it.

Is it a know issue? Is it somehow related to "BugĀ 353889 - Defer target&dependency resolution to the normal build"?

How do you solve such usecase?

Back to the top