This is a known (and now fixed) bug
http://jira.codehaus.org/browse/MAVEN-37
On Tue, 2004-04-13 at 18:56, Carlos wrote:
> Hi,
> 
> I have subprojects with project.xml extending a base project.xml 
> 
> <project>
>    <extend>${basedir}/../../common/project.xml</extend>
> 
> But properties defined in the superproject' project.properties are not
> available to subprojects.
> 
> The only way to do this was define properties in the base maven.xml with
> j:set
> 
> <j:set var="maven.compile.executable">jikes</j:set>
> 
> But then they can't be overriden by the project.properties in the
> subprojects. I think that it can be solved with a j:if for each property but
> is there an easy way?
> 
> 
> Also if I have two levels of inheritance, the top level maven.xml is not
> inherited, only the second level one. I tried with jelly tags "include" and
> "import" but preGoals and postGoals don't seem to be available.
> 
> 
> Help would be very appreciated.
> 
> Thanks in advance
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
[M. Grender-Jones                                ] 
[MSN: [EMAIL PROTECTED]       ICQ: 28467015] 

An ant carrying a leaf fragment, is equivalent to a man carrying a bus
above his head, holding it in his teeth.  







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

Reply via email to