Look up "war overlay" in the maven-war-plugin that will give you some useful information on what you want to do beyond your original questions.

as for dep types.
A war can be depended upon just like a jar (or anything else for that matter) you simply specify the type:
<dependency>
        <groupId>com.mypackage</groupId>
        <artifactId>mywebapp</artifactId>
        <version>1.0.0XXX</version>
        <type>war</type>
</dependency>

- Brill Pappin


On 19-Jun-08, at 10:59 AM, 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]

Reply via email to