You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2015/09/06 13:00:10 UTC
svn commit: r1701468 - in /webservices: axiom/trunk/distribution/pom.xml
woden/trunk/java/woden-dist/pom.xml
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>