ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1701393 - in /webservices/axiom/trunk: ./ distribution/ distribution/src/main/assembly/ src/site/ src/site/markdown/release-notes/
Date Sat, 05 Sep 2015 14:24:11 GMT
Author: veithen
Date: Sat Sep  5 14:24:11 2015
New Revision: 1701393

URL: http://svn.apache.org/r1701393
Log:
* Add a release note for 1.2.16.
* Automatically include the right release note in the distributions.
* Allow relative URLs in release notes.

Added:
    webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md
Removed:
    webservices/axiom/trunk/RELEASE-NOTE.txt
Modified:
    webservices/axiom/trunk/distribution/pom.xml
    webservices/axiom/trunk/distribution/src/main/assembly/bin.xml
    webservices/axiom/trunk/distribution/src/main/assembly/source-release.xml
    webservices/axiom/trunk/src/site/markdown/release-notes/1.2.11.md
    webservices/axiom/trunk/src/site/markdown/release-notes/1.2.13.md
    webservices/axiom/trunk/src/site/markdown/release-notes/1.2.14.md
    webservices/axiom/trunk/src/site/markdown/release-notes/1.2.15.md
    webservices/axiom/trunk/src/site/site.xml

Modified: webservices/axiom/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/distribution/pom.xml?rev=1701393&r1=1701392&r2=1701393&view=diff
==============================================================================
--- webservices/axiom/trunk/distribution/pom.xml (original)
+++ webservices/axiom/trunk/distribution/pom.xml Sat Sep  5 14:24:11 2015
@@ -115,6 +115,32 @@
                             </scripts>
                         </configuration>
                     </execution>
+                    <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>
+                                    def release_version = project.version.replaceAll("-SNAPSHOT",
"")
+                                    def release_note = new File("../src/site/markdown/release-notes/"
+ release_version + ".md")
+                                    new File(project.build.directory).mkdirs()
+                                    def out = new File(project.build.directory, "RELEASE-NOTE.txt").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.close()
+                                </script>
+                            </scripts>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
             <plugin>

Modified: webservices/axiom/trunk/distribution/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/distribution/src/main/assembly/bin.xml?rev=1701393&r1=1701392&r2=1701393&view=diff
==============================================================================
--- webservices/axiom/trunk/distribution/src/main/assembly/bin.xml (original)
+++ webservices/axiom/trunk/distribution/src/main/assembly/bin.xml Sat Sep  5 14:24:11 2015
@@ -56,9 +56,8 @@
             <filtered>true</filtered>
         </file>
         <file>
-            <source>../RELEASE-NOTE.txt</source>
+            <source>${project.build.directory}/RELEASE-NOTE.txt</source>
             <outputDirectory>/</outputDirectory>
-            <filtered>true</filtered>
         </file>
     </files>
     <dependencySets>

Modified: webservices/axiom/trunk/distribution/src/main/assembly/source-release.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/distribution/src/main/assembly/source-release.xml?rev=1701393&r1=1701392&r2=1701393&view=diff
==============================================================================
--- webservices/axiom/trunk/distribution/src/main/assembly/source-release.xml (original)
+++ webservices/axiom/trunk/distribution/src/main/assembly/source-release.xml Sat Sep  5 14:24:11
2015
@@ -67,9 +67,8 @@
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude>
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude>
         
-        <!-- These files are included below (with filtering) -->
+        <!-- This file is included below (with filtering) -->
         <exclude>README.txt</exclude>
-        <exclude>RELEASE-NOTE.txt</exclude>
       </excludes>
     </fileSet>
     <!-- license, readme, etc. calculated at build time -->
@@ -85,9 +84,8 @@
       <filtered>true</filtered>
     </file>
     <file>
-      <source>../RELEASE-NOTE.txt</source>
+      <source>${project.build.directory}/RELEASE-NOTE.txt</source>
       <outputDirectory>/</outputDirectory>
-      <filtered>true</filtered>
     </file>
   </files>
 </assembly>

Modified: webservices/axiom/trunk/src/site/markdown/release-notes/1.2.11.md
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/markdown/release-notes/1.2.11.md?rev=1701393&r1=1701392&r2=1701393&view=diff
==============================================================================
--- webservices/axiom/trunk/src/site/markdown/release-notes/1.2.11.md (original)
+++ webservices/axiom/trunk/src/site/markdown/release-notes/1.2.11.md Sat Sep  5 14:24:11
2015
@@ -20,4 +20,4 @@ Resolved JIRA issues:
 
 Please refer to the [user guide][1] for additional information about changes in Axiom 1.2.11.
 
-[1]: http://ws.apache.org/axiom/userguide/ch04.html#changes-1.2.11
+[1]: ../userguide/ch04.html#changes-1.2.11

Modified: webservices/axiom/trunk/src/site/markdown/release-notes/1.2.13.md
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/markdown/release-notes/1.2.13.md?rev=1701393&r1=1701392&r2=1701393&view=diff
==============================================================================
--- webservices/axiom/trunk/src/site/markdown/release-notes/1.2.13.md (original)
+++ webservices/axiom/trunk/src/site/markdown/release-notes/1.2.13.md Sat Sep  5 14:24:11
2015
@@ -16,4 +16,4 @@ included in Axiom 1.2.13, please refer t
 
 [1]: http://s.apache.org/axiom-changes-1.2.13
 [2]: http://james.apache.org/mime4j/
-[3]: http://ws.apache.org/axiom/userguide/ch04.html#changes-1.2.13
+[3]: ../userguide/ch04.html#changes-1.2.13

Modified: webservices/axiom/trunk/src/site/markdown/release-notes/1.2.14.md
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/markdown/release-notes/1.2.14.md?rev=1701393&r1=1701392&r2=1701393&view=diff
==============================================================================
--- webservices/axiom/trunk/src/site/markdown/release-notes/1.2.14.md (original)
+++ webservices/axiom/trunk/src/site/markdown/release-notes/1.2.14.md Sat Sep  5 14:24:11
2015
@@ -18,4 +18,4 @@ For more information about the possible
 please refer to the [user guide][2].
 
 [1]: http://s.apache.org/axiom-changes-1.2.14
-[2]: http://ws.apache.org/axiom/userguide/ch04.html#changes-1.2.14
+[2]: ../userguide/ch04.html#changes-1.2.14

Modified: webservices/axiom/trunk/src/site/markdown/release-notes/1.2.15.md
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/markdown/release-notes/1.2.15.md?rev=1701393&r1=1701392&r2=1701393&view=diff
==============================================================================
--- webservices/axiom/trunk/src/site/markdown/release-notes/1.2.15.md (original)
+++ webservices/axiom/trunk/src/site/markdown/release-notes/1.2.15.md Sat Sep  5 14:24:11
2015
@@ -11,4 +11,4 @@ guide][3].
 
 [1]: http://s.apache.org/axiom-changes-1.2.15
 [2]: https://issues.apache.org/jira/browse/AXIOM-288
-[3]: http://ws.apache.org/axiom/userguide/ch04.html#changes-1.2.15
+[3]: ../userguide/ch04.html#changes-1.2.15

Added: webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md?rev=1701393&view=auto
==============================================================================
--- webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md (added)
+++ webservices/axiom/trunk/src/site/markdown/release-notes/1.2.16.md Sat Sep  5 14:24:11
2015
@@ -0,0 +1,11 @@
+Apache Axiom 1.2.16 Release Note
+--------------------------------
+
+Highlights in this release:
+
+*   DOOM now has `OMSourcedElement` support.
+
+*   Axiom now ships a drop-in replacement for `abdera-parser`, so that the latest Axiom
+    version can be used together with Abdera 1.1.3. See [here][1] for more details.
+
+[1]: ../implementations/fom-impl/index.html

Modified: webservices/axiom/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/src/site/site.xml?rev=1701393&r1=1701392&r2=1701393&view=diff
==============================================================================
--- webservices/axiom/trunk/src/site/site.xml (original)
+++ webservices/axiom/trunk/src/site/site.xml Sat Sep  5 14:24:11 2015
@@ -52,6 +52,7 @@
                 <item name="1.2.13" href="release-notes/1.2.13.html"/>
                 <item name="1.2.14" href="release-notes/1.2.14.html"/>
                 <item name="1.2.15" href="release-notes/1.2.15.html"/>
+                <item name="1.2.16" href="release-notes/1.2.16.html"/>
             </item>
             <item name="Quick start samples" href="quickstart-samples.html"/>
             <item name="User guide" href="userguide/userguide.html"/>



Mime
View raw message