I'd rather suggest the newer book "Maven: The definitive Guide" by Sonatype.
Better and newer...
And yes, it's free. You can find it here:
http://www.sonatype.com/documentation/books

/Anders

On Thu, Aug 27, 2009 at 03:29, Wayne Fay <wayne...@gmail.com> wrote:

> > I have two projects, Project A (war type) and Project B (jar type).
> Project
> > A is dependent on Project B. So, in Project A's pom.xml I mention Project
> B
> > as dependent. Now, Project B has just pom.xml and has no jar file
> generated.
> > How could I run Project B's pom.xml from Project A's pom.xml, so that
> > Project B's jar file is generated and is available for Project A?
>
> Short answer: You can't.
>
> Longer answer: You can with the new reactor plugin, but I don't think
> you really want to do this. Instead I'd set a parent pom up that both
> inherit from, and set both as <modules> in it, and build from the top
> parent.
>
> You would also benefit from reading "Better Builds with Maven" which
> is a free PDF ebook that talks about things like this.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to