I used two projects: 

<1.> a base project with packaging=jar
<2.> a web project with packaging=war depending on <1.> 

If anybody finds a better solution please tell me. 

Regards,
Sebastian 

> -----Original Message-----
> From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 31, 2007 11:22 AM
> To: users@maven.apache.org
> Subject: QAR question - generate JAR from classes and include intoWEB-
> INF/lib
> 
> Hello!
> 
> Could somebody please explain how is it possible to create WAR file
> from WEB application, but instead of having Java sources compiled and
> placed into WEB-INF/classes - package those classes as a JAR file and
> place it into WEB-INF/lib/?
> 
> Also I need to include some external resources (properties, XML
> configuration files etc) into WEB-INF/classes, how would I do that?
> 
> Thank you in advance!
> --
> Eugene N Dzhurinsky

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to