maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Sanchez" <apa...@carlos.cousas.net>
Subject RE: Multiproject:site and inherited properties
Date Fri, 02 Jul 2004 16:01:02 GMT
Hi,

There is a known issue with multiproject and inherited properties.
Check http://jira.codehaus.org/browse/MPMULTIPROJECT-32

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net
 

> -----Original Message-----
> From: Webb Morris [mailto:webbmorris@yahoo.com] 
> Sent: Friday, July 02, 2004 5:38 PM
> To: Maven Users List
> Subject: Multiproject:site and inherited properties
> 
> I have a multilevel project inheritance structure. Where 
> project C inherits from project B inherits from project A, 
> etc.  I have some properties set up at the top level in 
> project.properties for things like checkstyle.xml and 
> liscense.txt.  If I run site:generate from the bottom level 
> project, it finds these properties and executes correctly.  
> However, if I execute multiproject:site from the mid-level 
> project, the "leaf" projects can not find the checkstyle or 
> liscense information any longer.
> 
> In $(user.home}/build.properties, I have:
> 
> top.level.project.xml=${somedirectory}/project.xml
> 
> In the midlevel project.xml, I have:
> 
> <extends>${top.level.project.xml}</extends>
> 
> In the "leaf" projects, I have:
> 
> <extends>../project.xml</extneds>
> 
> As you can see, my directory structure looks similar to this
> 
> - Top Level Project A
> - Mid Level Project B
>   - Leaf Project C
> 
> Where A and B are on the same directory "level" and C is a 
> direct child of B.
> 
> Any ideas as to why when multiproject:site runs it can not 
> find the correct properties, but site:generate can?
> 
> Thanks,
> 
> WM
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 



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


Mime
View raw message