blob: c4942b532e1f459e4d7d97d264dcb019fc465da7 [file] [log] [blame]
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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.
-->
<!-- svn helper
***********************
-->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:components>
<map:pipes default="caching" />
<map:generators default="file" />
<map:transformers default="xslt" />
<map:serializers default="xml" />
</map:components>
<map:pipelines>
<map:pipeline>
<map:match pattern="*.svn.xml">
<map:aggregate element="svn">
<map:part src="{lm:projectInfo.svn.log.dir}{0}"/>
<map:part src="{lm:projectInfo.svn.mapper}"/>
</map:aggregate>
<map:transform src="resources/stylesheets/svn-to-changes.xsl" />
<map:transform src="{lm:projectInfo.transform.changes.document}" >
<map:parameter name="bugtracking-url" value="{properties:forrest.bugtracking-url}"/>
<map:parameter name="path" value="{1}"/>
<map:parameter name="projectInfo.changes.sort" value="{properties:projectInfo.changes.sort}"/>
<map:parameter name="projectInfo.changes.includeCommitterList" value="{properties:projectInfo.changes.includeCommitterList}"/>
<map:parameter name="projectInfo.changes.includeContributorList" value="{properties:projectInfo.changes.includeContributorList}"/>
</map:transform>
<map:serialize type="xml-document"/>
</map:match>
<map:match pattern="*.svn-revision.xml">
<map:generate src="{lm:projectInfo.svn.log.dir}{1}.svn.xml"/>
<map:transform src="resources/stylesheets/svn-to-revision.xsl" />
<map:transform src="resources/stylesheets/first-last-revision.xsl" />
<map:serialize type="xml"/>
</map:match>
<map:match pattern="*.svn-sh.xml">
<map:generate src="cocoon:/{1}.svn-revision.xml"/>
<map:transform src="resources/stylesheets/svn-log.xsl">
<map:parameter value="{lm:project.svn.url}" name="url"/>
<map:parameter value="{properties:projectInfo.svn.ext}" name="ext"/>
<map:parameter value="{properties:projectInfo.svn.path-prefix}" name="path-prefix"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>