You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alex Liu <al...@channelwave.com> on 2003/04/21 22:45:12 UTC

RE: FW: Why does "war:war" always remove existing *.jar from ${m aven .war.src}/WEB-INF/lib directory?

Hi,

Thanks for the information!  I shouldn't think POM in object-oriented
fashion :-)

By the way, where can I find the offical documentation on POM (just want to
have a better understanding)?

Alex

-----Original Message-----
From: Kurt Schrader [mailto:kschrader@karmalab.org]
Sent: Monday, April 21, 2003 4:29 PM
To: Maven Users List
Subject: RE: FW: What does "war:war" always remove existing *.jar from
${m aven .war.src}/WEB-INF/lib directory?


Think of a "project" as producing one artifact.  So if you have a jar,
another jar, and a war, then you have three projects.  The only reason to
organize them as three directories under a master directory is to make use
of the reactor.

-Kurt

On Mon, 21 Apr 2003, Alex Liu wrote:

> Hi,
>
> I was thinking about that too, but since my project's main goal is to
create
> a WAR file, it seems to make sense to have the WAR project as root
project.
> Also, if I change WAR project as a sub project, the parent project will
> become "jobless" except to defines some global dependencies :-)
>
> Can I create a master project that depends on sub project(s)?  For
example,
> for a J2EE project, it makes sense to create EAR project as master
project,
> and EJB/WAR projects as sub project, how can we define dependencies in
> master project that points to EJB/WAR sub projects?
>
> Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: FW: Why does "war:war" always remove existing *.jar from ${m aven .war.src}/WEB-INF/lib directory?

Posted by Kurt Schrader <ks...@karmalab.org>.
On Mon, 21 Apr 2003, Alex Liu wrote:

> By the way, where can I find the offical documentation on POM (just want to
> have a better understanding)?

http://maven.apache.org/reference/project-descriptor.html

-Kurt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org