I'm compiling the same classes with the same libraries under Rh7.3 and JDK 1.4.1. once with ant and once with maven. Here's the thing:
With ant it compiles!
With maven (0.8 and latest) it doesn't:
xmlserializer/RootHandler.java:192: unreported exception java.io.IOException; must be caught or declared to be thrown
return super.resolveEntity(publicId, systemId);
RootHander implements org.xml.sax.DefaultHandler
I checked the org.xml.sax.DefaultHandler in the JDK 1.4.1 and it doesn't require
resolveEntity() to throw an IOException, where as in
maven/repository/xml-apis/jars/xml-apis-1.0.b2.jar
it does.
It seems like xml-apis-1.0.b2.jar somehow sneaks into the compile classpath,
although it doesn't show with the maven -X option!!!
Does anyone have similar problems? Is there a work around?
Cheers
Justinus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]