My suggestion is to create two maven projects. One is for the jar, the other is for the war which depends on the jar.
Regards -Jiaqi -----Original Message----- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Saturday, September 23, 2006 12:44 PM To: Maven Users List Subject: Re: Multiple packaging in one pom p_m <[EMAIL PROTECTED]> writes: > Any one know how to create .war and .jar snapshots from one pom. 1 pom = 1 artifact. You can trick maven into doing otherwise but that's an uphill battle. regards -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com --------------------------------------------------------------------- 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]
