You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/09/24 18:07:01 UTC
[jira] Updated: (MPASPECTJ-11) aspectj:test-compile goal should check for pom.build.unitTestSourceDirectory
The following issue has been updated:
Updater: Carlos Sanchez (mailto:apache@carlos.cousas.net)
Date: Fri, 24 Sep 2004 12:05 PM
Changes:
Fix Version changed to 3.1.1
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPASPECTJ-11?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPASPECTJ-11
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPASPECTJ-11
Summary: aspectj:test-compile goal should check for pom.build.unitTestSourceDirectory
Type: Bug
Status: Reopened
Priority: Major
Original Estimate: 10 minutes
Time Spent: Unknown
Remaining: 10 minutes
Project: maven-aspectj-plugin
Fix Fors:
3.1.1
Versions:
3.1
Assignee: Carlos Sanchez
Reporter: Chad Brandon
Created: Wed, 30 Jun 2004 10:43 AM
Updated: Fri, 24 Sep 2004 12:05 PM
Environment: maven-1.0-rc4
Description:
The aspectj plugin should check for the presence of the unit test
source directory before calling aspectj:compile. This is useful in cases where you want to define your preGoal in your subproject's maven.xml and subprojects don't have any tests defined. Otherwise you'll get a error telling you the 'maven.test.compile.src.set' property doesn't exist. This is easy to add, just add the following check to the aspectj:test-compile goal:
<j:set var="testSourceDir" value="${pom.build.unitTestSourceDirectory}"/>
<ant:available
property="hasTestDir"
file="${testSourceDir}"/>
<j:if test="${shouldWeave == 'true' and hasTestDir != null and testSourceDir != ''}">
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org