Author: hboutemy
Date: Sat Apr 2 20:37:24 2016
New Revision: 1737527
URL: http://svn.apache.org/viewvc?rev=1737527&view=rev
Log:
improved explanations about head and footer change from XML to String
Modified:
maven/plugins/trunk/maven-site-plugin/src/site/apt/migrate.apt
Modified: maven/plugins/trunk/maven-site-plugin/src/site/apt/migrate.apt
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/apt/migrate.apt?rev=1737527&r1=1737526&r2=1737527&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/site/apt/migrate.apt (original)
+++ maven/plugins/trunk/maven-site-plugin/src/site/apt/migrate.apt Sat Apr 2
20:37:24 2016
@@ -56,8 +56,18 @@ Migrate
* Site Decoration Model has changed type for <<<head>>> and <<<footer>>>
from <<<DOM>>> to <<<String>>>:
if your <<<site.xml>>> (or one parent) contains XML content, you'll need to
escape it, usually by
- adding <<<\<![CDATA[>>> and <<<]]\>>>>.
-
+ adding <<<\<![CDATA[>>> and <<<]]\>>>> around the content:
+
++-----------------+
+ <body>
+ <head>
+ <![CDATA[<anyHeadElement/>]]>
+ </head>
+ <footer>
+ <![CDATA[<anyFooterElement/>]]>
+ </footer>
++-----------------+
+
*
[]