The following issue has been updated:

    Updater: Felipe Leme (mailto:[EMAIL PROTECTED])
       Date: Mon, 2 Aug 2004 3:05 PM
    Comment:
A simple fix for this issue.
    Changes:
             Attachment changed to mpeclipse-36.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPECLIPSE-36?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPECLIPSE-36

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPECLIPSE-36
    Summary: [PATCH] JUnit jar not add in a specific condition
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: 15 minutes
 Time Spent: Unknown
  Remaining: 15 minutes

    Project: maven-eclipse-plugin
   Versions:
             1.8

   Assignee: 
   Reporter: Felipe Leme

    Created: Mon, 2 Aug 2004 3:03 PM
    Updated: Mon, 2 Aug 2004 3:05 PM

Description:
If your project doesn't have a <unitTestSourceDirectory> in the POM, the JUnit jar is 
never included, even if it used by other classes (like Cactus testcases). The reason 
is the following code:
      
<j:when test="${lib.dependency.groupId == 'junit' }">
  <!-- ignoring junit dependency as we've already created it -->
</j:when>

This is not always true, because junit dependency is added inside the following 
statement:

  <j:if test="${unitTestSourcesPresent}">
....
....

So, I'm providing a quick fix for this situation.      


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to