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 2009/07/24 11:43:54 UTC
svn commit: r797393 -
/maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml
Author: ltheussl
Date: Fri Jul 24 09:43:54 2009
New Revision: 797393
URL: http://svn.apache.org/viewvc?rev=797393&view=rev
Log:
add missing CDATA
Modified:
maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml
Modified: maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml?rev=797393&r1=797392&r2=797393&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml (original)
+++ maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml Fri Jul 24 09:43:54 2009
@@ -55,15 +55,14 @@
This happens because the Site Plugin tries to make all URLs relative,
when possible. If you have something like this defined in your
<code>pom.xml</code>:
- <source>
-<url>http://www.your.site.com/</url></source>
+ <source><![CDATA[<url>http://www.your.site.com/</url>]]></source>
and create links in your <code>site.xml</code> (just an example) like
this:
<source>
-<links>
+<![CDATA[<links>
<item name="Your Site" href="http://www.your.site.com/"/>
<item name="Maven 2" href="http://maven.apache.org/maven2/"/>
-</links></source>
+</links>]]></source>
You will see that the link to "Your site" will be a relative one, but
that the link to "Maven 2" will be an absolute link.
</p>
@@ -100,7 +99,7 @@
want to use a custom format like Twiki, you need to specify the
Doxia Twiki dependency, i.e.:
<source>
-<project>
+<![CDATA[<project>
...
<build>
<plugins>
@@ -119,8 +118,7 @@
</plugins>
</build>
...
-</project>
- </source>
+</project>]]></source>
</p>
</answer>
</faq>