maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steph...@apache.org
Subject svn commit: r1133705 - in /maven/plugin-tools/trunk/maven-plugin-tools-api: pom.xml src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java
Date Thu, 09 Jun 2011 08:21:04 GMT
Author: stephenc
Date: Thu Jun  9 08:21:03 2011
New Revision: 1133705

URL: http://svn.apache.org/viewvc?rev=1133705&view=rev
Log:
[MPLUGIN-173] Start using net.sf.jtidy artifact with correct I/O encoding
Submitted by: Stanislav Ochotnicky

o Applied without change

Modified:
    maven/plugin-tools/trunk/maven-plugin-tools-api/pom.xml
    maven/plugin-tools/trunk/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java

Modified: maven/plugin-tools/trunk/maven-plugin-tools-api/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-api/pom.xml?rev=1133705&r1=1133704&r2=1133705&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-api/pom.xml (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-api/pom.xml Thu Jun  9 08:21:03 2011
@@ -83,9 +83,9 @@
 
     <!-- misc -->
     <dependency>
-      <groupId>jtidy</groupId>
+      <groupId>net.sf.jtidy</groupId>
       <artifactId>jtidy</artifactId>
-      <version>4aug2000r7-dev</version>
+      <version>r938</version>
     </dependency>
 
     <!-- test -->

Modified: maven/plugin-tools/trunk/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java?rev=1133705&r1=1133704&r2=1133705&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java
(original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java
Thu Jun  9 08:21:03 2011
@@ -265,7 +265,8 @@ public final class PluginUtils
         tidy.setDocType( "loose" );
         tidy.setXHTML( true );
         tidy.setXmlOut( true );
-        tidy.setCharEncoding( Configuration.UTF8 );
+        tidy.setInputEncoding("UTF-8");
+        tidy.setOutputEncoding("UTF-8");
         tidy.setMakeClean( true );
         tidy.setNumEntities( true );
         tidy.setQuoteNbsp( false );



Mime
View raw message