You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Zeleznik <dz...@ilog.com> on 2003/04/01 19:46:00 UTC

Maven property processing and startup sequence

Hi,

The sequence that Maven processes its properties files is documented at
http://maven.apache.org/reference/user-guide.html#Properties%20Processing.
However, this page does not document how property file processing relates to
pom and maven.xml processing and the rest of Maven's startup sequence. I
first needed this info when I was trying to determine why setting
maven.repo.remote from my maven.xml was ineffective for dependency
resolution. I did a bit of experimenting, and here is the Maven startup and
initialization sequence I have found:

 * ${maven.home}/bin/driver.properties is processed
 * ${project.home}/project.properties is processed
 * ${project.home}/build.properties is processed
 * ${user.home}/build.properties is processed
 * project dependencies are resolved
 * maven.xml for the parent project, if any, is compiled, any inline jelly
script is executed
 * maven.xml for the project is executed, any inline jelly script is
excecuted.
 * Plug-in default properties are processed for those that are not already
defined
 * Any inline plugin.jelly for all plugins is executed
 * goals are executed

Can anyone comment on this for accuracy? I would like to make sure that I
have a complete and proper understanding of Maven's initialization sequence.
Thanks!

--------------------------------------
David Zeleznik
ILOG - Changing the rules of business
mailto:dzeleznik@ilog.com
http://www.ilog.com
--------------------------------------


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