maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stéphane Nicoll <>
Subject RE: xerces
Date Tue, 26 Oct 2004 14:42:14 GMT
Thanks for the trick. It's ok now.


-----Original Message-----
From: John Casey [] 
Sent: Tuesday, October 26, 2004 4:40 PM
To: Maven Users List
Subject: Re: xerces

Yes, maven has an extdir that includes xerces-2.4.0 and xml-apis-1.0-b2.

You should try specifying 'maven.compile.fork=true' in your to see whether this helps. It should cause the javac 
execution to take place in a new process which is free of the maven 
version of xerces et al.


Stéphane Nicoll wrote:
> Hello list,
> In one of my project I use namely xerces-2.6.2, xalan-2.1.0 and 
> xml-apis-2.0.0. It used to be an ant project which is compiling fine 
> (SUN JDK 1.4.2). Now I moved to a maven project with exactly the same 
> dependencies (I checked 3 times and even copy the lib from the ant 
> project directly in my maven repo), I still have the same issue:
> isXMLName(java.lang.String) in org.apache.xerces.dom.CoreDocumentImpl 
> cannot be applied to (java.lang.String,boolean)
> Having checked the API, it seems to be a change since xerces2 which I 
> have. Putting my dependencies in IDEA and compiling just work fine, as 
> my ant project. Is Maven using a given xerces version which is 
> overiding my dependency somehow?
> Regards,
> Stéphane                              
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message