Jeffrey Bonevich <[EMAIL PROTECTED]> wrote on 19/10/2003 09:32:17 AM:

> Am I correct in thinking that the scope of individual plugin properties 
> does not extend to preGoals and postGoals?  Did some more testing (e.g. 
> with the maven-jar-plugin and trying to get at 'maven.jar.excludes') and 

> this seems to be the case.
> 
> jeff

Correct, the variables are stored in the plugin's context. Currently to 
access a plugin's variables you must use some jelly code:

${pom.getPluginContext('maven-test-plugin').getVariable('maven.test.dest')}

We really should make this a tag.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/



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

Reply via email to