Author: ltheussl Date: Tue Feb 7 12:01:43 2006 New Revision: 375679 URL: http://svn.apache.org/viewcvs?rev=375679&view=rev Log: PR: MPCHECKSTYLE-53 ClassCastException when moving from 2.5 to 3.0. Make sure xalan is used for ant's style task.
Modified: maven/maven-1/plugins/trunk/checkstyle/plugin.jelly maven/maven-1/plugins/trunk/checkstyle/project.xml maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml Modified: maven/maven-1/plugins/trunk/checkstyle/plugin.jelly URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/checkstyle/plugin.jelly?rev=375679&r1=375678&r2=375679&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/checkstyle/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/checkstyle/plugin.jelly Tue Feb 7 12:01:43 2006 @@ -232,6 +232,9 @@ <mkdir dir="${maven.gen.docs}/checkstyle"/> + <!-- Make sure xalan is used for ant's style task --> + ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')} + <style in="${maven.checkstyle.output.xml}" out="${maven.checkstyle.output.summary.xml}" Modified: maven/maven-1/plugins/trunk/checkstyle/project.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/checkstyle/project.xml?rev=375679&r1=375678&r2=375679&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/checkstyle/project.xml (original) +++ maven/maven-1/plugins/trunk/checkstyle/project.xml Tue Feb 7 12:01:43 2006 @@ -22,7 +22,7 @@ <pomVersion>3</pomVersion> <id>maven-checkstyle-plugin</id> <name>Maven Checkstyle Plugin</name> - <currentVersion>3.0</currentVersion> + <currentVersion>3.0.1-SNAPSHOT</currentVersion> <description/> <shortDescription>Produce Checkstyle report</shortDescription> <url>http://maven.apache.org/maven-1.x/reference/plugins/checkstyle/</url> @@ -176,6 +176,15 @@ <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils-core</artifactId> <version>1.7.0</version> + <properties> + <classloader>root</classloader> + </properties> + </dependency> + <dependency> + <groupId>xalan</groupId> + <artifactId>xalan</artifactId> + <version>2.4.1</version> + <url>http://xml.apache.org/xalan-j/</url> <properties> <classloader>root</classloader> </properties> Modified: maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml?rev=375679&r1=375678&r2=375679&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/checkstyle/xdocs/changes.xml Tue Feb 7 12:01:43 2006 @@ -24,6 +24,9 @@ <author email="[EMAIL PROTECTED]">Emmanuel Venisse</author> </properties> <body> + <release version="3.0.1" date="in SVN"> + <action dev="ltheussl" type="fix" issue="MPCHECKSTYLE-53" due-to="Bernard Durfee">ClassCastException when moving from 2.5 to 3.0. Xalan is used for ant's style task.</action> + </release> <release version="3.0" date="2006-02-05"> <action dev="ltheussl" type="update">Upgraded to checkstyle 4.1.</action> <action dev="carlos" type="fix" issue="MPCHECKSTYLE-39">Do not assert ASF copyright in checkstyle.rss.</action>