war:clean was depeneding on war:init which was changed and call to test:test goal was added there. This removes this problem. Change was dissussed @mailing list. I will duble check all my applications and usecases but i think it's OK like this.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115086 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -39,8 +39,6 @@
|
|||||||
<ant:available property="webSourcesPresent" type="dir"
|
<ant:available property="webSourcesPresent" type="dir"
|
||||||
file="${maven.war.src}"/>
|
file="${maven.war.src}"/>
|
||||||
|
|
||||||
<attainGoal name="test:test"/>
|
|
||||||
|
|
||||||
<ant:property name="maven.war.final.name"
|
<ant:property name="maven.war.final.name"
|
||||||
value="${pom.artifactId}.war"/>
|
value="${pom.artifactId}.war"/>
|
||||||
|
|
||||||
@@ -107,7 +105,7 @@
|
|||||||
<!--==================================================================-->
|
<!--==================================================================-->
|
||||||
<!-- Builds an expanded webapp -->
|
<!-- Builds an expanded webapp -->
|
||||||
<!--==================================================================-->
|
<!--==================================================================-->
|
||||||
<goal name="war:webapp" prereqs="war:init"
|
<goal name="war:webapp" prereqs="war:init,test:test"
|
||||||
description="Build a webapp directory">
|
description="Build a webapp directory">
|
||||||
|
|
||||||
<ant:echo>Assembling webapp ${pom.artifactId}</ant:echo>
|
<ant:echo>Assembling webapp ${pom.artifactId}</ant:echo>
|
||||||
|
|||||||
Reference in New Issue
Block a user