maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1384361 - /maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
Date Thu, 13 Sep 2012 15:10:01 GMT
Author: olamy
Date: Thu Sep 13 15:10:00 2012
New Revision: 1384361

URL: http://svn.apache.org/viewvc?rev=1384361&view=rev
Log:
[MSKINS-68] clean for <?xml version="1.0" encoding="UTF-8"?> in footer.
Submitted by Eric Barboni.

Modified:
    maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm

Modified: maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm?rev=1384361&r1=1384360&r2=1384361&view=diff
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm (original)
+++ maven/skins/trunk/maven-fluido-skin/src/main/resources/META-INF/maven/site.vm Thu Sep
13 15:10:00 2012
@@ -1057,6 +1057,8 @@
         #if ( $decoration.body.footer )
           #foreach( $item in $decoration.body.footer.getChildren() )
             #set ( $foot = $item.toString().trim() )
+            #set ( $documentHeader = '<?xml version="1.0" encoding="UTF-8"?>' )
+            #set ( $foot = $StringUtils.replace( $foot.toString(), $documentHeader, "" )
)
             ## Workaround for http://jira.codehaus.org/browse/MSITE-135
             ## Use StringUtils untill http://jira.codehaus.org/browse/DOXIASITETOOLS-67 is
fixed
             ## #eval macro not supported yet, that is a silly turnaround to allow ASF projects
adopt fluido



Mime
View raw message