Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Maven Integration (M2E) » [tycho] best way of using multiple maven versions in parallel
[tycho] best way of using multiple maven versions in parallel [message #25360] Thu, 07 May 2009 10:07 Go to next message
Joerg Buchberger is currently offline Joerg Buchberger
Messages: 25
Registered: July 2009
Junior Member
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 #25399 is a reply to message #25360] Thu, 07 May 2009 10:10 Go to previous messageGo to next message
Joerg Buchberger is currently offline Joerg Buchberger
Messages: 25
Registered: July 2009
Junior Member
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.
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 Go to previous message
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.
>
>
>
Previous Topic:[tycho] cannot run demo on 0.3.0-DEV-1819
Next Topic:Using tycho to build target platform
Goto Forum:
  


Current Time: Sun Apr 20 02:52:42 EDT 2014

Powered by FUDForum. Page generated in 0.10186 seconds