Reputation:
What are the minimum steps I should follow to replace Ant with Maven?
Upvotes: 14
Views: 8508
Reputation: 81667
You can have a look to ant2maven script, that builds pom.xml from Ant scripts. I've never tried it, but it can be used to have a good pom.xml to start with...
Upvotes: 0
Reputation: 681
You should now be able to build a simple project, run the tests and package it.
Upvotes: 13
Reputation: 17597
Anecdote: Once you are in Maven, the reverse trip (though why would you ever go back!) is so simple:
mvn ant:ant
generates functionally equivalent ant scripts. Now if only an Ant->Maven generator existed.
Upvotes: 8