BTW, the old version should still work, but is deprecated.
You'll probably have the same problems with <maven:get />... you need to somehow indicate dependency on the plugin before doing this (a prereq's goal, a plugin dependency in the POM, or using a taglib from that plugin - the last being the "standard")
Heritier Arnaud wrote:
You can try :
<maven:get var="myVar" plugin="maven-example-plugin" property="maven.example.dir"/>
Arnaud
-----Message d'origine-----
De : Nathan Coast [mailto:[EMAIL PROTECTED] Envoy� : jeudi 27 mai 2004 15:38
� : Maven Users
Objet : getPluginContext........
Hi,
I have some jelly script that no longer seems to work. I wrote this with rc1. Has something been changed since then that would break this?
${pom.getPluginContext('maven-example-plugin').getVariable('ma ven.example.dir')}
I'm trying to use variables defined in one plugin within another. Should I be using different method calls?
cheers Nathan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
