Hi,
I encounter some difficulties to ensure Tycho use only local
construct children to resolve dependencies rather than the ones
already in maven cache.
My problem is the following :
Project A is an Eclipse RCP project, with a parent pom and x
children. There is two profiles on pom parent, one with obfuscation,
and second without it.
With Hudson, I run two builds in parallel : each one is a build of
project A, but with different Maven profile activated.
What I expect is no interference between the two builds.
Currently, what I obtain in each resulting product is a mix of jar
coming from each build. It can be explain by the fact that in maven
cache, there is no way
to make a difference between plugins coming from on job or an other
one.
One solution could be to add some qualifier/classifier according to
profile selected at jar generated. But I couldn't find a way to
achieve this with Tycho.
Another solution would be to not use maven cache for children
resolution, but I don't know if this is even possible.
Maybe the manifest resolution mechanism can not allow this kind of
solution.
Someone have an idea about this?
Thx for help,
Tony
|