You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roger Pack <ro...@gmail.com> on 2009/10/16 21:57:54 UTC

Re: speedier builds possible?

On Mon, Aug 17, 2009 at 11:50 PM, Kees van Dieren
<ke...@gmail.com> wrote:
> Probably you will like this:
> http://maven.apache.org/plugins/maven-reactor-plugin/
>
> Make for maven.

Oh wow that is perfect.

You can call it like:

$ mvn reactor:resume -Dfrom=some_module # rebuilds some_module and any
children that depend on it (and grandchildren, etc.)

Question about it, if anybody knows...

I assume it should only build *direct* descendants, in the dependency
hierarchy.  Mine however seems to be building both direct descendants
and their cousins, for some reason.



>mvn reactor:resume -Dfrom=updatemigrationdb
...
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Migration updatemigrationdb ........................... SUCCESS [2.828s]
[INFO] Migration TapeWriter .................................. SUCCESS [1.813s]
[INFO] DAS Storage Server .................................... SUCCESS [8.281s]
[INFO] DAS Finder Service Das Implementation ................. SUCCESS [26.875s]
[INFO] DAS Finder Web Service ................................ SUCCESS [10.391s]
[INFO] DAS Storage Server Service (Interface) ................ SUCCESS [0.343s]
[INFO] DAS Finder Service (Deprecated) ....................... SUCCESS [0.438s]
[INFO] DAS Finder Service, Authenticated (Deprecated) ........ SUCCESS [0.437s]
[INFO] tapekickoff ........................................... SUCCESS [0.828s]

Only "Migration TapeWriter" actually had a true dependency (or even
transitive dependency) on the original folder passed in as a
parameter.
Thoughts? Bug, perhaps?

Thanks.
-r

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


Re: speedier builds possible?

Posted by Roger Pack <ro...@gmail.com>.
> I assume it should only build *direct* descendants, in the dependency
> hierarchy.  Mine however seems to be building both direct descendants
> and their cousins, for some reason.
>
>
>
>>mvn reactor:resume -Dfrom=updatemigrationdb

To answer my own question, the correct command is...

> mvn reactor:make-dependents -Dmake.folders=updatemigrationdb

reactor:resume only resumes building *all* projects half way through
(like a breadth-first search) whereas make-dependents only makes
direct children, like a sub-tree.
The reactor plugin was just what I needed (though a bit buggy on
windows).  Thanks!

-r

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