Why would a user care if they ran a supa uber jar vs. unpacking and stuffing around with script files etc.
Lukasz Piestrzeniewicz wrote:
Hello!
I wonder if anyone has expirience with embedding Tomcat using Maven and would like to share his knowleadge?
We use Maven in our new project (which is a web application). We would like to build version of application with embedded Tomcat. The final archive should contain the application war file, the Catalina core (we plan to use Tomcat 4.1.27) and all dependices needed by the Catalina. And of course a tiny bit of Java putting it all together.
What should be the preferred tactics? To place all jars needed by the Catalina (with Catalina itself) in the Maven repository and use them as dependices? Or rather use $CATALINA_HOME and maven.xml to copy needed files by hand (needs unpacked and ready-to-run Tomcat on each developer's machine)?
BTW. Is there any plugin to build end user distribution containing all dependices, startup scripts etc. (like to the form Maven itself is distributed)?
Uberjar is usefull but as you realize its not necesessery what I would like to give to end user:
"...and then, you know, you run this supa-uberjar with java -jar xxx-uber.jar..." ;)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
