Try <j:set scope="parent" var="myVar" value="foo"/>

James

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 21 July 2004 15:29
To: Maven Users List
Subject: Jelly variable scope with maven:reactor






Hi,

I'm currently using the reactor in Maven, and I figured out that I can't
pass a variable from the calling project to the called projects.

For instance, if I do the following:

            <j:set var="myVar" value="foo"/>
            <maven:reactor
                  basedir="${basedir}"
                  includes="**/project.xml"
                  goals="myGoal"/>

then "myVar" is not available in the subprojects when myGoal executes.


Is it possible to do so?
Does anyone have an idea of what I should do to have this feature?

Thx a lot,
Fabrice.



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



------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays 
Group does not accept legal responsibility for the contents of this 
message.  Although the Barclays Group operates anti-virus programmes, 
it does not accept responsibility for any damage whatsoever that is 
caused by viruses being passed.  Any views or opinions presented are 
solely those of the author and do not necessarily represent those of the 
Barclays Group.  Replies to this email may be monitored by the Barclays 
Group for operational or business reasons.

------------------------------------------------------------------------


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

Reply via email to