Re: maven 3.0.3 - performance with version ranges

2011-09-30 Thread Tamás Cservenák
Take a peek at this thread (especially 1st mail):
http://maven.40175.n5.nabble.com/Apache-Maven-distribution-with-fixes-td4639045.html

Thanks,
~t~

On Fri, Sep 30, 2011 at 12:22 PM, Paul French paul.fre...@kirona.com wrote:
 maven 3.0.3 has terrible performance and memory usage when using version
 ranges. This has a knock on effect using m2e

 It takes maven ages to update the maven dependencies.

 I have a main project with a some version ranged dependencies which in turn
 have versioned ranged dependencies. Outside of eclipse it takes many minutes
 and considerable memory to get a successful build. Most time is spent
 resolving the dependencies.

 I have also run maven offline when I know I have all dependencies in my
 local repo and it is still very, very slow.

 In m2e (and workspace resolution on), you can check out a dependency that is
 very simple and this triggers a re-build of the main project. The same
 happens when you delete the dependent project or make pom version changes to
 it. So in eclipse this becomes really tedious especially if you have 4 or 5
 related projects checked out. You end up sitting and waiting for your
 workspace to be re-built all the time.

 I understand what maven is doing but I do believe it could be done a lot
 better when resolving version ranges.

 I also know maven 3.0.3 uses aether 1.11 to so its dependency management.

 I'm really keen to try and find a solution. aether 1.12 has been released.
 Is there anyway I can hook this into maven 3.0.3

 Does aether 1.12 solve

 Is there a pre-release of maven 3.0.4 out there yet that I can try and does
 it use aether 1.12 ?

 Thanks
 Paul


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: maven 3.0.3 - performance with version ranges

2011-09-30 Thread Thiebaud, Christophe
FYI, You can tell maven 3.0.3 to work with aether 1.13 (I think this is the 
latest release) just by dropping aether jars in $MAVEN_HOME/lib/ext. They 
should take precedence over the aether 1.11 bundled with maven in 
$MAVEN_HOME/lib.
I did that with aether 1.12 and there was no issue, at least for my projects.
Christophe


-Original Message-
From: Paul French [mailto:paul.fre...@kirona.com] 
Sent: Freitag, 30. September 2011 12:22
To: Maven Users List; Maven Integration for Eclipse users mailing list
Subject: maven 3.0.3 - performance with version ranges

maven 3.0.3 has terrible performance and memory usage when using version 
ranges. This has a knock on effect using m2e

It takes maven ages to update the maven dependencies.

I have a main project with a some version ranged dependencies which in 
turn have versioned ranged dependencies. Outside of eclipse it takes 
many minutes and considerable memory to get a successful build. Most 
time is spent resolving the dependencies.

I have also run maven offline when I know I have all dependencies in my 
local repo and it is still very, very slow.

In m2e (and workspace resolution on), you can check out a dependency 
that is very simple and this triggers a re-build of the main project. 
The same happens when you delete the dependent project or make pom 
version changes to it. So in eclipse this becomes really tedious 
especially if you have 4 or 5 related projects checked out. You end up 
sitting and waiting for your workspace to be re-built all the time.

I understand what maven is doing but I do believe it could be done a lot 
better when resolving version ranges.

I also know maven 3.0.3 uses aether 1.11 to so its dependency management.

I'm really keen to try and find a solution. aether 1.12 has been 
released. Is there anyway I can hook this into maven 3.0.3

Does aether 1.12 solve

Is there a pre-release of maven 3.0.4 out there yet that I can try and 
does it use aether 1.12 ?

Thanks
Paul


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven 3.0.3 - performance with version ranges

2011-09-30 Thread Tommy Chheng
+1 for using aether 1.12, this reduced 2:00 compile time to ~45 seconds.


2011/9/30 Tamás Cservenák ta...@cservenak.net

 Take a peek at this thread (especially 1st mail):

 http://maven.40175.n5.nabble.com/Apache-Maven-distribution-with-fixes-td4639045.html

 Thanks,
 ~t~

 On Fri, Sep 30, 2011 at 12:22 PM, Paul French paul.fre...@kirona.com
 wrote:
  maven 3.0.3 has terrible performance and memory usage when using version
  ranges. This has a knock on effect using m2e
 
  It takes maven ages to update the maven dependencies.
 
  I have a main project with a some version ranged dependencies which in
 turn
  have versioned ranged dependencies. Outside of eclipse it takes many
 minutes
  and considerable memory to get a successful build. Most time is spent
  resolving the dependencies.
 
  I have also run maven offline when I know I have all dependencies in my
  local repo and it is still very, very slow.
 
  In m2e (and workspace resolution on), you can check out a dependency that
 is
  very simple and this triggers a re-build of the main project. The same
  happens when you delete the dependent project or make pom version changes
 to
  it. So in eclipse this becomes really tedious especially if you have 4 or
 5
  related projects checked out. You end up sitting and waiting for your
  workspace to be re-built all the time.
 
  I understand what maven is doing but I do believe it could be done a lot
  better when resolving version ranges.
 
  I also know maven 3.0.3 uses aether 1.11 to so its dependency management.
 
  I'm really keen to try and find a solution. aether 1.12 has been
 released.
  Is there anyway I can hook this into maven 3.0.3
 
  Does aether 1.12 solve
 
  Is there a pre-release of maven 3.0.4 out there yet that I can try and
 does
  it use aether 1.12 ?
 
  Thanks
  Paul
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
@tommychheng
http://tommy.chheng.com