> From: "Henry S. Isidro" <[EMAIL PROTECTED]> > To: "Maven Users List" <[email protected]> > Subject: Re: mvn2: war packaging > Date: Wed, 30 Aug 2006 07:43:56 +0800 > > If you're trying to include a jar in the lib folder > of a war package, just > declare the jar file as a dependency in the war's > pom file. This will make > maven automatically put it in the lib folder during > packaging. > > - Henry
The problem is I am creating the jar file during the war compilation. As I know, I can specify dependency only for another pom jar package. However I am running an ant task to generate code from xsd files and compiling it. I was hoping I don't have to move it out to a separate project; I can keep it in this project and just copy it. Unfortunately copy works _after_ the war is created and I don't know how to specify the order (first copy then war). I also tried to add it as web resource with a targetPath option. Unfortunately that doesn't work either. Any ideas? thanks, Attila __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
