Applied patch + 2 other lines where the same thing was being done.
PR: MAVEN-359 Submitted by: Stephen Haberman git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f5b955cb9
commit
eef46bc2fe
@ -90,11 +90,11 @@
|
|||||||
</j:when>
|
</j:when>
|
||||||
<!-- installed and stopped -->
|
<!-- installed and stopped -->
|
||||||
<j:when
|
<j:when
|
||||||
test="${maven.appserver.installed} and ${!maven.appserver.started}">
|
test="${maven.appserver.installed and !maven.appserver.started}">
|
||||||
<attainGoal name="appserver:reinstall" />
|
<attainGoal name="appserver:reinstall" />
|
||||||
</j:when>
|
</j:when>
|
||||||
<!-- installed and started -->
|
<!-- installed and started -->
|
||||||
<j:when test="${maven.appserver.installed} and ${!maven.appserver.started}">
|
<j:when test="${maven.appserver.installed and !maven.appserver.started}">
|
||||||
<attain>
|
<attain>
|
||||||
<attainGoal name="appserver:stop" />
|
<attainGoal name="appserver:stop" />
|
||||||
<attainGoal name="appserver:reinstall" />
|
<attainGoal name="appserver:reinstall" />
|
||||||
@ -184,7 +184,7 @@ Installing the <j:expr value="${maven.appserver.fullname}" /> appserver instance
|
|||||||
description="Stop a appserver instance if started">
|
description="Stop a appserver instance if started">
|
||||||
|
|
||||||
<j:choose>
|
<j:choose>
|
||||||
<j:when test="${maven.appserver.installed} and ${maven.appserver.started}">
|
<j:when test="${maven.appserver.installed and maven.appserver.started}">
|
||||||
<attainGoal
|
<attainGoal
|
||||||
name="appserver:stop-${maven.appserver.fullname}" />
|
name="appserver:stop-${maven.appserver.fullname}" />
|
||||||
</j:when>
|
</j:when>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user