Is there a tutorial somewhere which shows how to use spring framework with maven instead of ant? This one seems very good but it’s all built with ant.
EDIT
I really don’t know which answer to accept both are valid. I’ll wait for some time let the community decide
Basically, the
build.xmlof the tutorial has 3 main targets :Regarding the first point, you will just need to create a
warproject on Maven. As you told in your comment, you are already using Maven in anothers projects, so I don’t think it will cause you lots of troubles. You will just need to add the Spring dependency:The second part concerns the deployment on Tomcat. Just use the cargo plugin for that.
For the last point, you will just need to add the HSQLDB dependency in your
pom.xml:Then, you will have to instanciate the database in one of your JUnit test case…