After moving the Tomcat Maven Plugin from Codehaus to Apache in the Tomcat land (see previous post), I have found some time to start hacking on it.
The first feature I wanted to add was support of Apache Tomcat 7.x. So it's now implemented in trunk.
You can test it see how to configure that in your poms: http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html.
NOTE the important changes with the move to Apache and the support of Apache Tomcat 7.x:
- You know have two "mojos": tomcat6:* and tomcat7:$
- The groupId is now: org.apache.tomcat.maven
- All goals are not supported: I will work on that :-)
So you can know use tomcat7 in embedded way within your Apache Maven build with: tomcat7:run.
Feel free to report any issues: https://issues.apache.org/jira/browse/MTOMCAT
Apache Maven, Maven, Apache Tomcat, Tomcat, Apache are trademarks of The Apache Software Foundation.