You can't AFAIK. A WAR file is not a JAR file, e.g. the contained classfiles are under WEB-INF/classes, not the root.
You're shared component should be a JAR project instead of a WAR project. Just remember to mount your test page in each app in which you use it. jk On Thu, Jun 19, 2008 at 09:59:38AM -0500, Frank Silbermann wrote: > I have a question about packaging. I have two Wicket web applications > that display data for two different corporate areas, but the > look-and-feel are similar. Therefore, I coded in Wicket a tool project > consisting of a bunch of higher-level problem-specific components that > my two projects should depend upon. > > In my tool project I built a web page that I use to test (display and > play with) these components. Therefore, the output of my tool project > is also .war. How do I tell Maven that my two business applications > depend upon a .war and not a .jar? I'd rather not have to partition my > tool project into separate .war and .jar projects. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
