servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1573972 - /servicemix/smx5/trunk/assembly/pom.xml
Date Tue, 04 Mar 2014 09:39:21 GMT
Author: ffang
Date: Tue Mar  4 09:39:21 2014
New Revision: 1573972

URL: http://svn.apache.org/r1573972
Log:
[SM-2261]antrun-plugin enable-obr runs multiple times

Modified:
    servicemix/smx5/trunk/assembly/pom.xml

Modified: servicemix/smx5/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx5/trunk/assembly/pom.xml?rev=1573972&r1=1573971&r2=1573972&view=diff
==============================================================================
--- servicemix/smx5/trunk/assembly/pom.xml (original)
+++ servicemix/smx5/trunk/assembly/pom.xml Tue Mar  4 09:39:21 2014
@@ -238,20 +238,16 @@
                 <executions>
                     <execution>
                         <id>enable-obr</id>
-                        <phase>generate-resources</phase>
+                        <phase>prepare-package</phase>
                         <goals>
                             <goal>run</goal>
                         </goals>
                         <configuration>
                             <target name="enable-obr">
-                                <echo message="Updating etc/startup.properties in unix
assembly" />
+                                <echo message="Updating etc/startup.properties in assembly"
/>
                                 <concat destfile="target/dependencies/unix/apache-karaf-${karaf.version}/etc/startup.properties"
append="true" eol="unix">
                                     <fileset file="target/classes/startup-obr.properties"
/>
                                 </concat>
-                                <echo message="Updating etc/startup.properties in windows
assembly" />
-                                <concat destfile="target/dependencies/win/apache-karaf-${karaf.version}/etc/startup.properties"
append="true" eol="dos">
-                                    <fileset file="target/classes/startup-obr.properties"
/>
-                                </concat>
                             </target>
                         </configuration>
                     </execution>



Mime
View raw message