You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/06/21 22:28:15 UTC

svn commit: r1495586 - in /commons/sandbox/commons-staging-plugin/trunk/src/site: ./ site.xml xdoc/ xdoc/download_commons-gpg-plugin.xml xdoc/index.xml

Author: sebb
Date: Fri Jun 21 20:28:15 2013
New Revision: 1495586

URL: http://svn.apache.org/r1495586
Log:
Add basic site

Added:
    commons/sandbox/commons-staging-plugin/trunk/src/site/
    commons/sandbox/commons-staging-plugin/trunk/src/site/site.xml   (with props)
    commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/
    commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/download_commons-gpg-plugin.xml   (with props)
    commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/index.xml   (with props)

Added: commons/sandbox/commons-staging-plugin/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/commons-staging-plugin/trunk/src/site/site.xml?rev=1495586&view=auto
==============================================================================
--- commons/sandbox/commons-staging-plugin/trunk/src/site/site.xml (added)
+++ commons/sandbox/commons-staging-plugin/trunk/src/site/site.xml Fri Jun 21 20:28:15 2013
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ 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.
+-->
+<!--
+   $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/src/site/site.xml $
+   $Revision: 1296548 $ $Date: 2012-03-03 01:35:18 +0000 (Sat, 03 Mar 2012) $
+ -->
+<project name="Apache Commons Staging Plugin">
+
+    <body>
+        <menu name="Staging Plugin">
+            <item name="Overview"                href="index.html"/>
+            <item name="Download"                href="download_commons-staging-plugin.cgi"/>
+        </menu>
+    </body>
+
+</project>

Propchange: commons/sandbox/commons-staging-plugin/trunk/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/download_commons-gpg-plugin.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/download_commons-gpg-plugin.xml?rev=1495586&view=auto
==============================================================================
--- commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/download_commons-gpg-plugin.xml (added)
+++ commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/download_commons-gpg-plugin.xml Fri Jun 21 20:28:15 2013
@@ -0,0 +1,138 @@
+<?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.
+-->
+<!--
+ +======================================================================+
+ |****                                                              ****|
+ |****      THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN      ****|
+ |****                    DO NOT EDIT DIRECTLY                      ****|
+ |****                                                              ****|
+ +======================================================================+
+ | TEMPLATE FILE: download-page-template.xml                            |
+ | commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
+ +======================================================================+
+ |                                                                      |
+ | 1) Re-generate using: mvn commons:download-page                      |
+ |                                                                      |
+ | 2) Set the following properties in the component's pom:              |
+ |    - commons.componentid (required, alphabetic, lower case)          |
+ |    - commons.release.version (required)                              |
+ |    - commons.binary.suffix (optional)                                |
+ |      (defaults to "-bin", set to "" for pre-maven2 releases)         |
+ |                                                                      |
+ | 3) Example Properties                                                |
+ |                                                                      |
+ |  <properties>                                                        |
+ |    <commons.componentid>math</commons.componentid>                   |
+ |    <commons.release.version>1.2</commons.release.version>            |
+ |  </properties>                                                       |
+ |                                                                      |
+ +======================================================================+
+-->
+<document>
+  <properties>
+    <title>Download Apache Commons Staging Maven Mojo</title>
+    <author email="dev@commons.apache.org">Commons Documentation Team</author>
+  </properties>
+  <body>
+    <section name="Download Apache Commons Staging Maven Mojo">
+    <subsection name="Using a Mirror">
+      <p>
+        We recommend you use a mirror to download our release
+        builds, but you <strong>must</strong> verify the integrity of
+        the downloaded files using signatures downloaded from our main
+        distribution directories. Recent releases (48 hours) may not yet
+        be available from the mirrors.
+      </p>
+
+      <p>
+        You are currently using <b>[preferred]</b>.  If you
+        encounter a problem with this mirror, please select another
+        mirror.  If all mirrors are failing, there are <i>backup</i>
+        mirrors (at the end of the mirrors list) that should be
+        available.
+        <br></br>
+        [if-any logo]<a href="[link]"><img align="right" src="[logo]" border="0"></img></a>[end]
+      </p>
+
+      <form action="[location]" method="get" id="SelectMirror">
+        <p>
+          Other mirrors:
+          <select name="Preferred">
+          [if-any http]
+            [for http]<option value="[http]">[http]</option>[end]
+          [end]
+          [if-any ftp]
+            [for ftp]<option value="[ftp]">[ftp]</option>[end]
+          [end]
+          [if-any backup]
+            [for backup]<option value="[backup]">[backup] (backup)</option>[end]
+          [end]
+          </select>
+          <input type="submit" value="Change"></input>
+        </p>
+      </form>
+
+      <p>
+        The <a href="http://www.apache.org/dist/commons/KEYS">KEYS</a>
+        link links to the code signing keys used to sign the product.
+        The <code>PGP</code> link downloads the OpenPGP compatible signature from our main site.
+        The <code>MD5</code> link downloads the checksum from the main site.
+      </p>
+    </subsection>
+    </section>
+    <section name="Apache Commons Staging Maven Mojo 0.1 (Requires Maven 2.2.1 or later)">
+      <subsection name="Binaries">
+        <table>
+          <tr>
+              <td><a href="[preferred]/commons/commons-staging-plugin/binaries/commons-staging-plugin-0.1-bin.tar.gz">commons-staging-plugin-0.1-bin.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/commons-staging-plugin/binaries/commons-staging-plugin-0.1-bin.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/commons-staging-plugin/binaries/commons-staging-plugin-0.1-bin.tar.gz.asc">pgp</a></td>
+          </tr>
+          <tr>
+              <td><a href="[preferred]/commons/commons-staging-plugin/binaries/commons-staging-plugin-0.1-bin.zip">commons-staging-plugin-0.1-bin.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/commons-staging-plugin/binaries/commons-staging-plugin-0.1-bin.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/commons-staging-plugin/binaries/commons-staging-plugin-0.1-bin.zip.asc">pgp</a></td>
+          </tr>
+        </table>
+      </subsection>
+      <subsection name="Source">
+        <table>
+          <tr>
+              <td><a href="[preferred]/commons/commons-staging-plugin/source/commons-staging-plugin-0.1-src.tar.gz">commons-staging-plugin-0.1-src.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/commons-staging-plugin/source/commons-staging-plugin-0.1-src.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/commons-staging-plugin/source/commons-staging-plugin-0.1-src.tar.gz.asc">pgp</a></td>
+          </tr>
+          <tr>
+              <td><a href="[preferred]/commons/commons-staging-plugin/source/commons-staging-plugin-0.1-src.zip">commons-staging-plugin-0.1-src.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/commons-staging-plugin/source/commons-staging-plugin-0.1-src.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/commons-staging-plugin/source/commons-staging-plugin-0.1-src.zip.asc">pgp</a></td>
+          </tr>
+        </table>
+      </subsection>
+    </section>
+    <section name="Archives">
+        <p>
+          Older releases can be obtained from the archives.
+        </p>
+        <ul>
+          <li class="download"><a href="[preferred]/commons/commons-staging-plugin/">browse download area</a></li>
+          <li><a href="http://archive.apache.org/dist/commons/commons-staging-plugin/">archives...</a></li>
+        </ul>
+    </section>
+  </body>
+</document>

Propchange: commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/download_commons-gpg-plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/index.xml?rev=1495586&view=auto
==============================================================================
--- commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/index.xml (added)
+++ commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/index.xml Fri Jun 21 20:28:15 2013
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   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.
+-->
+<!--
+   $HeadURL: https://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk/src/site/xdoc/index.xml $
+   $Revision: 1296463 $ $Date: 2012-03-02 21:08:10 +0000 (Fri, 02 Mar 2012) $
+ -->
+<document>
+
+    <properties>
+        <title>Commons Staging Plugin: Overview</title>
+        <author email="dev@commons.apache.org">Apache Commons Documentation Team</author>
+    </properties>
+
+    <body>
+
+        <section name="Apache Commons Staging Plugin">
+
+            <p>
+            This is a <a href="http://maven.apache.org/">Maven 2.x</a> Plugin which is designed
+            to be used in release profiles for packages such as source and binary archives.
+            </p>
+
+        </section>
+
+        <section name="Plugin Goals">
+            <p>
+            Available Goals:
+            <ul>
+                <li>commons-staging:create-scripts - generate upload and release scripts for a set of files</li>
+                <li>commons-staging:upload - run the upload script through svnmucc to upload the files to dist/dev</li>
+                <li>commons-staging:release - run the release script through svnmucc to move the files from dist/dev to release/dev</li>
+                <li>commons-staging:help - display the plugin help as per help:describe</li>
+            </ul>
+            </p>
+        </section>
+
+        <section name="Trying out the plugin">
+            <p>
+            Configure the plugin in the <code>&lt;build&gt;</code> section of the <code>pom.xml</code>
+<source><![CDATA[
+<plugin>
+  <groupId>org.apache.commons</groupId>
+  <artifactId>commons-staging-plugin</artifactId>
+  <version>1.0</version>
+  <!-- This needs to be configured for the local project; sample below is for Apache Commons -->
+  <configuration>
+    <packageDirectory>${commons.packages.directory}</packageDirectory>
+    <asfProject>commons</asfProject>
+    <asfComponent>${commons.componentid}</asfComponent>
+    <stagingDirectory>${commons.release.name}-${commons.rc.version}</stagingDirectory>
+    <releaseNotes>RELEASE-NOTES.txt</releaseNotes>
+    <!-- safe place for Commons upload and release testing -->
+    <rootUrl>https://dist.apache.org/repos/dist/dev/commons/TEST_PLS_IGNORE/</rootUrl>
+    <!-- the real url is https://dist.apache.org/repos/dist/ -->
+  </configuration>
+</plugin>
+]]></source>
+            </p>
+            <p>
+            Note that the configuration items are also supported as properties with the prefix "staging.".
+            </p>
+        </section>
+
+    </body>
+</document>

Propchange: commons/sandbox/commons-staging-plugin/trunk/src/site/xdoc/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native