servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r597621 - in /servicemix/trunk: distributions/apache-servicemix/ distributions/apache-servicemix/src/main/assembly/ samples/ samples/camel/ samples/camel/src/ samples/camel/src/main/ samples/camel/src/main/assembly/
Date Fri, 23 Nov 2007 10:01:06 GMT
Author: gertv
Date: Fri Nov 23 02:01:06 2007
New Revision: 597621

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

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

Modified: servicemix/trunk/distributions/apache-servicemix/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/trunk/distributions/apache-servicemix/pom.xml?rev=597621&r1=597620&r2=597621&view=diff
==============================================================================
--- servicemix/trunk/distributions/apache-servicemix/pom.xml (original)
+++ servicemix/trunk/distributions/apache-servicemix/pom.xml Fri Nov 23 02:01:06 2007
@@ -518,6 +518,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>
@@ -564,6 +583,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/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/servicemix/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml?rev=597621&r1=597620&r2=597621&view=diff
==============================================================================
--- servicemix/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml (original)
+++ servicemix/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml Fri Nov 23
02:01:06 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/trunk/samples/camel/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/trunk/samples/camel/pom.xml?rev=597621&r1=597620&r2=597621&view=diff
==============================================================================
--- servicemix/trunk/samples/camel/pom.xml (original)
+++ servicemix/trunk/samples/camel/pom.xml Fri Nov 23 02:01:06 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/trunk/samples/camel/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/servicemix/trunk/samples/camel/src/main/assembly/src.xml?rev=597621&view=auto
==============================================================================
--- servicemix/trunk/samples/camel/src/main/assembly/src.xml (added)
+++ servicemix/trunk/samples/camel/src/main/assembly/src.xml Fri Nov 23 02:01:06 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/trunk/samples/camel/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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



Mime
View raw message