Bug #18
Remove junit from compile scope
| Status : | Closed | Start : | 10/21/2008 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | Kaare Nilsen | % Done : | 0% |
|
| Category : | - | Spent time : | - | |
| Target version : | - | Estimated time : | 0.00 hours | |
Description
According to mvn dependency:tree junit is brought into the compile scope with org.springframework:spring-test:jar:2.5.4:compile:
[INFO] | \- no.arktekk.labs:staged-spring-core:jar:1.1:compile
[INFO] | +- no.arktekk.labs:staged-spring-api:jar:1.1:compile
[INFO] | +- no.arktekk.labs:staged-spring-annotations:jar:1.1:compile
[INFO] | +- org.springframework:spring-web:jar:2.5.4:compile
[INFO] | +- org.springframework:spring-test:jar:2.5.4:compile
[INFO] | | \- junit:junit:jar:3.8.1:compile
[INFO] | +- org.springframework:spring-aop:jar:2.5.4:compile
[INFO] | \- javax.annotation:jsr250-api:jar:1.0:compile
Can org.springframework:spring-test be set to test scope?
Related issues
History
10/21/2008 05:14 PM - Kaare Nilsen
- Assigned to set to Kaare Nilsen
- Status changed from New to Assigned
Yeah..
This is because I have a Junit4 helper class for making integration tests easier. It should not have been in the core module at all, but separated into a stage-spring-test module. I could create a 1.1.1 pretty soon with that done. Until then spring-test unfortunately ends up with compile scope.