- use m2 directories layout
- add a new page with the commands to download the plugins git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@409757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<project xmlns:ant="jelly:ant" xmlns:i="jelly:interaction" xmlns:j="jelly:core" xmlns:maven="jelly:maven">
|
||||
<project xmlns:ant="jelly:ant" xmlns:i="jelly:interaction" xmlns:j="jelly:core" xmlns:maven="jelly:maven" xmlns:doc="doc">
|
||||
<goal name="plugins:build-all-sites" description="Create the web site for all plugins and for the root site">
|
||||
<!-- And we generate & deploy the root site -->
|
||||
<attainGoal name="multiproject:site"/>
|
||||
@@ -51,4 +51,7 @@
|
||||
<postGoal name="site">
|
||||
<ant:move file="${maven.docs.dest}/projects-overview.html" tofile="${maven.docs.dest}/index.html"/>
|
||||
</postGoal>
|
||||
<postGoal name="multichanges:report">
|
||||
<doc:jsl input="${maven.multichanges.data}" output="downloadPlugins.xml" stylesheet="${basedir}/src/site/jelly/downloadPlugins.jsl" outputMode="xml" prettyPrint="false"/>
|
||||
</postGoal>
|
||||
</project>
|
||||
|
||||
@@ -50,3 +50,4 @@ maven.multiproject.ignoreFailures=true
|
||||
# XDOC plugin settings
|
||||
#=====
|
||||
maven.xdoc.version =
|
||||
maven.docs.src=${basedir}/src/site/xdoc
|
||||
|
||||
45
plugins-site/src/site/jelly/downloadPlugins.jsl
Normal file
45
plugins-site/src/site/jelly/downloadPlugins.jsl
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
* ========================================================================
|
||||
*
|
||||
* Copyright 2005 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.
|
||||
*
|
||||
* ========================================================================
|
||||
-->
|
||||
<jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:x="jelly:xml" xmlns:maven="jelly:maven" xmlns="dummy" trim="false" escapeText="false">
|
||||
<jsl:template match="releases" escapeText="false">
|
||||
<document>
|
||||
<properties>
|
||||
<title>Download plugins</title>
|
||||
</properties>
|
||||
<body>
|
||||
<section name="Download releases">
|
||||
<p>You can automatically install the last versions of the plugins with the commands below :</p>
|
||||
<x:set var="projects" sort="@artifactId" descending="false" select="project"/>
|
||||
<source>
|
||||
<j:forEach var="project" items="${projects}">maven plugin:download -DgroupId=maven -DartifactId=<x:expr select="$project/@artifactId"/> -Dversion=<x:expr select="$project/@version"/>
|
||||
</j:forEach>
|
||||
</source>
|
||||
</section>
|
||||
<section name="Download snapshots">
|
||||
<p>The command to download a snapshot is :</p>
|
||||
<source>maven plugin:download -DgroupId=maven -DartifactId=<i><maven-XXX-plugin></i> -Dversion=<i><X.Y.Z></i>-SNAPSHOT -Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/</source>
|
||||
<p>We can't give you the list of the snapshots deployed by our developers, but you can find them here : <a href="http://people.apache.org/repository/maven/plugins/" target="_blank">http://people.apache.org/repository/maven/plugins/</a>
|
||||
</p>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
</jsl:template>
|
||||
</jsl:stylesheet>
|
||||
@@ -29,8 +29,9 @@
|
||||
</links>
|
||||
<menu name="Overview">
|
||||
<item name="Plugins list" href="/index.html"/>
|
||||
<item name="FAQ" href="/faq.html"/>
|
||||
<item name="Last releases" href="/multichanges-report.html"/>
|
||||
<item name="Download them" href="/downloadPlugins.html"/>
|
||||
<item name="FAQ" href="/faq.html"/>
|
||||
<item name="Dependencies" href="/dependency-convergence-report.html"/>
|
||||
</menu>
|
||||
<search/>
|
||||
Reference in New Issue
Block a user