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. Advertisements

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. Jan
    Replies:
    0
    Views:
    4,869
  2. Stian Bakken

    eclipse, junit analyzer

    Stian Bakken, Nov 7, 2003, in forum: Java
    Replies:
    1
    Views:
    771
    Alain Javier Guarnieri del Gesu
    Nov 8, 2003
  3. Alexandra Stehman

    eclipse, junit, log4j, & finding log4j.xml

    Alexandra Stehman, Jan 19, 2004, in forum: Java
    Replies:
    0
    Views:
    6,243
    Alexandra Stehman
    Jan 19, 2004
  4. Paul Carey

    Log4j and JUnit conflict

    Paul Carey, May 21, 2004, in forum: Java
    Replies:
    0
    Views:
    1,429
    Paul Carey
    May 21, 2004
  5. Replies:
    4
    Views:
    11,838
    bhakthi
    Mar 4, 2009
  6. MowGreen [MVP]
    Replies:
    5
    Views:
    2,377
    PA Bear [MS MVP]
    Feb 9, 2008
  7. charles cashion

    css conflict (or html conflict)

    charles cashion, Feb 18, 2009, in forum: HTML
    Replies:
    2
    Views:
    1,068
    charles cashion
    Feb 18, 2009
  8. Iñaki Baz Castillo
    Replies:
    3
    Views:
    290
    Iñaki Baz Castillo
    Feb 28, 2011
Loading...