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.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115827 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f60288f1f3
commit
e9f89e7ae4
@ -1,4 +1,5 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
/*
|
/*
|
||||||
* Copyright 2001-2004 The Apache Software Foundation.
|
* Copyright 2001-2004 The Apache Software Foundation.
|
||||||
@ -17,7 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
=============================================================================
|
=============================================================================
|
||||||
JBoss plugin for Maven. Contains JBoss related goals useful for
|
JBoss plugin for Maven. Contains JBoss related goals useful for
|
||||||
@ -30,6 +30,7 @@
|
|||||||
xmlns:util="jelly:util"
|
xmlns:util="jelly:util"
|
||||||
xmlns:jmx="jmx"
|
xmlns:jmx="jmx"
|
||||||
xmlns:define="jelly:define"
|
xmlns:define="jelly:define"
|
||||||
|
xmlns:maven="jelly:maven"
|
||||||
xmlns:artifact="artifact">
|
xmlns:artifact="artifact">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@ -330,12 +331,22 @@
|
|||||||
|
|
||||||
<goal name="jboss:deploy-warfile" prereqs="war:war"
|
<goal name="jboss:deploy-warfile" prereqs="war:war"
|
||||||
description="Invoke the 'war' goal and deploy the result">
|
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>
|
||||||
|
|
||||||
<goal name="jboss:undeploy-warfile" prereqs="war:init"
|
<goal name="jboss:undeploy-warfile"
|
||||||
description="Undeploy the result of the 'war' goal">
|
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>
|
</goal>
|
||||||
|
|
||||||
<!-- Once maven has a goal that will build a jarfile of EJBs, this should
|
<!-- Once maven has a goal that will build a jarfile of EJBs, this should
|
||||||
|
|||||||
@ -25,6 +25,12 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.6-SNAPSHOT" date="in CVS">
|
<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">
|
<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
|
Added new debug scripts that add the <code>-Xdebug</code> and other debugging
|
||||||
options to enable remote debugging of a JBoss server.
|
options to enable remote debugging of a JBoss server.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user