M2 Classpath issue

2008-03-13 Thread ben short
Hi, I am adding some Unit tests to a legacy application before I make any changes. As part of the tests I start the application. When the application starts it scans all the classes on the classpath. Unfortunately the only jar on the classpath is the classworlds.jar due to the way maven handles

Re: M2 Classpath issue

2008-03-13 Thread Wayne Fay
This has come up several times on this list, as recently as a week ago, and people have discussed strategies for dealing with it etc. One thread in particular you will want to read is: date Mar 5, 2008 5:07 PM subject java.class.path and the surefire-plugin For more info, go to Nabble.com and

Re: M2 Classpath issue

2008-03-13 Thread ben short
Wayne, Thanks for pointing this out. Regards Ben Short On Thu, Mar 13, 2008 at 2:39 PM, Wayne Fay [EMAIL PROTECTED] wrote: This has come up several times on this list, as recently as a week ago, and people have discussed strategies for dealing with it etc. One thread in particular you

RE: [M2] Classpath issue

2007-02-26 Thread Siegmann Daniel, NY
:44 PM To: Maven Users List Subject: Re: [M2] Classpath issue There is some other version of xerces in your classpath? Kind Regards, On 2/23/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: I am trying to convert a project from Maven1 to Maven2. Should be simple, but I am getting

[M2] Classpath issue

2007-02-23 Thread Siegmann Daniel, NY
I am trying to convert a project from Maven1 to Maven2. Should be simple, but I am getting a ClassNotFoundException on the following line in my code when running JUnit tests through Maven: XMLReaderFactory.createXMLReader(org.apache.xerces.parsers.SAXParser) This class is in xerces-2.4.0.jar, I

Re: [M2] Classpath issue

2007-02-23 Thread Marcos Silva Pereira
There is some other version of xerces in your classpath? Kind Regards, On 2/23/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: I am trying to convert a project from Maven1 to Maven2. Should be simple, but I am getting a ClassNotFoundException on the following line in my code when running