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>
|
||||
<!-- installed and stopped -->
|
||||
<j:when
|
||||
test="${maven.appserver.installed} and ${!maven.appserver.started}">
|
||||
test="${maven.appserver.installed and !maven.appserver.started}">
|
||||
<attainGoal name="appserver:reinstall" />
|
||||
</j:when>
|
||||
<!-- installed and started -->
|
||||
<j:when test="${maven.appserver.installed} and ${!maven.appserver.started}">
|
||||
<j:when test="${maven.appserver.installed and !maven.appserver.started}">
|
||||
<attain>
|
||||
<attainGoal name="appserver:stop" />
|
||||
<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">
|
||||
|
||||
<j:choose>
|
||||
<j:when test="${maven.appserver.installed} and ${maven.appserver.started}">
|
||||
<j:when test="${maven.appserver.installed and maven.appserver.started}">
|
||||
<attainGoal
|
||||
name="appserver:stop-${maven.appserver.fullname}" />
|
||||
</j:when>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user