Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I upgrade to Maven 3? [closed]

Tags:

maven

maven-3

Are there any compelling reasons for me to upgrade to Maven 3 immediately? Nothing stands out from the release notes.

Have you upgraded to Maven 3 yet? If so, what benefits did you see?

like image 616
dogbane Avatar asked Oct 21 '10 08:10

dogbane


2 Answers

Speed man, speed :) New Maven runs MUCH faster then Maven2.

Just try it:

alias mvn3='M2_HOME=/opt/apache-maven-3.0 /opt/apache-maven-3.0/bin/mvn'

And execute mvn3 clean install in your plain old Maven2 project to feel the difference.

like image 155
Henryk Konsek Avatar answered Sep 28 '22 04:09

Henryk Konsek


I have upgraded to maven 3. Everything is backward compatible. I have noticed better performance and clear logging. There aren't any compelling reasons yet. However, maven3 has new build phases that should be able to support better plugins with more control. Why not upgrade if everything will still work?

like image 41
Amir Raminfar Avatar answered Sep 28 '22 04:09

Amir Raminfar