Good day to you, rking999, You may want to try and set your xmlParserAPIs dependency to "test", while the dependency from resin to "compile" or "provided".
Cheers, Franz [1] http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html rking999 wrote: > > Hi, > > The module that I am compiling has a dependancy on resin-x.x.jar which it > needs in order to compile the java source. When running unit tests, > however, it is accessing the DoucmentBuilderFactory in the resin jar > instead of the one in the xmlParserAPIs jar. > > I cant exclude the resin jar as it is needed to compile the java source. > There doesnt seem to be a way to change the order of the test classpath to > move the xmlParserApis jar above the resin one.... > > Any help would be greatly appreciated. thanks in advance. > -- View this message in context: http://www.nabble.com/Test-Classpath-Order-Problems-tf2699502s177.html#a7555769 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
