Guess I can answer part of my own question. If I want to store this in my war as /xdocs
in maven-war-plugin's project.properties, the value of maven.war.webapp.dir is set as per the documents: maven.war.build.dir = ${maven.build.dir} maven.war.webapp.dir = ${maven.war.build.dir}/${pom.artifactId} in my maven.xml: <j:set var="webapp.xdocs.dir" value="${pom.getPluginContext('maven-war-plugin').getVariable('maven.war.web app.dir')}/xdocs" /> will set webapp.xdocs.dir = ${maven.war.build.dir}/${pom.artifactId}/xdocs This works as a <postGoal name="war:webapp"> because that particular plugin is loaded, and so it sets these values from it's own plugin.properties. I've found this doesn't work if I'm trying to get a variable from a plugin that hasn't been loaded during the execution. ----- Original Message ----- From: "khote" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 5:25 PM Subject: plugin.jelly variables not available in <postGoal> > I'm playing around with a postGoal for webapp ... > > <postGoal name="war:webapp"> > .... > </postGoal> > > I'm copying the docs directory generated by the xdoc plugin into my .war > > I notice in the plugin documentation that certain values such as > maven.war.webapp.dir have default values. I look in the maven-war-plugin's > plugin.jelly and see where they are set. Yet these values are not available > to my maven.xml postGoal, in fact they have no value at all by the time they > get there. I have to manually set them in > project.properties/build.properties or even reset them to the same values in > my maven.xml postGoal. It would be nice if I could use the expected > defaults in postGoals, is there a setting somewhere that can take care of > this? > > K > > > --------------------------------------------------------------------- > 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]