Have you called a target of the maven-war-plugin? I found that I needed to call a target, any target, to get the plugin to be initialized. That does work in the cactus plugin, although it leads to some extra processing going on!
Eric Pugh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 3:12 PM To: [EMAIL PROTECTED] Subject: Using property of another plugin from my plugin Hi, I'm trying to use a property from another plugin in my plugin and it fails for some reason. I'm using: <j:set var="warBuildDir" value="${pom.getPluginContext('maven-war-plugin').getVariable ('maven.war.build.dir')}"/> <j:set var="warBuildName" value="${pom.getPluginContext('maven-war-plugin').getVariable ('maven.war.final.name')}"/> <property name="cactus.war" value="${warBuildDir}/${warBuildName}"/> <echo>XXX = ${cactus.war}</echo> and I get: XXX = / Any idea? Thanks -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
