eclipse junit version conflict

Discussion in 'Java' started by Martijn, Apr 11, 2007.

  1. Martijn

    Martijn Guest

    Hi,

    My Eclipse project uses JUnit 3.8.1 for unit testing. Recently, I have
    added commons-cli from apache to my project, which requires JUnit 3.7 . Now
    all my other tests want to use 3.7 instead, so the tests break. Is there a
    way to force my tests to use the proper version?

    One "issue" is the fact that I have my project managed with Maven, which
    causes 3.7 to be included into my build path of Eclipse because of the pom
    that comes with common-cli. This is not a problem when I use mvn to build.

    Thanks for the help,

    --
    Martijn
    http://www.sereneconcepts.nl
    Martijn, Apr 11, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul Carey

    Log4j and JUnit conflict

    Paul Carey, May 21, 2004, in forum: Java
    Replies:
    0
    Views:
    1,200
    Paul Carey
    May 21, 2004
  2. V Green
    Replies:
    0
    Views:
    840
    V Green
    Feb 5, 2008
  3. PA Bear [MS MVP]
    Replies:
    0
    Views:
    951
    PA Bear [MS MVP]
    Feb 5, 2008
  4. charles cashion

    css conflict (or html conflict)

    charles cashion, Feb 18, 2009, in forum: HTML
    Replies:
    2
    Views:
    787
    charles cashion
    Feb 18, 2009
  5. Iñaki Baz Castillo
    Replies:
    3
    Views:
    144
    Iñaki Baz Castillo
    Feb 28, 2011
Loading...

Share This Page