maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1605479 - in /maven/pom/trunk/asf/src/site-docs: resources/ resources/download.cgi site.xml xdoc/ xdoc/download.xml.vm
Date Wed, 25 Jun 2014 16:26:28 GMT
Author: hboutemy
Date: Wed Jun 25 16:26:27 2014
New Revision: 1605479

URL: http://svn.apache.org/r1605479
Log:
[MNGSITE-152] added license and download links

Added:
    maven/pom/trunk/asf/src/site-docs/resources/
    maven/pom/trunk/asf/src/site-docs/resources/download.cgi   (with props)
    maven/pom/trunk/asf/src/site-docs/xdoc/
    maven/pom/trunk/asf/src/site-docs/xdoc/download.xml.vm   (with props)
Modified:
    maven/pom/trunk/asf/src/site-docs/site.xml

Added: maven/pom/trunk/asf/src/site-docs/resources/download.cgi
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/src/site-docs/resources/download.cgi?rev=1605479&view=auto
==============================================================================
--- maven/pom/trunk/asf/src/site-docs/resources/download.cgi (added)
+++ maven/pom/trunk/asf/src/site-docs/resources/download.cgi Wed Jun 25 16:26:27 2014
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# 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.
+#
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file

Propchange: maven/pom/trunk/asf/src/site-docs/resources/download.cgi
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/pom/trunk/asf/src/site-docs/resources/download.cgi
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/pom/trunk/asf/src/site-docs/site.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/src/site-docs/site.xml?rev=1605479&r1=1605478&r2=1605479&view=diff
==============================================================================
--- maven/pom/trunk/asf/src/site-docs/site.xml (original)
+++ maven/pom/trunk/asf/src/site-docs/site.xml Wed Jun 25 16:26:27 2014
@@ -56,6 +56,13 @@ under the License.
       <item name="ASF"    href="http://maven.apache.org/pom/asf/index.html" />
     </breadcrumbs>
 
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
+      <item name="License" href="http://www.apache.org/licenses/"/>
+      <item name="Download" href="download.html"/>
+    </menu>
+
     <menu ref="reports" inherit="bottom" />
 
     <!-- Copied from Maven parent's site.xml -->

Added: maven/pom/trunk/asf/src/site-docs/xdoc/download.xml.vm
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/src/site-docs/xdoc/download.xml.vm?rev=1605479&view=auto
==============================================================================
--- maven/pom/trunk/asf/src/site-docs/xdoc/download.xml.vm (added)
+++ maven/pom/trunk/asf/src/site-docs/xdoc/download.xml.vm Wed Jun 25 16:26:27 2014
@@ -0,0 +1,126 @@
+<?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.
+-->
+
+<document>
+  <properties>
+    <title>Download ${project.name} Source</title>
+  </properties>
+  <body>
+    <section name="Download ${project.name} ${project.version} Source">
+
+      <p>${project.name} ${project.version} is distributed in source format. Use a
source archive if you intend to build
+      ${project.name} yourself. Otherwise, simply use the ready-made binary artifacts from
central repository.</p>
+
+      <p>You will be prompted for a mirror - if the file is not found on yours, please
be patient, as it may take 24
+      hours to reach all mirrors.<p/>
+
+      <p>In order to guard against corrupted downloads/installations, it is highly
recommended to
+      <a href="http://www.apache.org/dev/release-signing#verifying-signature">verify
the signature</a>
+      of the release bundles against the public <a href="http://www.apache.org/dist/maven/KEYS">KEYS</a>
used by the Apache Maven
+      developers.</p>
+
+      <p>${project.name} is distributed under the <a href="http://www.apache.org/licenses/">Apache
License, version 2.0</a>.</p>
+
+      <p></p>We <b>strongly</b> encourage our users to configure
a Maven repository mirror closer to their location, please read <a href="./guides/mini/guide-mirror-settings.html">How
to Use Mirrors for Repositories</a>.</p>
+
+      <a name="mirror"/>
+      <subsection name="Mirror">
+
+        <p>
+          [if-any logo]
+          <a href="[link]">
+            <img align="right" src="[logo]" border="0"
+                 alt="logo"/>
+          </a>
+          [end]
+          The currently selected mirror is
+          <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.
+        </p>
+
+        <form action="[location]" method="get" id="SelectMirror">
+          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"/>
+        </form>
+
+        <p>
+          You may also consult the
+          <a href="http://www.apache.org/mirrors/">complete list of
+            mirrors.</a>
+        </p>
+
+      </subsection>
+      
+      <subsection name="${project.name} ${project.version}">
+        
+      <p>This is the current stable version of ${project.name}.</p>
+        
+      <table>
+        <thead>
+          <tr>
+            <th></th>
+            <th>Link</th>
+            <th>Checksum</th>
+            <th>Signature</th>
+          </tr>
+        </thead>
+        <tbody>
+          <tr>
+            <td>${project.name} ${project.version} (Source zip)</td>
+            <td><a href="[preferred]maven/pom/${project.artifactId}-${project.version}-source-release.zip">maven/pom/${project.artifactId}-${project.version}-source-release.zip</a></td>
+            <td><a href="http://www.apache.org/dist/maven/pom/${project.artifactId}-${project.version}-source-release.zip.md5">maven/pom/${project.artifactId}-${project.version}-source-release.zip.md5</a></td>
+            <td><a href="http://www.apache.org/dist/maven/pom/${project.artifactId}-${project.version}-source-release.zip.asc">maven/pom/${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
+          </tr>
+        </tbody>
+      </table>
+      </subsection>
+
+      <subsection name="Previous Versions">
+        
+      <p>Older non-recommended releases can be found on our <a href="http://archive.apache.org/dist/maven/pom/">archive
site</a>.</p>
+
+      </subsection>
+    </section>
+  </body>
+</document>
+

Propchange: maven/pom/trunk/asf/src/site-docs/xdoc/download.xml.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/pom/trunk/asf/src/site-docs/xdoc/download.xml.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message