Tag Archives: maven ant how-to conversion

How to convert from Ant to Maven in 5 minutes

April 1, 2009 By
Brian Fox

Ok, it will take you longer than 5 minutes, but it is possible to work the migration in parallel so that most of your team sees the conversion happen very quickly when the time is right.

Once upon a time, I was tasked with converting an existing, monolithic Ant / CVS based build to Maven 2 and Svn. This was back in the 2.0-beta-1 days (2005) so many of the tools have changed to make life easier, but I think the general process I used is still applicable to users migrating today. I’ll try to focus on the generic approach and leave specific details to the best practices documented elsewhere on this blog or in the Maven book.

Migrating from Ant to Maven requires a few basic steps:

Continue reading...