royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-asjs] branch develop updated: add target to build maven release plugin from sources. This is needed until Maven provides a newer snapshot or release that brings in maven scm plugin 1.10.0
Date Sat, 15 Sep 2018 04:45:35 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 962d4e2  add target to build maven release plugin from sources.  This is needed until
Maven provides a newer snapshot or release that brings in maven scm plugin 1.10.0
962d4e2 is described below

commit 962d4e271ca101d95ba95f4314f5b34c82da72f7
Author: Alex Harui <aharui@apache.org>
AuthorDate: Fri Sep 14 21:45:18 2018 -0700

    add target to build maven release plugin from sources.  This is needed until Maven provides
a newer snapshot or release that brings in maven scm plugin 1.10.0
---
 releasecandidate.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/releasecandidate.xml b/releasecandidate.xml
index 6bfdd92..8979da4 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -253,6 +253,20 @@
         classpathref="anttask.classpath"/>
     </target>
 
+    <target name="maven-release-plugin" description="build maven release plugin from sources
in order to get it to use maven scm 1.10.0">
+        <mkdir dir="${basedir}/maven-release-plugin" />
+        <mkdir dir="${basedir}/temp" />
+        <get src="https://github.com/apache/maven-release/archive/master.zip" dest="${basedir}/temp/master.zip"
/>
+        <unzip src="${basedir}/temp/master.zip"
+            dest="${basedir}/maven-release-plugin">
+          <cutdirsmapper dirs="1"/>
+        </unzip>
+        <exec executable="${mvn}" dir="${basedir}/maven-release-plugin" failonerror="true"
>
+            <arg value="clean" />
+            <arg value="install" />
+        </exec>
+    </target>
+
     <target name="check-royale-asjs">
         <available file="${basedir}/royale-asjs"
         type="dir"


Mime
View raw message