Vote for http://jira.codehaus.org/browse/MPWAR-30
Cheers, Martin > -----Original Message----- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Montag, 21. August 2006 22:42 > To: Maven Users List > Subject: Re: mvn 2: create jar in war > > On 8/21/06, Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote: > > > How can I create a jar from the classes compiled into > > the war? (for tomcat) > > > > Currently if I run the war package it leaves my > > sources in the web-inf/classes dir as compiled > > classes. I would like to put them in a jar and have it > > included in the web-inf/lib dir. Is that possible? > > I would put those classes in a separate module that builds a jar, and > have the webapp depend on that jar. > > This also frees up the src/test/ directory hierarchy for tests that > exercise the webapp itself, such as HttpUnit or HtmlUnit-based tests. > Maven isn't currently very easy to configure for both unit and > integration/functional tests in the same module. > > -- > Wendy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
