Hi Mike,
I'm assuming you're talking about running > 1 goal in the same phase?
Order is not guaranteed. Annoying.
Documentation at http://maven.apache.org/guides/introduction/
introduction-to-the-lifecycle.html would imply that they are applied
in the order they're found in poms, but that isn't true given pom
goals are parsed into a hashtable. Thus, order is not guaranteed and
may very in any given run.
See http://jira.codehaus.org/browse/MNG-1499. Also, previous
discussion on this topic is interesting:
http://www.nabble.com/Patch-regarding-build-order-tf924491.html#a2397401
Don't understand why it takes maven so long to make new (non-
SNAPSHOT) releases especially in light of so many bugs (and existing
fixes). I'd have thought with the release plugin it wouldn't be that
difficult. Just grumbling...
Cheers,
Eric
On Oct 4, 2006, at 2:05 PM, SingleShot wrote:
I have a master POM and many modules. For months we've been
building fine. We
occassionally add a new module with no problem whatsoever. We
typically will
delete our artifacts from our local repository to make sure there
are no
leftovers from defnuct modules. Now for the past few days, when we
do a
build (using a "cleaned" repository), our modules appear to build
out of
order. The "Reactor build order:" list at the start of the build
looks fine,
but the build eventually tries to access a module out of order,
complaining
it is not in the repository. If we go down and build that module
directly,
it builds. We go back to the top and rebuild, and it gets further,
but has
the same error at a later point. If we manually build every module
in order,
then do a top down build, it works.
So... I'm asking if anyone has any hints or suggestions as to what
could
cause a perfectly ordered build to suddenly build out of order.
Thanks.
--
View this message in context: http://www.nabble.com/Modules-
Building-Out-of-Order-tf2385050.html#a6648340
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]