vmassol 2004/07/15 02:37:30 Modified: jboss/xdocs changes.xml jboss plugin.jelly Log: Removed dependency on non-public goal <code>war:init</code> and migrated the <code>jboss:deploy-warfile</code> and <code>jboss:undeploy-warfile</code> goals to use the new <code>maven:get</code> tag to retrieve properties from the WAR plugin. Revision Changes Path 1.29 +6 -0 maven-plugins/jboss/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/maven-plugins/jboss/xdocs/changes.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- changes.xml 13 Jun 2004 17:15:58 -0000 1.28 +++ changes.xml 15 Jul 2004 09:37:29 -0000 1.29 @@ -25,6 +25,12 @@ </properties> <body> <release version="1.6-SNAPSHOT" date="in CVS"> + <action dev="vmassol" type="fix"> + Removed dependency on non-public goal <code>war:init</code> and migrated the + <code>jboss:deploy-warfile</code> and <code>jboss:undeploy-warfile</code> + goals to use the new <code>maven:get</code> tag to retrieve properties + from the WAR plugin. + </action> <action dev="vmassol" type="add" issue="MPJBOSS-14" due-to="Marc-Antoine Guarrigue"> Added new debug scripts that add the <code>-Xdebug</code> and other debugging options to enable remote debugging of a JBoss server. 1.21 +15 -4 maven-plugins/jboss/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/maven-plugins/jboss/plugin.jelly,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- plugin.jelly 13 Jun 2004 17:15:58 -0000 1.20 +++ plugin.jelly 15 Jul 2004 09:37:30 -0000 1.21 @@ -1,4 +1,5 @@ <?xml version="1.0"?> + <!-- /* * Copyright 2001-2004 The Apache Software Foundation. @@ -17,7 +18,6 @@ */ --> - <!-- ============================================================================= JBoss plugin for Maven. Contains JBoss related goals useful for @@ -30,6 +30,7 @@ xmlns:util="jelly:util" xmlns:jmx="jmx" xmlns:define="jelly:define" + xmlns:maven="jelly:maven" xmlns:artifact="artifact"> <!-- @@ -330,12 +331,22 @@ <goal name="jboss:deploy-warfile" prereqs="war:war" description="Invoke the 'war' goal and deploy the result"> - <jmx:deploy jmx.deploy.file='${maven.build.dir}/${maven.war.final.name}'/> + + <maven:get var="warBuildDir" plugin="maven-war-plugin" property="maven.war.build.dir"/> + <maven:get var="warFinalName" plugin="maven-war-plugin" property="maven.war.final.name"/> + + <jmx:deploy jmx.deploy.file='${warBuildDir}/${warFinalName}'/> + </goal> - <goal name="jboss:undeploy-warfile" prereqs="war:init" + <goal name="jboss:undeploy-warfile" description="Undeploy the result of the 'war' goal"> - <jmx:undeploy jmx.deploy.file='${maven.build.dir}/${maven.war.final.name}'/> + + <maven:get var="warBuildDir" plugin="maven-war-plugin" property="maven.war.build.dir"/> + <maven:get var="warFinalName" plugin="maven-war-plugin" property="maven.war.final.name"/> + + <jmx:undeploy jmx.deploy.file='${warBuildDir}/${warFinalName}'/> + </goal> <!-- Once maven has a goal that will build a jarfile of EJBs, this should
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]