ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1701423 - in /webservices/woden/trunk/java: ./ src/site/ src/site/markdown/release-notes/ src/site/resources/release-notes/ woden-dist/ woden-dist/src/main/assembly/
Date Sat, 05 Sep 2015 21:28:20 GMT
Author: veithen
Date: Sat Sep  5 21:28:19 2015
New Revision: 1701423

URL: http://svn.apache.org/r1701423
Log:
* Prepare release note for 1.0M10.
* Publish release notes on the Maven site.
* Automatically include the right release note in distributions.

Added:
    webservices/woden/trunk/java/src/site/markdown/release-notes/
    webservices/woden/trunk/java/src/site/markdown/release-notes/1.0M10.md
    webservices/woden/trunk/java/src/site/markdown/release-notes/index.md
    webservices/woden/trunk/java/src/site/resources/release-notes/
    webservices/woden/trunk/java/src/site/resources/release-notes/1.0M9.html
      - copied unchanged from r1701422, webservices/woden/tags/1.0M9/release-notes.html
Removed:
    webservices/woden/trunk/java/release-notes.html
Modified:
    webservices/woden/trunk/java/src/site/site.xml
    webservices/woden/trunk/java/woden-dist/pom.xml
    webservices/woden/trunk/java/woden-dist/src/main/assembly/bin.xml
    webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml

Added: webservices/woden/trunk/java/src/site/markdown/release-notes/1.0M10.md
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/src/site/markdown/release-notes/1.0M10.md?rev=1701423&view=auto
==============================================================================
--- webservices/woden/trunk/java/src/site/markdown/release-notes/1.0M10.md (added)
+++ webservices/woden/trunk/java/src/site/markdown/release-notes/1.0M10.md Sat Sep  5 21:28:19
2015
@@ -0,0 +1,20 @@
+Apache Woden 1.0M10 release note
+--------------------------------
+
+This Woden release contains the following changes with respect to 1.0M9:
+
+*   Support for the Axiom API has been removed. Starting with the 1.0M10
+    release, Woden only provides an implementation that uses the DOM API
+    (Note that Axiom itself has optional [support for the DOM API][1]).
+    As a consequence, the `woden-api`, `woden-common` and `woden-dom`
+    modules have been replaced by a single module called `woden-core`.
+
+*   Woden now requires Java 5.
+
+*   Woden has been upgraded to use [XmlSchema 2][2].
+
+Woden 1.0M10 passes the same 81 test cases from the W3C test suite as previous
+releases.
+
+[1]: http://ws.apache.org/axiom/implementations/axiom-dom/
+[2]: http://ws.apache.org/xmlschema/

Added: webservices/woden/trunk/java/src/site/markdown/release-notes/index.md
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/src/site/markdown/release-notes/index.md?rev=1701423&view=auto
==============================================================================
--- webservices/woden/trunk/java/src/site/markdown/release-notes/index.md (added)
+++ webservices/woden/trunk/java/src/site/markdown/release-notes/index.md Sat Sep  5 21:28:19
2015
@@ -0,0 +1,7 @@
+Release notes
+-------------
+
+Please select the release from the menu on the left. Release notes for older Woden versions
+can be found in the [source code repository][1].
+
+[1]: https://svn.apache.org/repos/asf/webservices/woden/tags

Modified: webservices/woden/trunk/java/src/site/site.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/src/site/site.xml?rev=1701423&r1=1701422&r2=1701423&view=diff
==============================================================================
--- webservices/woden/trunk/java/src/site/site.xml (original)
+++ webservices/woden/trunk/java/src/site/site.xml Sat Sep  5 21:28:19 2015
@@ -36,6 +36,10 @@
             <item name="Releases" href="download.html"/>
         </menu>
         <menu name="Documentation">
+            <item name="Release Notes" collapse="true" href="release-notes/index.html">
+                <item name="1.0M9" href="release-notes/1.0M9.html"/>
+                <item name="1.0M10" href="release-notes/1.0M10.html"/>
+            </item>
             <item name="User Guide" href="userguide.html"/>
         </menu>
         <menu name="Development">

Modified: webservices/woden/trunk/java/woden-dist/pom.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-dist/pom.xml?rev=1701423&r1=1701422&r2=1701423&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-dist/pom.xml (original)
+++ webservices/woden/trunk/java/woden-dist/pom.xml Sat Sep  5 21:28:19 2015
@@ -45,6 +45,50 @@
                 </executions>
             </plugin>
             <plugin>
+                <groupId>org.codehaus.gmavenplus</groupId>
+                <artifactId>gmavenplus-plugin</artifactId>
+                <version>1.5</version>
+                <executions>
+                    <execution>
+                        <id>generate-release-note</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>execute</goal>
+                        </goals>
+                        <configuration>
+                            <scripts>
+                                <!-- Process the release note for the current release,
converting relative URLs to absolute ones -->
+                                <script>
+                                    import java.text.MessageFormat
+                                    
+                                    def release_version = project.version.replaceAll("-SNAPSHOT",
"")
+                                    def release_note = new File(project.basedir, "../src/site/markdown/release-notes/"
+ release_version + ".md")
+                                    new File(project.build.directory).mkdirs()
+                                    def out = new File(project.build.directory, "RELEASE-NOTE").newPrintWriter('UTF-8')
+                                    release_note.readLines('UTF-8').each({ line ->
+                                        def m = line =~ /^(\[.*\]: *)(.*)/
+                                        if (m) {
+                                            line = m[0][1] + new URL(new URL("http://ws.apache.org/axiom/release-notes/"),
m[0][2])
+                                        }
+                                        out.println(line)
+                                    })
+                                    out.println()
+                                    out.println("-- " + MessageFormat.format("{0,date,MMMMM
dd, yyyy}", new Date()))
+                                    out.close()
+                                </script>
+                            </scripts>
+                        </configuration>
+                    </execution>
+                </executions>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.codehaus.groovy</groupId>
+                        <artifactId>groovy-all</artifactId>
+                        <version>2.4.4</version>
+                    </dependency>
+                </dependencies>
+                </plugin>
+            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <executions>

Modified: webservices/woden/trunk/java/woden-dist/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-dist/src/main/assembly/bin.xml?rev=1701423&r1=1701422&r2=1701423&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-dist/src/main/assembly/bin.xml (original)
+++ webservices/woden/trunk/java/woden-dist/src/main/assembly/bin.xml Sat Sep  5 21:28:19
2015
@@ -54,10 +54,8 @@
             <fileMode>0644</fileMode>
         </file>
         <file>
-            <source>../release-notes.html</source>
+            <source>${project.build.directory}/RELEASE-NOTE</source>
             <outputDirectory>/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>0644</fileMode>
         </file>
     </files>
 

Modified: webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml?rev=1701423&r1=1701422&r2=1701423&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml (original)
+++ webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml Sat Sep  5 21:28:19
2015
@@ -60,4 +60,10 @@
             </excludes>
         </fileSet>
     </fileSets>
+    <files>
+        <file>
+            <source>${project.build.directory}/RELEASE-NOTE</source>
+            <outputDirectory>/</outputDirectory>
+        </file>
+    </files>
 </assembly>



Mime
View raw message