Hi all, I am in the process of converting a rather complex project from Maven 1 to Maven 2, and despite my best attempts at googling for these answers, I have only been able to go so far. I've also been looking at some projects, like Jetspeed 2, that seems to be doing some rather advanced stuff with Maven 2.
Anyway, in our existing Maven 1 project, we use Jelly scripts to perform deployment of "common" resources to our Tomcat server. The problem is that Tomcat has been moving around things in the latest versions, and deployment of common resources is different between Tomcat 5.5 and 6. In Tomcat 5.5 we would copy the required dependencies manually to tomcat/shared/lib, but I didn't really think this was the cleanest way of doing this. As I am re-organizing our project structure for Maven 2, I was building a "common" sub-project with all the dependencies, which is cleaner than what we use to do, but I know have no idea how best to deploy these, especially based on the different locations for different Tomcat versions. Should I use the tomcat-maven-plugin ? Should I use Cargo ? Which one of the two has the biggest community ? If I should build my own Mojo, is there a recommended way to build deployment plugins, using maybe profiles to make it as server independent as possible ? Lots of questions as you can see :) I really hope someone out there can help, because I can't believe I'm the only one having this issue :) cheers, Serge...
