Re: m2 multiple war files with some common code

2006-07-20 Thread Srinivas Pavani
Pete, I tried both the war overlaying as well as the suggestion by Martin to pull shared resources from a directory. As noted, the directive doesn't work in version 2.0.1. I pulled down the latest code and built a local version. I did notice a potential bug. The code in the latest HEAD branch h

RE: m2 multiple war files with some common code

2006-07-13 Thread Andrew-A . Davies
I've posted the answer to this a few time on this user list A -Original Message- From: Srinivas Pavani [mailto:[EMAIL PROTECTED] Sent: 13 July 2006 19:51 To: users@maven.apache.org Subject: m2 multiple war files with some common code Can someone shed some light on how to setup maven2

Re: m2 multiple war files with some common code

2006-07-13 Thread Srinivas Pavani
Thanks for your input, the ability to unpack may help in my case. -- View this message in context: http://www.nabble.com/m2-multiple-war-files-with-some-common-code-tf1939224.html#a5321068 Sent from the Maven - Users forum at Nabble.com.

Re: m2 multiple war files with some common code

2006-07-13 Thread Pete Marvin King
enge - you are up for a challenge are >> you? ;) >> >> kris bravo >> >> >> -Original Message- >> From: Srinivas Pavani [mailto:[EMAIL PROTECTED] >> Sent: Thursday, July 13, 2006 3:57 PM >> To: users@maven.apache.org >> Subject:

Re: m2 multiple war files with some common code

2006-07-13 Thread Martin Gladdish
s a challenge - you are up for a challenge are you? ;) kris bravo -Original Message- From: Srinivas Pavani [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 3:57 PM To: users@maven.apache.org Subject: RE: m2 multiple war files with some common code Kris, Thanks for your reply.

RE: m2 multiple war files with some common code

2006-07-13 Thread Bravo, Kris
ssage- From: Srinivas Pavani [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 3:57 PM To: users@maven.apache.org Subject: RE: m2 multiple war files with some common code Kris, Thanks for your reply. Most likely they will not be placed in the same ear file. Yes there are common servlets and

RE: m2 multiple war files with some common code

2006-07-13 Thread Srinivas Pavani
Kris, Thanks for your reply. Most likely they will not be placed in the same ear file. Yes there are common servlets and jsps that need to be shared across the apps. The question still remains how to integrate the servlets from common and module specific directories into a single WAR file. I d

RE: m2 multiple war files with some common code

2006-07-13 Thread Bravo, Kris
If you're placing them all in the same ear, mark the dependencies as provided and make sure the common-module is defined in your ear project. If not, each war project would list the common module as a dependency. You have a common-module/src/main/webapp folder as well - do you intend to share se