oh, in addition, I would recommend running jar:install on each of the
other projects (you can do this more easily using the multiproject
plugin - http://maven.apache.org/using/multiproject.html) - running
jar:install will "install" the new generated jar of that project into
the repository, from which the war plugin will download and place in
your war file.
Arik Kfir wrote:
I assume you have one project containing the web application (prolly
src/webapp), and the other three generate the class files, which
result in JAR files that should be placed in the WEB-INF/lib, correct?
If so, simply have the webapp project use the other three as
dependencies, and in each dependency state that you want its output to
be included in the war, like this:
<dependency>
<groupId>the_other_proj_grp_id</groupId>
<artifactId>the_other_proj_id</artifactId>
<version>...</version>
<properties>
*<war.bundle>true</war.bundle>*
</properties>
</dependency>
[EMAIL PROTECTED] wrote:
Hi,
We have 4 multiprojects which we build using Maven.
However, now we want to create a War file from the output of all 4.
How can I get Maven to do this?
cheers,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]