maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r295002 - /maven/maven-1/plugins/trunk/multiproject/plugin.jelly
Date Wed, 05 Oct 2005 06:09:05 GMT
Author: ltheussl
Date: Tue Oct  4 23:09:04 2005
New Revision: 295002

URL: http://svn.apache.org/viewcvs?rev=295002&view=rev
Log:
MPMULTIPROJECT-61: do not escape xml as text in overview page transformation

Modified:
    maven/maven-1/plugins/trunk/multiproject/plugin.jelly

Modified: maven/maven-1/plugins/trunk/multiproject/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/multiproject/plugin.jelly?rev=295002&r1=295001&r2=295002&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/multiproject/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/multiproject/plugin.jelly Tue Oct  4 23:09:04 2005
@@ -185,13 +185,16 @@
     
     <j:if test="${overviewPageCreate=='true'}">      
       <ant:echo>Creating overview page</ant:echo>
-      <j:set var="encoding" value="${maven.docs.outputencoding}"/>
-        <doc:jslFile
-            output="${maven.gen.docs}/${overviewPageLink}.xml"
-            stylesheet="${plugin.resources}/templates/projects-overview.jelly"
-            encoding="${encoding}"
-            outputMode="xml"
-            prettyPrint="true"/>
+      <j:set var="stylesheetURI" value="file:${plugin.resources}/templates/projects-overview.jelly"/>
+      <j:file
+        name="${maven.gen.docs}/${overviewPageLink}.xml"
+        encoding="${maven.docs.outputencoding}"
+        omitXmlDeclaration="false"
+        escapeText="false"
+        outputMode="xml"
+        prettyPrint="true">
+        <j:include uri="${stylesheetURI.toString()}"/>
+      </j:file>
     </j:if>
  
   </goal>



Mime
View raw message