Christopher Smith created SUREFIRE-1094:
-------------------------------------------

             Summary: running included tests does not include test dependencies
                 Key: SUREFIRE-1094
                 URL: https://jira.codehaus.org/browse/SUREFIRE-1094
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Failsafe Plugin, Maven Surefire Plugin
    Affects Versions: 2.17
            Reporter: Christopher Smith


When using the {{test-jar}} functionality, the {{test}} dependencies declared 
in the test jar are not added to the runner's classpath, leading to 
{{NoClassDefFoundErrors}} (or silent failures to match annotations on any test 
methods) when running the client project. Explicitly declaring a dependency on 
the upstream project does not help.

I expected the client project to pull in the {{test}} dependencies needed by 
the upstream project when running its tests.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to