Fixed source repository and issue tracking url's being added to nav even if the elements in the pom were empty
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114149 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-xdoc-plugin</id>
|
||||
<name>Maven XDoc Plug-in</name>
|
||||
<currentVersion>1.4</currentVersion>
|
||||
<currentVersion>1.5-SNAPSHOT</currentVersion>
|
||||
<shortDescription>Convert xdocs into HTML</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/xdoc/</url>
|
||||
<siteDirectory>/www/maven.apache.org/reference/plugins/xdoc/</siteDirectory>
|
||||
|
||||
@@ -16,11 +16,13 @@
|
||||
<item name="Project Team" href="/team-list.html"/>
|
||||
<item name="Dependencies" href="/dependencies.html"/>
|
||||
|
||||
<j:if test="${!empty(pom.repository.url)}">
|
||||
<j:set var="url" value="${pom.repository.url}"/>
|
||||
<j:if test="${!empty(url)}">
|
||||
<item name="Source Repository" href="/cvs-usage.html"/>
|
||||
</j:if>
|
||||
|
||||
<j:if test="${!empty(pom.issueTrackingUrl)}">
|
||||
<j:set var="url" value="${pom.issueTrackingUrl}"/>
|
||||
<j:if test="${!empty(url)}">
|
||||
<item name="Issue Tracking" href="/issue-tracking.html"/>
|
||||
</j:if>
|
||||
</item>
|
||||
|
||||
@@ -6,6 +6,13 @@
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<release version="1.5" date="in CVS">
|
||||
<action dev="dion" type="fix">
|
||||
Fixed empty scm repository and issue tracking URL still being added
|
||||
to the project nav
|
||||
</action>
|
||||
</relase>
|
||||
|
||||
<release version="1.4" date="2003-09-29">
|
||||
<action dev="dion" type="fix">
|
||||
Applied Maven-756. cvs-usage.xml breaks on non-cvs scm URL
|
||||
|
||||
Reference in New Issue
Block a user