I get the following after I upgraded from 2.5 to 3.0...

BUILD FAILED
File...... \home\.maven\cache\maven-checkstyle-plugin-3.0\plugin.jelly
Element... style
Line...... 238
Column.... 59
java.lang.ClassCastException:
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser

...I have the Xerces libraries in the JRE's "lib/endorsed" directory,
but I have the Oracle XML parser specified as the TransformerFactory.
Does this mean that CheckStyle is now dependant on having Xerces be the
"active" XML parser?

Bernie



> -----Original Message-----
> From: Eric Rose [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 07, 2006 12:09 AM
> To: Maven Users List
> Subject: Re: [ANN] Maven Checkstyle Plugin 3.0 for Maven 1.x released
> 
> 
> On Tuesday 07 February 2006 06:18, [EMAIL PROTECTED] wrote:
> > We are pleased to announce the Maven Checkstyle Plugin 3.0 release!
> >
> > http://maven.apache.org/maven-1.x/reference/plugins/checkstyle/
> 
> Hi,
> 
> I'm using Maven 1.0.2 and had been running with no errors 
> using the Checkstyle 
> Plugin 2.5, but am getting the following after upgrading to 
> version 3.0:
> 
> checkstyle:init:
> 
> checkstyle:report:
> checkstyle:run:
>     [echo] Using 
> file:/usr/local/forge/ForgeLibs/BuildTools/etc/checkstyle.xml 
> for checkstyle ...
>     [echo] LocaleCountry : en
>     [checkstyle] Running Checkstyle 4.1 on 1396 files
> 
> checkstyle:report-internal:
>     [style] 
> Processing 
> /home/ericr/workspace/mapIntelligence/tmp/checkstyle/checkstyl
> e-raw-report.xml 
> to 
> /home/ericr/workspace/mapIntelligence/tmp/checkstyle/checkstyl
> e-summary-report.xml
>     [style] Loading 
> stylesheet 
> /usr/local/mavenPluginRepository/cache/maven-checkstyle-plugin
> -3.0/plugin-resources/checkstyle-summary.xsl
> 
> BUILD FAILED
> File...... 
> /usr/local/mavenPluginRepository/cache/maven-checkstyle-plugin
> -3.0/plugin.jelly
> Element... style
> Line...... 238
> Column.... 59
> Provider for javax.xml.transform.TransformerFactory cannot be found
> Total time: 36 seconds
> Finished at: Tue Feb 07 15:58:56 EST 2006
> 
> 
> 
> I presume that I'll have to add 
> -Djavax.xml.transform.TransformerFactory=org.apache.xalan.proc
> essor.TransformerFactoryImpl 
> somewhere, but I'm not sure where best to put it or of 
> there's a better 
> solution. Any clues?
> 
> Eric
> 
> -- 
> Eric Rose              | "Sed quis custodiet ipsos custodes?"
> [EMAIL PROTECTED]       |         Juvenal (Satires, VI.347-8)
> 
> **************************************************************
> *********
> This message contains privileged and confidential information intended
> only for the use of the addressee named above.  If you are not the
> intended recipient of this message you must not disseminate, copy or
> take any action in reliance on it.  If you have received this message
> in error please notify the sender immediately.  Any views expressed in
> this message are those of the individual sender, except where the
> sender specifically states them to be the views of another (including
> a Body Corporate).
> 
> If you wish to opt out from future messages, send an email to
> [EMAIL PROTECTED] with the subject UNSUBSCRIBE
> **************************************************************
> **********
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to