How to convert Ant project to Maven project
ant, maven-2, wicket
Solution
The nice part of using maven is that most standard stuff works automatically once you do things the maven way. For a simple webapp:
- Create a pom with groupId, artifactId and version (packaging: war)
- Add the required dependencies to the pom
- move the
- java sources to src/main/java,
- resources to src/main/resources,
- webapp content to src/main/webapp,
- test content to src/test/java and src/test/resources
- set the compiler compliance version using the maven compiler plugin
That should get you up 'n' running.
Problem
How to convert a Ant project to Maven project? A sample project that would link (a Wicket project) Thanks