PR: MPWAR-62

Java sources are not compiled when used with maven-test-plugin-1.8 and maven.test.skip=true.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@425183 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-07-24 20:55:21 +00:00
parent c6be78639c
commit 81a7880132
3 changed files with 11 additions and 1 deletions

View File

@ -22,6 +22,7 @@
xmlns:license="license"
xmlns:util="jelly:util"
xmlns:ant="jelly:ant"
xmlns:maven="jelly:maven"
xmlns:artifact="artifact">
<!--==================================================================-->
@ -179,6 +180,12 @@
<goal name="war:webapp" prereqs="war:war-resources,test:test"
description="Build a webapp directory">
<!-- If maven.test.skip != true, java:compile is attained in test:test -->
<maven:get var="testsSkipped" plugin="maven-test-plugin" property="maven.test.skip"/>
<j:if test="${testsSkipped}">
<attainGoal name="java:compile"/>
</j:if>
<ant:echo>Assembling webapp ${pom.artifactId}</ant:echo>
<j:set var="webapp.build.lib" value="${webapp.build.webinf}/lib"/>

View File

@ -22,7 +22,7 @@
<pomVersion>3</pomVersion>
<id>maven-war-plugin</id>
<name>Maven WAR Plugin</name>
<currentVersion>1.6.2</currentVersion>
<currentVersion>1.6.3-SNAPSHOT</currentVersion>
<description>War Plugin for Maven</description>
<shortDescription>War Plugin for Maven</shortDescription>
<versions>

View File

@ -23,6 +23,9 @@
<author email="vmassol@apache.org">Vincent Massol</author>
</properties>
<body>
<release version="1.6.3-SNAPSHOT" date="in SVN">
<action dev="ltheussl" type="fix" issue="MPWAR-62">Java sources are not compiled when used with maven-test-plugin-1.8 and maven.test.skip=true.</action>
</release>
<release version="1.6.2" date="2006-06-18">
<action dev="snicoll" type="fix" issue="MPWAR-58">Manifest file is now generated properly.</action>
<action dev="snicoll" type="add" issue="MPWAR-43">Aded the ability to customize the Class-Path entry of the manifest</action>