MPXDOC-170: Make 'Development Process' an internal page
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@289889 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
5ecc47e906
commit
7c17ebe1e8
3 files changed
+54
-18
No files matched your search
@@ -61,6 +61,7 @@ maven.xdoc.pomDocuments = cvs-usage.xml,\
|
||||
mail-lists.xml,\
|
||||
project-info.xml,\
|
||||
team-list.xml,\
|
||||
development-process.jelly,\
|
||||
downloads.jelly
|
||||
|
||||
maven.xdoc.projectInfo = cvs-usage.xml,\
|
||||
|
||||
@@ -87,24 +87,9 @@
|
||||
</j:if>
|
||||
</j:forEach>
|
||||
</item>
|
||||
<j:set var="devProcess" value="false" />
|
||||
<util:available file="${maven.docs.src}/development-process.xml">
|
||||
<j:set var="devProcess" value="true" />
|
||||
</util:available>
|
||||
<j:if test="${devProcess}">
|
||||
<item key="navigation.menu.item.development_process"
|
||||
bundle="plugin-resources.templates.templates"
|
||||
name="Development Process" href="/development-process.html" />
|
||||
</j:if>
|
||||
<j:if test="${!devProcess}">
|
||||
<j:set var="devProcessUrl"
|
||||
value="${maven.xdoc.developmentProcessUrl}" />
|
||||
<j:if test="${!empty(devProcessUrl)}">
|
||||
<item key="navigation.menu.item.development_process"
|
||||
bundle="plugin-resources.templates.templates"
|
||||
name="Development Process" href="${devProcessUrl}" />
|
||||
</j:if>
|
||||
</j:if>
|
||||
<item key="navigation.menu.item.development_process"
|
||||
bundle="plugin-resources.templates.templates"
|
||||
name="Development Process" href="/development-process.html" />
|
||||
</menu>
|
||||
</j:if>
|
||||
</body>
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<!--
|
||||
* ========================================================================
|
||||
*
|
||||
* Copyright 2001-2004 The Apache Software Foundation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* ========================================================================
|
||||
-->
|
||||
|
||||
<project
|
||||
xmlns:j="jelly:core"
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:util="jelly:util"
|
||||
xmlns:x="jelly:xml">
|
||||
|
||||
|
||||
<document>
|
||||
<properties>
|
||||
<title key="navigation.menu.item.development_process"
|
||||
bundle="plugin-resources.templates.templates">
|
||||
<message key="navigation.menu.item.development_process"
|
||||
bundle="plugin-resources.templates.templates" />
|
||||
</title>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section key="navigation.menu.item.development_process"
|
||||
bundle="plugin-resources.templates.templates"
|
||||
name="Development Process">
|
||||
<j:set
|
||||
var="dev_link"
|
||||
value="${context.getVariable('maven.xdoc.developmentProcessUrl')}"/>
|
||||
<p><a href="${dev_link}">${dev_link}</a></p>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
</project>
|
||||
Reference in new issue
Block a user