Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Parallel construction difficulties

Use per-build local repository (a.k.a. maven cache), from command line
this can be enabled by -Dmaven.repo.local=<build-unique-path> and I
believe there is a way to enable this in Hudson.

--
Regards,
Igor

On 11/22/2013, 6:38, Tony HEDOUX wrote:
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
--

	

	*Tony HEDOUX*
/Software Engineer/

	Mail : toh@xxxxxxxxxxx
------------------------------------------------------------------------
6 rue LĂ©onard De Vinci - BP 0119 - 53001 LAVAL Cedex - FRANCE
www.all4tec.net <http://www.all4tec.net>



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top