[tycho] best way of using multiple maven versions in parallel [message #25360] |
Thu, 07 May 2009 10:07  |
Eclipse User |
|
|
|
Hi.
Is there a recommended way of using multiple versions of maven in parallel
on one machine? In my case the OS is Windows.
I managed to do this in the past for different 2.0.x versions.
In case you wonder why one would want to do such:
- for new projects, that are started from scratch, we'd like to leverage
or even experiment with features from newer maven versions
- whereas for projects that are about to be released or even in
maintenance mode, we do not want any changes to the underlying build
system that might possibly be in any way disruptive or surprising
- while this is rather easy to handle on the build-server-side... for my
fellow developers, who usually have one system for developing, this means
to be able to use different versions of maven in parallel (we're
targetting a win-win situation between build manager and developers here,
who both benefit if they can just keep on going as before for any given
project -> no hassles, no questions - hassles are fine during initial
setup phase though)
Thanks for the attention.
I'm interested in your approaches, ideas or questions on this.
Regards.
Joerg
|
|
|
|
Re: [tycho] best way of using multiple maven versions in parallel [message #25522 is a reply to message #25399] |
Thu, 07 May 2009 19:49  |
Eclipse User |
|
|
|
Originally posted by: igor.ifedorenko.com
You can install as many maven versions as you want/need but do not add
any of them to system-wide PATH and do not set M2_HOME system-wide
property. You will have to use full path to mvn command in this case,
but I do not find this as a major inconvenience.
--
Regards,
Igor
Joerg Buchberger wrote:
> Joerg Buchberger wrote:
>> In case you wonder why one would want to do such:
>> - for new projects, that are started from scratch, we'd like to
>> leverage or even experiment with features from newer maven versions
>
> I guess, I owe you an explanation, what this has to do with [tycho]...
>
> well, some of our newer projects are based on Eclipse RCP.
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04540 seconds