I'm not sure whether I'm not using dependencies correctly or this is a
bug, but the situation is as follows:

I have a junit 4.1 dependency in my project (and also xmlbeans).
Now xmlbeans happens to have a dependency on junit 3.8.

The problem is that my project uses junit 4 annotations BUT maven simply
ignores my dependency and is totally content with junit3.8 on the
classpath. Needless to say that the compilation fails.

The funny thing though is if I run dependency:resolve immediately prior
to compiler:testCompile it works just fine. (I suppose because xmlbeans
is not used in the testCompile run).

I'd appreciate any help on this.

Thanks in advance,
Severin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to