[Answered only on users@ list.  Please don't cross-post.]

On Tue, Jan 27, 2009 at 1:08 AM, Minhaj <[email protected]> wrote:

> i am working on maven;s multi module project i have three modules with three
> pom.xml files all of them generating war files successfully and i want to
> generate a jar file as well for one of the module.

It's better to create a separate jar module for the classes you want
to package in a jar, and add it as a dependency in your war module.

If that doesn't make sense for your project, then you can configure
the war plugin to create an 'attached' jar by configuring the war
plugin:

http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#attachClasses

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to