Yes, this was a bugfix. project.properties belongs with project.xml,
not with project_common.xml.

As dan later suggests, creating a subdirectory putting the extension
POM in there with the properties you want inherited is correct.

This way, the inherited properties and the master build properties do not clash.

- Brett


On Thu, 11 Nov 2004 13:44:00 -0500, Jean-Marc Lavoie
<[EMAIL PROTECTED]> wrote:
> I have jus install maven 1.0.1, Thanks a lot to the team.
> 
> I discovered that something seam to be working differently with
> inheritance. I got some subproject that extends from a project file in
> the parent directory. The parent directory contains a project.xml file
> which is used to generate the main project site.  I also got a
> project_common.xml file from which all my subproject extends. This
> allows me to specify the reports and some other characteristic for all
> my subprojects in a single location. Here is the sample structure I use:
> 
> + root
> 
>   - project.xml
> 
>   - project.properties
> 
>   - project_common.xml
> 
>   + SubProjectA
> 
>     - project.xml       which has <extend>../project_common.xml</extend>
> 
>     - project.properties
> 
> As per Maven 1.0, my subproject started inheriting the
> project.properties in the root folder, which allowed me to set
> properties for all subproject in a single location. With 1.0.1, if my
> subprojects extend from project.xml, the properties are inherited. If
> the subprojects extend project_common.xml, then the properties in the
> root folder are ignored.
> 
> Is it a normal behavior?
> 
> Regards,
> 
> Jean-Marc
> 
>

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

Reply via email to