Ant vs. Maven: An Entertaining Look at the Arguments
There are many ways to organise build systems for Java projects. The two
most predominant are probably still Ant and Maven. Debates between the
two tend to go around in circles with the balance now swinging towards
maven - since IDE support has got better (particularly Eclipse). My own
view is if you do not have a good architecture which is modular in
nature and which separates concerns that should be separated you'll run
into trouble no matter what you use. The emphasis should always be on
good architecture first and foremost.
That said, I made this short video which illustrates some of the arguments you hear from Maven-ites and Ant-ists. It is a debate between Maeve and Anthony. Maeve is arguing for Maven; Anthony is arguing for Ant. Obviously, it's impossible to cover every single argument but the video includes some of the principle ones. Get some popcorn and enjoy.
Source: http://dublintech.blogspot.com/2011/12/ant-versus-maven.html
Published at DZone with permission of Alex Staveley, author and DZone MVB.That said, I made this short video which illustrates some of the arguments you hear from Maven-ites and Ant-ists. It is a debate between Maeve and Anthony. Maeve is arguing for Maven; Anthony is arguing for Ant. Obviously, it's impossible to cover every single argument but the video includes some of the principle ones. Get some popcorn and enjoy.
Source: http://dublintech.blogspot.com/2011/12/ant-versus-maven.html
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)






Comments
Yaozong Zhu replied on Thu, 2011/12/08 - 10:05am
The video is very funny. "control freak":)
Once people master some technologies, and those technogoigies serve well. Most people are not willing to try something new. That's the phenomenon happening in IT world everyday. It may take a long time for a better software getting popular, or even never getting there.
Personally, I prefer Maven to Ant.
Sandeep Bhandari replied on Thu, 2011/12/08 - 10:27am
I would say be open to both. Some projects have ANT scripts so I have to maintan them and others have used Maven and hence I need to Maven. But since even older version Eclipse had support for ANT. I end up using ANT so that other colleagues who are not familiar with Maven can make builds without wasting too much of time in learning Maven. Also, now a days ANT scripts are run with Hudson which makes it easier to generate builds automatically.Build Path with Eclipse
Zdenek Obst replied on Thu, 2011/12/08 - 1:42pm
Fabrizio Giudici replied on Thu, 2011/12/08 - 2:55pm
That is, Eclipse, that offered the worse support to Maven, has been considerably improved. True. But NetBeans and IDEA have got excellent Maven support since a long time, so a good push to Maven has been provided by all the major IDEs.
Dan Howard replied on Thu, 2011/12/08 - 6:55pm
Steven Baker replied on Thu, 2011/12/08 - 7:52pm
in response to:
Zdenek Obst
What kind of plugin would you write? I have very rarely come across a requirement that an existing plugin doesnt handle already.
Fast Zhong replied on Fri, 2011/12/09 - 12:01am
Erwin Mueller replied on Fri, 2011/12/09 - 2:49am
I love Maven. You just tell Maven what to do and not how to do it. I wish more applications are like that. Also I like the central maven repository and the convention vs. configuration.
The central maven repository is like the repositories in Linux. It's making my life so much easier, no more pulling libraries together and configure everything manually. I missed Maven so much as I did Asp.net.
Also the packaging and deploying is so easy with maven. I like how I can compile, test, package in an installer and deploy the project all in one command and that only with the addition of a few lines of plugins.
Joseph Hirn replied on Tue, 2011/12/13 - 8:30pm
I'm not going to itemize, but Anthony is wrong about several of his assumptions.
Maeve did a poor job calling him on his BS, which is what most anti-Maven views are to begin with.
John David replied on Wed, 2012/01/25 - 7:03pm
Where Maven...
new java
Kookee Gacho replied on Fri, 2012/06/15 - 12:09pm
Kookee Gacho replied on Fri, 2012/06/15 - 12:15pm