[ 
https://issues.apache.org/jira/browse/SUREFIRE-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold closed SUREFIRE-1094.
-------------------------------------------

> running included tests does not include test dependencies
> ---------------------------------------------------------
>
>                 Key: SUREFIRE-1094
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1094
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Failsafe Plugin, Maven Surefire Plugin
>    Affects Versions: 2.17
>            Reporter: Christopher Smith
>            Priority: Major
>
> 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. Overriding the dependency 
> scope on the upstream's dependencies to {{compile}} causes the client project 
> to resolve the dependencies.
> 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
(v8.3.4#803005)

Reply via email to