ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1701468 - in /webservices: axiom/trunk/distribution/pom.xml woden/trunk/java/woden-dist/pom.xml
Date Sun, 06 Sep 2015 11:00:10 GMT
Author: veithen
Date: Sun Sep  6 11:00:09 2015
New Revision: 1701468

URL: http://svn.apache.org/r1701468
Log:
Protect Groovy script against modification by maven-release-plugin.

Modified:
    webservices/axiom/trunk/distribution/pom.xml
    webservices/woden/trunk/java/woden-dist/pom.xml

Modified: webservices/axiom/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/distribution/pom.xml?rev=1701468&r1=1701467&r2=1701468&view=diff
==============================================================================
--- webservices/axiom/trunk/distribution/pom.xml (original)
+++ webservices/axiom/trunk/distribution/pom.xml Sun Sep  6 11:00:09 2015
@@ -124,7 +124,7 @@
                         <configuration>
                             <scripts>
                                 <!-- Process the release note for the current release,
converting relative URLs to absolute ones -->
-                                <script>
+                                <script><![CDATA[
                                     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()
@@ -137,7 +137,7 @@
                                         out.println(line)
                                     })
                                     out.close()
-                                </script>
+                                ]]></script>
                             </scripts>
                         </configuration>
                     </execution>

Modified: webservices/woden/trunk/java/woden-dist/pom.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-dist/pom.xml?rev=1701468&r1=1701467&r2=1701468&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-dist/pom.xml (original)
+++ webservices/woden/trunk/java/woden-dist/pom.xml Sun Sep  6 11:00:09 2015
@@ -59,7 +59,7 @@
                         <configuration>
                             <scripts>
                                 <!-- Process the release note for the current release,
converting relative URLs to absolute ones -->
-                                <script>
+                                <script><![CDATA[
                                     import java.text.MessageFormat
                                     
                                     def release_version = project.version.replaceAll("-SNAPSHOT",
"")
@@ -76,7 +76,7 @@
                                     out.println()
                                     out.println("-- " + MessageFormat.format("{0,date,MMMMM
dd, yyyy}", new Date()))
                                     out.close()
-                                </script>
+                                ]]></script>
                             </scripts>
                         </configuration>
                     </execution>



Mime
View raw message