You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ah...@apache.org on 2005/03/19 00:12:18 UTC
svn commit: r158161 - in
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates:
cvs-usage.xml issue-tracking.xml scm/cvs.xml
Author: aheritier
Date: Fri Mar 18 15:12:17 2005
New Revision: 158161
URL: http://svn.apache.org/viewcvs?view=rev&rev=158161
Log:
MPXDOC-136 : NullPointerException with optionals pom items missing
Modified:
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/cvs-usage.xml
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/issue-tracking.xml
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/scm/cvs.xml
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/cvs-usage.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/cvs-usage.xml?view=diff&r1=158160&r2=158161
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/cvs-usage.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/cvs-usage.xml Fri Mar 18 15:12:17 2005
@@ -34,10 +34,9 @@
</p>
</section>
#else
-
- #set ($url = $escape.getText($repository.url))
-
+
#if ($repository.url && $repository.url != '')
+ #set ($url = $escape.getText($repository.url))
<section name="Web Access">
<p>
<a href="$url">$url</a>
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/issue-tracking.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/issue-tracking.xml?view=diff&r1=158160&r2=158161
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/issue-tracking.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/issue-tracking.xml Fri Mar 18 15:12:17 2005
@@ -26,8 +26,10 @@
<body>
<section name="Issue Tracking">
<p>
+ #if ($project.issueTrackingUrl && $project.issueTrackingUrl != '')
#set ($url = $escape.getText($project.issueTrackingUrl))
<a href="$url">$url</a>
+ #end
</p>
</section>
</body>
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/scm/cvs.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/scm/cvs.xml?view=diff&r1=158160&r2=158161
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/scm/cvs.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/scm/cvs.xml Fri Mar 18 15:12:17 2005
@@ -34,10 +34,9 @@
</p>
</section>
#else
-
- #set ($url = $escape.getText($repository.url))
-
+
#if ($repository.url && $repository.url != '')
+ #set ($url = $escape.getText($repository.url))
<section name="Web Access">
<p>
<a href="$url">$url</a>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org