You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2007/11/23 10:17:32 UTC

svn commit: r597609 - in /servicemix/branches/servicemix-3.2: distributions/apache-servicemix/ distributions/apache-servicemix/src/main/assembly/ samples/ samples/camel/ samples/camel/src/ samples/camel/src/main/ samples/camel/src/main/assembly/

Author: gertv
Date: Fri Nov 23 01:17:31 2007
New Revision: 597609

URL: http://svn.apache.org/viewvc?rev=597609&view=rev
Log:
SM-1145: Adding camel example to the distribution

Added:
    servicemix/branches/servicemix-3.2/samples/camel/src/
    servicemix/branches/servicemix-3.2/samples/camel/src/main/
    servicemix/branches/servicemix-3.2/samples/camel/src/main/assembly/
    servicemix/branches/servicemix-3.2/samples/camel/src/main/assembly/src.xml   (with props)
Modified:
    servicemix/branches/servicemix-3.2/distributions/apache-servicemix/pom.xml
    servicemix/branches/servicemix-3.2/distributions/apache-servicemix/src/main/assembly/bin.xml
    servicemix/branches/servicemix-3.2/samples/camel/pom.xml
    servicemix/branches/servicemix-3.2/samples/pom.xml

Modified: servicemix/branches/servicemix-3.2/distributions/apache-servicemix/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/branches/servicemix-3.2/distributions/apache-servicemix/pom.xml?rev=597609&r1=597608&r2=597609&view=diff
==============================================================================
--- servicemix/branches/servicemix-3.2/distributions/apache-servicemix/pom.xml (original)
+++ servicemix/branches/servicemix-3.2/distributions/apache-servicemix/pom.xml Fri Nov 23 01:17:31 2007
@@ -525,6 +525,25 @@
             </configuration>
           </execution>
           <execution>
+            <id>copy-camel-sa</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>copy</goal>
+            </goals>
+            <configuration>
+              <id>camel</id>
+              <outputDirectory>target/samples/camel-${servicemix-version}</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.apache.servicemix.samples</groupId>
+                  <artifactId>camel-sa</artifactId>
+                  <version>${servicemix-version}</version>
+                  <type>zip</type>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
             <id>unpack-samples</id>
             <phase>generate-resources</phase>
             <goals>
@@ -571,6 +590,13 @@
                 <artifactItem>
                   <groupId>org.apache.servicemix.samples</groupId>
                   <artifactId>basic</artifactId>
+                  <version>${servicemix-version}</version>
+                  <classifier>src</classifier>
+                  <type>zip</type>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.servicemix.samples</groupId>
+                  <artifactId>camel</artifactId>
                   <version>${servicemix-version}</version>
                   <classifier>src</classifier>
                   <type>zip</type>

Modified: servicemix/branches/servicemix-3.2/distributions/apache-servicemix/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/servicemix/branches/servicemix-3.2/distributions/apache-servicemix/src/main/assembly/bin.xml?rev=597609&r1=597608&r2=597609&view=diff
==============================================================================
--- servicemix/branches/servicemix-3.2/distributions/apache-servicemix/src/main/assembly/bin.xml (original)
+++ servicemix/branches/servicemix-3.2/distributions/apache-servicemix/src/main/assembly/bin.xml Fri Nov 23 01:17:31 2007
@@ -76,6 +76,10 @@
       <outputDirectory>examples/basic</outputDirectory>
     </fileSet>
     <fileSet>
+      <directory>target/samples/camel-${servicemix-version}</directory>
+      <outputDirectory>examples/camel</outputDirectory>
+    </fileSet>
+    <fileSet>
       <directory>target/dummy</directory>
       <outputDirectory>lib/optional</outputDirectory>
     </fileSet>

Modified: servicemix/branches/servicemix-3.2/samples/camel/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/branches/servicemix-3.2/samples/camel/pom.xml?rev=597609&r1=597608&r2=597609&view=diff
==============================================================================
--- servicemix/branches/servicemix-3.2/samples/camel/pom.xml (original)
+++ servicemix/branches/servicemix-3.2/samples/camel/pom.xml Fri Nov 23 01:17:31 2007
@@ -91,6 +91,26 @@
     <build>
         <plugins>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.1</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>src</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/main/assembly/src.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.servicemix.tooling</groupId>
                 <artifactId>jbi-maven-plugin</artifactId>
                 <extensions>true</extensions>

Added: servicemix/branches/servicemix-3.2/samples/camel/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/servicemix/branches/servicemix-3.2/samples/camel/src/main/assembly/src.xml?rev=597609&view=auto
==============================================================================
--- servicemix/branches/servicemix-3.2/samples/camel/src/main/assembly/src.xml (added)
+++ servicemix/branches/servicemix-3.2/samples/camel/src/main/assembly/src.xml Fri Nov 23 01:17:31 2007
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<assembly>
+  <id>src</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <includes>
+        <include>README*</include>
+        <include>LICENSE*</include>
+        <include>NOTICE*</include>
+        <include>pom.xml</include>
+        <include>*.html</include>
+        <include>src/**/*</include>
+        <include>*/pom.xml</include>
+        <include>*/src/**/*</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</assembly>

Propchange: servicemix/branches/servicemix-3.2/samples/camel/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: servicemix/branches/servicemix-3.2/samples/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/branches/servicemix-3.2/samples/pom.xml?rev=597609&r1=597608&r2=597609&view=diff
==============================================================================
--- servicemix/branches/servicemix-3.2/samples/pom.xml (original)
+++ servicemix/branches/servicemix-3.2/samples/pom.xml Fri Nov 23 01:17:31 2007
@@ -39,6 +39,7 @@
     <module>bridge</module>
     <module>servicemix-web</module>
     <module>basic</module>
+    <module>camel</module>
   </modules>
 
     <build>