maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherit...@apache.org
Subject svn commit: r409757 - in /maven/maven-1/plugins/trunk/plugins-site: ./ src/ src/site/ src/site/jelly/ src/site/xdoc/ xdocs/
Date Fri, 26 May 2006 21:42:07 GMT
Author: aheritier
Date: Fri May 26 14:42:06 2006
New Revision: 409757

URL: http://svn.apache.org/viewvc?rev=409757&view=rev
Log:
- use m2 directories layout
- add a new page with the commands to download the plugins

Added:
    maven/maven-1/plugins/trunk/plugins-site/src/
    maven/maven-1/plugins/trunk/plugins-site/src/site/
    maven/maven-1/plugins/trunk/plugins-site/src/site/jelly/
    maven/maven-1/plugins/trunk/plugins-site/src/site/jelly/downloadPlugins.jsl
    maven/maven-1/plugins/trunk/plugins-site/src/site/xdoc/
    maven/maven-1/plugins/trunk/plugins-site/src/site/xdoc/faq.fml
      - copied unchanged from r409308, maven/maven-1/plugins/trunk/plugins-site/xdocs/faq.fml
    maven/maven-1/plugins/trunk/plugins-site/src/site/xdoc/navigation.xml
      - copied, changed from r409308, maven/maven-1/plugins/trunk/plugins-site/xdocs/navigation.xml
Removed:
    maven/maven-1/plugins/trunk/plugins-site/xdocs/faq.fml
    maven/maven-1/plugins/trunk/plugins-site/xdocs/navigation.xml
Modified:
    maven/maven-1/plugins/trunk/plugins-site/maven.xml
    maven/maven-1/plugins/trunk/plugins-site/project.properties

Modified: maven/maven-1/plugins/trunk/plugins-site/maven.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/plugins-site/maven.xml?rev=409757&r1=409756&r2=409757&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/plugins-site/maven.xml (original)
+++ maven/maven-1/plugins/trunk/plugins-site/maven.xml Fri May 26 14:42:06 2006
@@ -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"/>
@@ -50,5 +50,8 @@
   </goal>
   <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>

Modified: maven/maven-1/plugins/trunk/plugins-site/project.properties
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/plugins-site/project.properties?rev=409757&r1=409756&r2=409757&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/plugins-site/project.properties (original)
+++ maven/maven-1/plugins/trunk/plugins-site/project.properties Fri May 26 14:42:06 2006
@@ -50,3 +50,4 @@
 # XDOC plugin settings
 #=====
 maven.xdoc.version =
+maven.docs.src=${basedir}/src/site/xdoc

Added: maven/maven-1/plugins/trunk/plugins-site/src/site/jelly/downloadPlugins.jsl
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/plugins-site/src/site/jelly/downloadPlugins.jsl?rev=409757&view=auto
==============================================================================
--- maven/maven-1/plugins/trunk/plugins-site/src/site/jelly/downloadPlugins.jsl (added)
+++ maven/maven-1/plugins/trunk/plugins-site/src/site/jelly/downloadPlugins.jsl Fri May 26
14:42:06 2006
@@ -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>&lt;maven-XXX-plugin&gt;</i>
-Dversion=<i>&lt;X.Y.Z&gt;</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>

Copied: maven/maven-1/plugins/trunk/plugins-site/src/site/xdoc/navigation.xml (from r409308,
maven/maven-1/plugins/trunk/plugins-site/xdocs/navigation.xml)
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/plugins-site/src/site/xdoc/navigation.xml?p2=maven/maven-1/plugins/trunk/plugins-site/src/site/xdoc/navigation.xml&p1=maven/maven-1/plugins/trunk/plugins-site/xdocs/navigation.xml&r1=409308&r2=409757&rev=409757&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/plugins-site/xdocs/navigation.xml (original)
+++ maven/maven-1/plugins/trunk/plugins-site/src/site/xdoc/navigation.xml Fri May 26 14:42:06
2006
@@ -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/>



Mime
View raw message