I just went through this a couple of weeks ago, and here's how we're currently doing it at work. The ear project includes the war project twice, once as a war, once as a POM. The war plugin is set to include only the struts-tiles.jar and struts-taglibs.jar in the WEB-INF/lib.
At home, I've been playing with the maven plugin for Netbeans, and do things a little differently. I added all of the shared dependencies to the parent POM. The ear and war projects both inherit the dependencies and as above, the war plugin is set to include only certain jar files. Both seem to work equally well. Personally, I think I like the parent POM approach, adding a project as a dependency twice seems a bit hackerish to me. I welcome any comments on why one approach might be better than the other, since I'm still learning. Thanks, Dave --- There are 10 types of people in the world, those that understand binary, and those that don't. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
