The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Sun, 9 May 2004 7:03 PM
       Body:
This problem is due to ant. I'm not sure that we must try to fix this in maven.
---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPANT-10&page=comments#action_19596

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPANT-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANT-10
    Summary: required jars for targets are not used with the taskdef target
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-ant-plugin
   Versions:
             1.5

   Assignee: 
   Reporter: Thomas Wabner

    Created: Thu, 12 Feb 2004 8:28 AM
    Updated: Sun, 9 May 2004 7:03 PM
Environment: Linux, jdk 1.4

Description:
The build.xml file requires for example junit to run tests. Here the ant-plugin 
creates a dependency and downloaded all required jars to target/lib . The plugin also 
creates a junit-target to run all junit-tests. But if you don't have junit copied into 
you ant-lib dir, the ant process fails, while it cannot run the target.

The solution should be to add a taskdef definition for all non-standard-targets to the 
build.xml file, for example for junit, and then add for the junit-taskdef the 
target/lib/junit-version.jar file to the taskdef.


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