Thanks a lot, Dion! It works fine for me.

-----Urspr�ngliche Nachricht-----
Von: Dion Gillard [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Juli 2004 16:06
An: Maven Users List
Betreff: Re: Global Variable Scope


${systemScope.put('finalOutput','value')} as long as they're all
running in one VM.

On Wed, 28 Jul 2004 12:50:51 +0200, J�rn Gebhardt <[EMAIL PROTECTED]>
wrote:
> Hi,
> 
> does there exists any global context where I can set and read some
variables
> that are accessible from everywhere in my build? I have a multi-project
> build with many reactor calls and if I set a variable during the build of
o
> sub-project I cannot access it in the parent project build.
> 
> I already tried these variants:
> 
> 1. normal set method
>     <j:set var="finalOutput">Some text...</j:set>
> 
> 2. using scope parent
>     <j:set var="finalOutput" scope="parent">Some text...</j:set>
> 
> 3. using a plugin scope
>    <maven:set plugin="my-plugin" property="my-plugin.finalOutput"
> value="${finalOutput}"/>
>    ...
>    <maven:get plugin="my-plugin" property="my-plugin.finalOutput"
> var="finalOutput"/>
> 
> But in all cases I couldn't access the ${finalOutput} content in the
parent
> project.
> 
> Do you know any other method that could work?
> 
> Thanks in advance,
> J�rn
> 


-- 
http://www.multitask.com.au/people/dion/

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

Reply via email to