Author: veithen
Date: Sun Dec  6 22:34:49 2015
New Revision: 1718232

URL: http://svn.apache.org/viewvc?rev=1718232&view=rev
Log:
Implement home and download pages that don't require maintenance and add a 
mechanism that automatically copies the right release notes into the 
distributions.

Added:
    axis/axis2/java/rampart/trunk/src/site/markdown/
    axis/axis2/java/rampart/trunk/src/site/markdown/download.md.vm
    axis/axis2/java/rampart/trunk/src/site/markdown/index.md
    axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/
    axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.1.md
    axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.2.md
    axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.3.md
    axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.7.0.md
Removed:
    axis/axis2/java/rampart/trunk/release-docs/release-notes.html
    axis/axis2/java/rampart/trunk/src/site/xdoc/download/
    axis/axis2/java/rampart/trunk/src/site/xdoc/download.xml
    axis/axis2/java/rampart/trunk/src/site/xdoc/index.xml
Modified:
    axis/axis2/java/rampart/trunk/modules/distribution/bin.xml
    axis/axis2/java/rampart/trunk/modules/distribution/pom.xml
    axis/axis2/java/rampart/trunk/modules/distribution/src.xml
    axis/axis2/java/rampart/trunk/pom.xml
    axis/axis2/java/rampart/trunk/src/site/site.xml

Modified: axis/axis2/java/rampart/trunk/modules/distribution/bin.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/distribution/bin.xml?rev=1718232&r1=1718231&r2=1718232&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/modules/distribution/bin.xml (original)
+++ axis/axis2/java/rampart/trunk/modules/distribution/bin.xml Sun Dec  6 
22:34:49 2015
@@ -71,8 +71,9 @@
             <destName>NOTICE</destName>
         </file>
         <file>
-            <source>../../release-docs/release-notes.html</source>
+            
<source>../../src/site/markdown/release-notes/${release_version}.md</source>
             <outputDirectory>${dist.dir}</outputDirectory>
+            <destName>RELEASE-NOTE</destName>
         </file>
     </files>
 

Modified: axis/axis2/java/rampart/trunk/modules/distribution/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/distribution/pom.xml?rev=1718232&r1=1718231&r2=1718232&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/modules/distribution/pom.xml (original)
+++ axis/axis2/java/rampart/trunk/modules/distribution/pom.xml Sun Dec  6 
22:34:49 2015
@@ -51,6 +51,7 @@
                                     import java.util.Date 
                                     import java.text.MessageFormat 
                                     project.properties['buildTimestamp'] = 
MessageFormat.format("{0,date,MMM dd, yyyy}", new Date())
+                                    project.properties['release_version'] = 
project.version.replaceAll("-SNAPSHOT", "")
                                 </script>
                             </scripts>
                         </configuration>

Modified: axis/axis2/java/rampart/trunk/modules/distribution/src.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/distribution/src.xml?rev=1718232&r1=1718231&r2=1718232&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/modules/distribution/src.xml (original)
+++ axis/axis2/java/rampart/trunk/modules/distribution/src.xml Sun Dec  6 
22:34:49 2015
@@ -40,4 +40,11 @@
             </includes>
         </fileSet>
     </fileSets>
+    <files>
+        <file>
+            
<source>../../src/site/markdown/release-notes/${release_version}.md</source>
+            <outputDirectory>rampart-src-${project.version}</outputDirectory>
+            <destName>RELEASE-NOTE</destName>
+        </file>
+    </files>
 </assembly>

Modified: axis/axis2/java/rampart/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/pom.xml?rev=1718232&r1=1718231&r2=1718232&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/pom.xml (original)
+++ axis/axis2/java/rampart/trunk/pom.xml Sun Dec  6 22:34:49 2015
@@ -233,6 +233,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: axis/axis2/java/rampart/trunk/src/site/markdown/download.md.vm
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/src/site/markdown/download.md.vm?rev=1718232&view=auto
==============================================================================
--- axis/axis2/java/rampart/trunk/src/site/markdown/download.md.vm (added)
+++ axis/axis2/java/rampart/trunk/src/site/markdown/download.md.vm Sun Dec  6 
22:34:49 2015
@@ -0,0 +1,60 @@
+##
+## 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 release note for this
+release can be found [here](release-notes/${release_version}.html).
+
+The following distributions are available for download:
+
+&nbsp;              | Link                                         | Checksums 
and signatures
+--------------------|----------------------------------------------|----------------------------
+Binary distribution | [rampart-dist-${release_version}-bin.zip][1] | [MD5][2] 
[SHA1][3] [PGP][4]
+Source distribution | [rampart-dist-${release_version}-src.zip][5] | [MD5][6] 
[SHA1][7] [PGP][8]
+
+The binary distribution contains the following Axis2 modules:
+
+*   `rampart-${release_version}.mar` provides support for WS-Security and 
WS-SecureConversation
+    features.
+
+*   `rahas-${release_version}.mar` provides the necessary components to enable 
SecurityTokenService
+    functionality on a service.
+
+The signatures of the distributions can be [verified][9] against the public 
keys in the [KEYS][10] file.
+
+Maintenance releases from branches other than the main branch can be found 
[here][11].
+Distributions for older releases can be found in the [archive][12].
+
+All releases are also available as Maven artifacts in the [central 
repository][13].
+
+[1]: 
http://www.apache.org/dyn/closer.lua/axis/axis2/java/rampart/${release_version}/rampart-dist-${release_version}-bin.zip
+[2]: 
https://www.apache.org/dist/axis/axis2/java/rampart/${release_version}/rampart-dist-${release_version}-bin.zip.md5
+[3]: 
https://www.apache.org/dist/axis/axis2/java/rampart/${release_version}/rampart-dist-${release_version}-bin.zip.sha1
+[4]: 
https://www.apache.org/dist/axis/axis2/java/rampart/${release_version}/rampart-dist-${release_version}-bin.zip.asc
+[5]: 
http://www.apache.org/dyn/closer.lua/axis/axis2/java/rampart/${release_version}/rampart-dist-${release_version}-src.zip
+[6]: 
https://www.apache.org/dist/axis/axis2/java/rampart/${release_version}/rampart-dist-${release_version}-src.zip.md5
+[7]: 
https://www.apache.org/dist/axis/axis2/java/rampart/${release_version}/rampart-dist-${release_version}-src.zip.sha1
+[8]: 
https://www.apache.org/dist/axis/axis2/java/rampart/${release_version}/rampart-dist-${release_version}-src.zip.asc
+[9]: http://www.apache.org/dev/release-signing#verifying-signature
+[10]: https://www.apache.org/dist/axis/axis2/java/rampart/KEYS
+[11]: http://www.apache.org/dyn/closer.lua/axis/axis2/java/rampart/
+[12]: http://archive.apache.org/dist/axis/axis2/java/rampart/
+[13]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.rampart%22

Added: axis/axis2/java/rampart/trunk/src/site/markdown/index.md
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/src/site/markdown/index.md?rev=1718232&view=auto
==============================================================================
--- axis/axis2/java/rampart/trunk/src/site/markdown/index.md (added)
+++ axis/axis2/java/rampart/trunk/src/site/markdown/index.md Sun Dec  6 
22:34:49 2015
@@ -0,0 +1,23 @@
+Welcome to Apache Rampart
+-------------------------
+
+Apache Rampart&#x2122; provides implementations of the WS-Sec* specifications 
for
+Apache Axis2, based on [Apache WSS4J][1] and the [Apache Axiom DOOM 
implementation][2].
+Rampart implements the following specifications:
+
+* WS - Security 1.0
+* WS - Security 1.1
+* WS - Secure Conversation - February 2005
+* WS - Security Policy - 1.1 - July 2005
+* WS - Security Policy - 1.2
+* WS - Trust - February 2005
+* WS - Trust - WS-SX specification
+* SAML Specification - 1.1
+* SAML Specification - 2.0
+
+- - -
+
+Apache Rampart, Rampart, Apache, the Apache feather logo, and the Apache 
Rampart project logo are trademarks of The Apache Software Foundation.
+
+[1]: http://ws.apache.org/wss4j/
+[2]: http://ws.apache.org/axiom/implementations/axiom-dom/

Added: axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.1.md
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.1.md?rev=1718232&view=auto
==============================================================================
--- axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.1.md 
(added)
+++ axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.1.md Sun 
Dec  6 22:34:49 2015
@@ -0,0 +1,7 @@
+Apache Rampart 1.6.1 Release Note
+---------------------------------
+
+The Apache Rampart 1.6.1 release updates WSS4J to version 1.5.12 and ensures
+compatibility with Axis2 1.6.1. Please note that Rampart 1.6.1 will not work
+with Axis2 1.6.0 and that users of Axis2 1.6.1 are required to update to
+Rampart 1.6.1, i.e. Rampart 1.6.0 doesn't work with Axis2 1.6.1.

Added: axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.2.md
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.2.md?rev=1718232&view=auto
==============================================================================
--- axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.2.md 
(added)
+++ axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.2.md Sun 
Dec  6 22:34:49 2015
@@ -0,0 +1,10 @@
+Apache Rampart 1.6.2 Release Note
+---------------------------------
+
+Apache Rampart 1.6.2 is a maintenance release that updates WSS4J to version
+1.6.4 and OpenSAML to version 2.5.1. Apache Rampart 1.6.2 ensure compatibility
+with the latest Axis2 1.6.2 release.
+
+A complete list of issues fixed in this release can be found [here][1].
+
+[1]: http://s.apache.org/rampart1.6.2

Added: axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.3.md
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.3.md?rev=1718232&view=auto
==============================================================================
--- axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.3.md 
(added)
+++ axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.6.3.md Sun 
Dec  6 22:34:49 2015
@@ -0,0 +1,2 @@
+Apache Rampart 1.6.3 Release Note
+---------------------------------

Added: axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.7.0.md
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.7.0.md?rev=1718232&view=auto
==============================================================================
--- axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.7.0.md 
(added)
+++ axis/axis2/java/rampart/trunk/src/site/markdown/release-notes/1.7.0.md Sun 
Dec  6 22:34:49 2015
@@ -0,0 +1,6 @@
+Apache Rampart 1.7.0 Release Note
+---------------------------------
+
+Apache Rampart uses a configuration model based on WS-Policy and WS-Security
+Policy; the Apache Rampart 1.0 style configuration (already deprecated in
+previous release) is no longer supported in 1.7.0.

Modified: axis/axis2/java/rampart/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/src/site/site.xml?rev=1718232&r1=1718231&r2=1718232&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/src/site/site.xml (original)
+++ axis/axis2/java/rampart/trunk/src/site/site.xml Sun Dec  6 22:34:49 2015
@@ -46,8 +46,14 @@
         <menu name="Apache Rampart">
             <item name="Home" href="index.html" />
             <item name="Downloads" href="javascript:void(0)">
-            <item name="Releases" href="download.html"/>
-            <item name="Source Code" href="svn.html"/>
+                <item name="Releases" href="download.html"/>
+                <item name="Source Code" href="svn.html"/>
+            </item>
+            <item name="Release Notes" href="javascript:void(0)">
+                <item name="1.6.1" href="release-notes/1.6.1.html"/>
+                <item name="1.6.2" href="release-notes/1.6.2.html"/>
+                <item name="1.6.3" href="release-notes/1.6.3.html"/>
+                <item name="1.7.0" href="release-notes/1.7.0.html"/>
             </item>
         </menu>
         <menu name="Documentation">


Reply via email to