maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Connolly" <stephen.alan.conno...@gmail.com>
Subject Re: Running two builds of the same branch simultaneously
Date Thu, 20 Mar 2008 05:59:36 GMT
On Thu, Mar 20, 2008 at 3:36 AM, Dan Fabulich <dan@fabulich.com> wrote:

> Brian E. Fox wrote:
>
> >> Samuel Le Berrigaud wrote:
> >>
> >>> 1. only run mvn verify, this way nothing gets installed into the local
> >>> repository,
> >>
> >> This doesn't work in a multi-module reactor build where the modules
> >> depend on each other, does it?
>
> > No, it will only work if you at least do compile (then a reference to
> > /target/classes is passed instead of the jar)
>
> Huh?  verify is after compile, right before install.  (Actually, I did
> "package", then later tried "verify" to see if it would work; neither
> did.)  Should that have worked?
>
> -Dan
>

Are you using maven-dependency-plugin at all?

if you are then you should be using the "copy-dependencies" or
"unpack-dependencies" goals and not the "copy" or "unpack" goals for those
dependencies that come from the reactor, otherwise the build will fail as
you describe

-Stephen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message