Hi all,

maybe somebody has an idea on how to solve this one:

My tests depend on commons-lang 2.4.
When running my tests with surefire in the manifest-only-jar-mode, the 
classpath in the jar is contains commons-lang twice:
- Once commons-lang-2.1 at the top with all the other surefire stuff as a 
dependency of surefire itself.
- Once commons-lang-2.4 more to the bottom - that's my dependency.

Now it depends on where a class is loaded from, and in all my tests always the 
2.1-version is loaded. Leaving my tests (which depend on methods which only 
exist in 2.4 of classes which also exist in 2.1) fail with method not found 
exceptions.

Thanks in advance,

Flo

-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to