Typically, we recommend you split out the webapp-specific files into
another project that depends on the first. Then, you can set the
packaging of the first project to 'jar' and to 'war' for the second.
Now, your other group can simply depend on the jar artifact.
-john
On Aug 16, 2007, at 10:09 AM, David Williams wrote:
Hi Eveyone,
We currently create a war file for a certain artifact. Now another
group
has created an application that requires the first artifact to be a
jar not
a war. Is there any way to have maven create both a jar and a war
for a
single artifact?
Thanks,
David
---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john