Check that unitTestSourceDirectory is defined in pom

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115617 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
carlos 2004-06-30 20:45:19 +00:00
parent 36e4249dea
commit 07bf510c8d
2 changed files with 3 additions and 2 deletions

View File

@ -148,7 +148,7 @@
</j:when>
<!-- if aspectSourceDirectory is not defined in pom -->
<j:otherwise>
<log:info>Aspect source directory not specified</log:info>
<log:info>Aspect source directory not defined</log:info>
<j:set var="aspectSourcesPresent" value="false"/>
</j:otherwise>
</j:choose>
@ -207,7 +207,7 @@
<goal name="aspectj:test-compile" prereqs="aspectj:compile"
description="Weave tests with AspectJ">
<j:if test="${shouldWeave == 'true'}">
<j:if test="${(shouldWeave == 'true') and (pom.build.unitTestSourceDirectory != '')}">
<!-- By calling a goal from the test plugin we ensure that all its
properties are loaded and are thus accessible from this plugin -->

View File

@ -28,6 +28,7 @@
</properties>
<body>
<release version="3.1.1" date="in CVS">
<action dev="carlos" type="fix" issue="MPASPECTJ-11">Check that unitTestSourceDirectory is defined in pom</action>
<action dev="carlos" type="add">Output messages to log</action>
<action dev="carlos" type="fix">Check that aspectSourceDirectory is defined in pom</action>
</release>