You can use the dependency plugin to download and unpack the tomcat
distribution and the assembly plugin to combine it.
Here is a practical example, which bundles Jetty as the servlet container,
and uses the Java Service Wrapper for starting it as a service:
http://svn.apache.org/viewvc/archiva/trunk/archiva-jetty/pom.xml?revision=685059&view=markup

Cheers,
Brett

2008/9/8 Karl Heinz Marbaise <[EMAIL PROTECTED]>

> Hi there,
>
> i have a project which has the following structure:
>
> parent
>  +--- Module A
>  +--- Module B (war-project which depends on C and D)
>  +--- Module C
>  +--- Module D
>
> I would like to create a zip/tar.gz file which comprises of the WAR file
> (created during package cycle) and in this particular case
> an tomcat-zip-file...plus some scripts....
>
> My main problem with this is, how to get the tomcat-zip file, without
> manually downloading and putting it into my project structure...
> I have done an integration-test with cargo-plugin which is able to
> automatically download the tomcat-zip unpack and start it...
>
>
> But i would like to create a delivery package which comprises of the war
> file, tomcat, and some supplemental script files....
>
> Does someone have an idea or some hints how to solve this ?
>
> Kind regards
> Karl Heinz Marbaise
> --
> SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
> Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
> Hauptstrasse 177                         USt.IdNr: DE191347579
> 52146 Würselen                           http://www.soebes.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Reply via email to