o little template for an automatically created download page. This is going
to require an addition to the POM of a distributionUrl for end-users. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
23
xdoc/src/plugin-resources/templates/downloads.xml
Normal file
23
xdoc/src/plugin-resources/templates/downloads.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="$encoding" ?>
|
||||
<document>
|
||||
|
||||
<!--
|
||||
| Looks like for sanity we most likely must provide a distribution URL as
|
||||
| the distributionSite and distributionDirectory don't map to anything
|
||||
| useful from the web.
|
||||
-->
|
||||
|
||||
<properties>
|
||||
<title>Downloads</title>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section name="Downloads">
|
||||
<p>
|
||||
#set ($url = $escape.getText($project.distributionUrl))
|
||||
<a href="$url">$url</a>
|
||||
</p>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
Reference in New Issue
Block a user