Re: The processing order of Maven2's reactor

2007-09-07 Thread Tim Kettler

Please keep the discussion on the list, others might be interested too.

Maven prints the content of the /name tag in that log entries. I guess 
you have just two modules with the same name/ in your poms.


-Tim

Huang, Yan schrieb:
 Hi Tim,

 I ran mvn validate under our source and its print has these 2
 identical lines:

 [INFO] Reactor build order:
 ..
 [INFO]   Orchestration Util
 [INFO]   Repository
 [INFO]   Orchestration
 [INFO]   Rest Services
 [INFO]   Data Access Util Specific
 [INFO]   Generated Domain 2 Specific
 [INFO]   Generated Domain 1 Specific
 [INFO]   Generated Domain 1 Specific
 ..

 Do you need any more info?

 Thanks
 Yan

 -Original Message-
 From: Tim Kettler [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 06, 2007 10:47 PM
 To: Maven Users List
 Subject: Re: The processing order of Maven2's reactor

 Hi,

 Huang, Yan schrieb:
 Hello,

 I'm wondering how maven is figuring out the Reactor build order

 Arnaud already explained this.

 and if there is a way to tweak this order?

 No. Only indirectly, by specifying dependencies between modules.

 If I see there are exact same line for a particular project twice
 in this order, does it mean that maven 2 would build twice?

 I think this should never happen, as maven should just walk over the
 graph and build one modul after the other. Can you post the log of the
 build.

 Thanks
 Yan

 -Tim


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The processing order of Maven2's reactor

2007-09-06 Thread Tim Kettler

Hi,

Huang, Yan schrieb:

Hello,

I'm wondering how maven is figuring out the Reactor build order


Arnaud already explained this.


and if there is a way to tweak this order?


No. Only indirectly, by specifying dependencies between modules.


If I see there are exact same line for a particular project twice
in this order, does it mean that maven 2 would build twice?


I think this should never happen, as maven should just walk over the 
graph and build one modul after the other. Can you post the log of the 
build.



Thanks
Yan


-Tim


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The processing order of Maven2's reactor

2007-09-06 Thread Insitu
Huang, Yan [EMAIL PROTECTED] writes:

 Hello,

 I'm wondering how maven is figuring out the Reactor build order and if
 there is a way to tweak this order? If I see there are exact same line
 for a particular project twice in this order, does it mean that maven 2
 would build twice?


Maven builds projects by doing  a topological sorting of the nodes of
the directed graph constructed by the dependency relation between
modules. This graph is constructed by looking at modules and
dependencies tags in poms. Or so I think
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The processing order of Maven2's reactor

2007-09-06 Thread Huang, Yan
Hello,

I'm wondering how maven is figuring out the Reactor build order and if
there is a way to tweak this order? If I see there are exact same line
for a particular project twice in this order, does it mean that maven 2
would build twice?

Thanks
Yan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]