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..." ;)

--
_____________________________________________
Lukasz Piestrzeniewicz
System Engineer
Ericpol Telecom sp. z o.o.
Sienkiewicza 85/87, 90-057 Lodz, Poland
e-mail: [EMAIL PROTECTED]
mobile: +48 504488735
tel: +48 42 6353619
fax: +48 42 6315555
http://www.ericpol.pl/
_____________________________________________


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to