Fix for MAVEN-698. Fix the broken build if repository/connection is not present.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113863 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse 2003-08-20 17:20:42 +00:00
parent 7c1e3ca241
commit 494db47ca5
2 changed files with 7 additions and 4 deletions

View File

@ -17,11 +17,9 @@
</section>
#else
#set ($conn = $repository.getCvsRoot($repository.connection, ''))
#set ($module = $repository.getCvsModule($repository.connection))
#set ($url = $escape.getText($repository.url))
#if ($repository.url)
#if ($repository.url && $repository.url != '')
<section name="Web Access">
<p>
<a href="$url">$url</a>
@ -30,6 +28,8 @@
#end
#if ($repository.connection && $repository.connection != '')
#set ($conn = $repository.getCvsRoot($repository.connection, ''))
#set ($module = $repository.getCvsModule($repository.connection))
<section name="Anonymous CVS Access">
<p>
This project's CVS repository can be checked out through anonymous (pserver)
@ -75,7 +75,7 @@
</section>
#end
#if ($repository.url)
#if ($repository.url && $repository.url != '')
<section name="CVS Access behind a firewall">
<p>

View File

@ -7,6 +7,9 @@
<body>
<release version="1.4" date="in CVS">
<action dev="evenisse" type="fix">
Fix for MAVEN-698. Fix the broken build if repository/connection is not present .
</action>
<action dev="dion" type="fix">
Fixed bug where top level xdocs were using xdocs/navigation.xml instead of the generated
one when it was available.