The following issue has been updated:

    Updater: dion gillard (mailto:[EMAIL PROTECTED])
       Date: Sun, 9 Nov 2003 8:47 AM
    Changes:
             Version changed to 1.1
             Version changed from 1.0-beta-10
             Version changed from 1.0-rc1
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-958&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-958


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-958
    Summary: junit dependency should be added to classpath even when tests do not exist
       Type: Bug

     Status: Unassigned
   Priority: Trivial

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-eclipse
   Versions:
             1.1

   Assignee: 
   Reporter: Karl Kyck

    Created: Wed, 22 Oct 2003 5:19 AM
    Updated: Sun, 9 Nov 2003 8:47 AM
Environment: Windows XP SP1, P4 2.6GHz, 512Mb DDR 400

Description:
Created a fresh project.xml with a junit dependency so tests could be written 
immediately after the .project and .classpath entries were generated, however the 
junit dependency had not been added to the classpath.

As a test/fix this code

<j:if test="${pom.getDependency('junit') != null}">
  <j:set var="depVersion" value="${pom.getDependency('junit').getVersion()}"/>
</j:if>

was moved outside of the 

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

if block, and it worked fine.


---------------------------------------------------------------------
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