Do you want to do this as part of your integration tests? Or is it for the
actual deployment (to prod servers)? In the latter case Maven would not be
the typical tool as it is a build tool.
In the first case there are several plugins, one being the generic cargo
plugin (http://cargo.codehaus.org/Maven2+plugin). But there are also server
specific ones. In general, to deploy other artifacts than the one from the
project at hands, they should be avalaible (already built) in a repo (such
as your corporate repo).

/Anders

On Fri, Aug 14, 2009 at 11:26, Jan Wedel <[email protected]> wrote:

> Hi,
>
>
>
> I was just wondering how I can configure Maven to deploy a whole
> project, e.g. a web application that needs other war files to also be
> deployed on the server as well as probable configuration files.
>
>
>
> Is it possible to copy other projects jar/war files together with the
> projects war into a web container e.g.? Image I have several web
> applications that interact with each other but which are not contained
> in a single war file. I could use maven to deploy each file separately.
> But maybe there are 3rd party war files which I like to deploy together
> with my files. Can I somehow specify files that belong to the project
> that I like to be deployed?
>
>
>
> Thanks,
>
>
>
> Jan
>
>
>

Reply via email to