You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2005/10/05 08:09:05 UTC

svn commit: r295002 - /maven/maven-1/plugins/trunk/multiproject/plugin.jelly

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>