On Thu, Jun 19, 2008 at 11:22:03AM -0500, Frank Silbermann wrote: > OK, so I need to package my dependency as a JAR file because I need to > add it to my classpath in Eclipse. > > I am not sure how the war overlay tool will help me; it seems to be used > for getting resources out of a .war file, and we've concluded that I > need a JAR file, right? Is there an easy way to tell Maven to create > both a JAR and a WAR file from the same codebase? >
Maven tends towards one artifact per project, and I've come to let Maven have it's way. One solution is to have a small test WAR project that depends on your JAR project. It's slightly cleaner too, since (if you like) you can keep your test code out of the JAR, and therefore out of your production code. jk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
