You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2013/01/18 17:25:01 UTC

svn commit: r1435229 - in /uima/sandbox/uima-ducc/trunk: pom.xml src/main/assembly/bin.xml

Author: cwiklik
Date: Fri Jan 18 16:25:00 2013
New Revision: 1435229

URL: http://svn.apache.org/viewvc?rev=1435229&view=rev
Log:
UIMA-2585 Modified scripts to add AMQ to the tarball

Modified:
    uima/sandbox/uima-ducc/trunk/pom.xml
    uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml

Modified: uima/sandbox/uima-ducc/trunk/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/pom.xml?rev=1435229&r1=1435228&r2=1435229&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/pom.xml (original)
+++ uima/sandbox/uima-ducc/trunk/pom.xml Fri Jan 18 16:25:00 2013
@@ -96,7 +96,63 @@
 		
 		
 		<plugins>
-
+      
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.6</version>
+        <executions>
+          <execution>
+            <id>download-amq</id>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                 <get src="http://apache.mesi.com.ar/activemq/apache-activemq/5.6.0/apache-activemq-5.6.0-bin.zip" 
+                     dest="${project.build.directory}/apache-activemq-5.6.0-bin.zip" /> 
+                 <unzip src="${project.build.directory}/apache-activemq-5.6.0-bin.zip" dest="${project.build.directory}/activemq"/>
+              </target>
+              
+              <!-- target depends="amq-check" unless="amq.exists">
+                 <get src="http://apache.mesi.com.ar/activemq/apache-activemq/5.6.0/apache-activemq-5.6.0-bin.zip" 
+                     dest="${project.build.directory}/apache-activemq-5.6.0-bin.zip" /> 
+                 <unzip src="${project.build.directory}/apache-activemq-5.6.0-bin.zip" dest="${project.build.directory}/activemq"/>
+              </target>
+
+              <target name="amq-check">
+                <condition property="amq.exists">
+                   <available file="${project.build.directory}/apache-activemq-5.6.0-bin.zip" type="file"/>
+                </condition> 
+              </target -->
+
+              <!-- target>      
+              <unzip src="${project.build.directory}/apache-activemq-5.6.0-bin.zip" dest="${project.build.directory}/activemq"/>
+              </target-->
+              
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <!-- plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack</id>
+            <configuration>
+              <target>      
+              <unzip src="${project.build.directory}/apache-activemq-5.6.0-bin.zip" dest="${project.build.directory}/activemq"/>
+              </target>
+            </configuration>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin -->
 
 <!-- plugin>
         <groupId>org.apache.maven.plugins</groupId>

Modified: uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml?rev=1435229&r1=1435228&r2=1435229&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml (original)
+++ uima/sandbox/uima-ducc/trunk/src/main/assembly/bin.xml Fri Jan 18 16:25:00 2013
@@ -284,13 +284,21 @@ under the License.    
       <directoryMode>755</directoryMode>        
     </dependencySet>
 
-
    </dependencySets>
   
   <!-- Add other files - scripts, documentation, examples -->
   <fileSets>
 
     <fileSet>
+      <directory>target/activemq/apache-activemq-5.6.0</directory>
+      <outputDirectory>ducc_runtime/activemq</outputDirectory>
+      <fileMode>755</fileMode>
+      <directoryMode>755</directoryMode>
+      
+    </fileSet>
+
+
+    <fileSet>
       <directory>src/main/resources</directory>
       <outputDirectory>ducc_runtime/resources</outputDirectory>
       <fileMode>644</fileMode>
@@ -515,6 +523,13 @@ under the License.    
       <outputDirectory>ducc_runtime/admin</outputDirectory>
       <fileMode>644</fileMode>
     </file>
+
+    <file>
+      <source>src/main/config/activemq-nojournal5.xml</source>
+      <outputDirectory>ducc_runtime/activemq/conf</outputDirectory>
+      <fileMode>644</fileMode>
+    </file>
+
     
     <!-- 
     <file>