Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- 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.0-beta-10 1.0-rc1 Assignee: Reporter: Karl Kyck Created: Wed, 22 Oct 2003 5:19 AM Updated: Wed, 22 Oct 2003 5:19 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]
