8. Migrating to Maven
This chapter explains how to migrate (convert) an existing build in Ant, to a build in Maven:
- Splitting existing sources and resources into modular Maven projects
- Taking advantage of Maven’s inheritance and multi-project capabilities
- Compiling, testing and building jars with Maven, using both Java 1.4 and Java 5
- Using Ant tasks from within Maven
- Using Maven with your current directory structure
This is your last chance. After this, there is no turning back. You take the blue pill – the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill – you stay in Wonderland and I show you how deep the rabbit-hole goes. ~ Morpheus. The Matrix
« Summary