ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1701422 - in /webservices/axiom/trunk: devguide/src/docbkx/devguide.xml pom.xml src/site/markdown/download.md.vm src/site/resources/download.cgi src/site/site.xml src/site/xdoc/
Date Sat, 05 Sep 2015 20:29:51 GMT
Author: veithen
Date: Sat Sep  5 20:29:50 2015
New Revision: 1701422

URL: http://svn.apache.org/r1701422
Log:
Replace the download page with something that doesn't require update during a release.

Added:
    webservices/axiom/trunk/src/site/markdown/download.md.vm
Removed:
    webservices/axiom/trunk/src/site/resources/download.cgi
    webservices/axiom/trunk/src/site/xdoc/
Modified:
    webservices/axiom/trunk/devguide/src/docbkx/devguide.xml
    webservices/axiom/trunk/pom.xml
    webservices/axiom/trunk/src/site/site.xml

Modified: webservices/axiom/trunk/devguide/src/docbkx/devguide.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/devguide/src/docbkx/devguide.xml?rev=1701422&r1=1701421&r2=1701422&view=diff
==============================================================================
--- webservices/axiom/trunk/devguide/src/docbkx/devguide.xml (original)
+++ webservices/axiom/trunk/devguide/src/docbkx/devguide.xml Sat Sep  5 20:29:50 2015
@@ -1054,18 +1054,9 @@ javax.xml.stream.XMLOutputFactory=com.be
                 </listitem>
                 <listitem>
                     <para>
-                        Prepare the release note. This should include a description of the
major
-                        changes in the release as well as a list of resolved JIRA issues.
Note that
-                        both <filename>index.apt</filename> and <filename>RELEASE-NOTE.txt</filename>
-                        need to be updated.
-                    </para>
-                </listitem>
-                <listitem>
-                    <para>
-                        Add an entry for the release to the <filename>download.xml.vm</filename>
file and
-                        change the links for older releases so that they point to <literal>archive.apache.org</literal>
-                        (Since the Axiom project doesn't use branches and produces releases
directly from the trunk,
-                        there should only be a single mirrored release).
+                        Complete the release note (<filename>src/site/markdown/release-notes/<replaceable>version</replaceable>.md</filename>).
+                        It should include a description of the major
+                        changes in the release as well as a list of resolved JIRA issues.
                     </para>
                 </listitem>
             </itemizedlist>

Modified: webservices/axiom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/pom.xml?rev=1701422&r1=1701421&r2=1701422&view=diff
==============================================================================
--- webservices/axiom/trunk/pom.xml (original)
+++ webservices/axiom/trunk/pom.xml Sat Sep  5 20:29:50 2015
@@ -802,6 +802,23 @@
                             </scripts>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>prepare-site</id>
+                        <phase>pre-site</phase>
+                        <goals>
+                            <goal>execute</goal>
+                        </goals>
+                        <configuration>
+                            <scripts>
+                                <script>
+                                    import java.util.Date
+                                    import java.text.MessageFormat
+                                    project.properties['release_date'] = MessageFormat.format("{0,date,MMMMM
dd, yyyy}", new Date())
+                                    project.properties['release_version'] = project.version.replaceAll("-SNAPSHOT",
"")
+                                </script>
+                            </scripts>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
             <plugin>

Added: webservices/axiom/trunk/src/site/markdown/download.md.vm
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/markdown/download.md.vm?rev=1701422&view=auto
==============================================================================
--- webservices/axiom/trunk/src/site/markdown/download.md.vm (added)
+++ webservices/axiom/trunk/src/site/markdown/download.md.vm Sat Sep  5 20:29:50 2015
@@ -0,0 +1,49 @@
+##
+## 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.
+##
+
+Releases
+--------
+
+The current release is ${release_version} and was published on ${release_date}. The following
+distributions are available for download:
+
+&nbsp;              | Link                                             | Checksums and
signatures
+--------------------|--------------------------------------------------|----------------------------
+Binary distribution | [axiom-${release_version}-bin.zip][1]            | [MD5][2] [SHA1][3]
[PGP][4]
+Source distribution | [axiom-${release_version}-source-release.zip][5] | [MD5][6] [SHA1][7]
[PGP][8]
+
+The signatures of the distributions can be [verified][9] against the public keys in the [KEYS][10]
file.
+
+Distributions for older releases can be found in the archive, either [here][11] or [here][12].
+
+All releases are also available as Maven artifacts in the [central repository][13].
+
+[1]: http://www.apache.org/dyn/closer.lua/ws/axiom/${release_version}/axiom-${release_version}-bin.zip
+[2]: https://www.apache.org/dist/ws/axiom/${release_version}/axiom-${release_version}-bin.zip.md5
+[3]: https://www.apache.org/dist/ws/axiom/${release_version}/axiom-${release_version}-bin.zip.sha1
+[4]: https://www.apache.org/dist/ws/axiom/${release_version}/axiom-${release_version}-bin.zip.asc
+[5]: http://www.apache.org/dyn/closer.lua/ws/axiom/${release_version}/axiom-${release_version}-source-release.zip
+[6]: https://www.apache.org/dist/ws/axiom/${release_version}/axiom-${release_version}-source-release.zip.md5
+[7]: https://www.apache.org/dist/ws/axiom/${release_version}/axiom-${release_version}-source-release.zip.sha1
+[8]: https://www.apache.org/dist/ws/axiom/${release_version}/axiom-${release_version}-source-release.zip.asc
+[9]: http://www.apache.org/dev/release-signing#verifying-signature
+[10]: https://www.apache.org/dist/ws/axiom/KEYS
+[11]: http://archive.apache.org/dist/ws/axiom/
+[12]: http://archive.apache.org/dist/ws/commons/axiom/
+[13]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.ws.commons.axiom%22

Modified: webservices/axiom/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/site.xml?rev=1701422&r1=1701421&r2=1701422&view=diff
==============================================================================
--- webservices/axiom/trunk/src/site/site.xml (original)
+++ webservices/axiom/trunk/src/site/site.xml Sat Sep  5 20:29:50 2015
@@ -39,7 +39,7 @@
             <item name="Issue Tracking" href="issue-tracking.html"/>
         </menu>
         <menu name="Downloads">
-            <item name="Releases" href="download.cgi"/>
+            <item name="Releases" href="download.html"/>
             <item name="Source Code" href="source-repository.html"/>
         </menu>
         <menu name="Documentation">



Mime
View raw message