Hi,

as it seems, properties inheritance for multiprojects is not yet
available in RC2. I.e. if you define a property in your toplevel's
project.properties (or build.properties), you won't get it if you
call maven from within a subproject's directory.

I browsed the mailing list archives and found some comments in
mid-2003 that property inheritance will be implemented. Is it already
implemented, maybe in the main CVS trunk ?

Otherwise I'm looking for a workaround. I tried to include the
parent's properties with <util:properties file="../project.properties"> 
in maven.xml.

However, this won't evaluate the properties' values as expression
(they are copied literally).  Furthermore, you can't set your
'maven.home.local' or 'maven.repo.remote' quick enough since
dependency resolving and plugin registration is performed before
maven.xml is executed.

Any ideas ?

thanx .....
-- 
                                                        ...roland huss
                                                             consol.de


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

Reply via email to