Speeding up maven 3

On the maven mailing list a tip appeared to speedup maven 3.
Apparently maven spends a lot of time figuring out the dependency tree. Since maven3 this is done using a separate library, aether. For complex projects and projects which use version ranges it seems the dependency resolution can be faster by switching to a more recent release of aether. Just replace the aether libraries in /lib by the latest copies (1.13 is what I used) from maven central (http://repo1.maven.org/maven2/org/sonatype/aether/).

474 Comments

  1. redlab says:

    Huhm..

    Before replacing Total time: 12:30.003s
    After replacing Total time: 13:41.993s (ran it twice)

    But I must say, it’s tested on a laptop, perhaps it was doing other stuff in the background too and the laptop does not have SSD

Leave a Reply

Your email address will not be published. Required fields are marked *

question razz sad evil exclaim smile redface biggrin surprised eek confused cool lol mad twisted rolleyes wink idea arrow neutral cry mrgreen

*