You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2009/05/27 04:09:14 UTC

svn commit: r778960 - in /servicemix/smx4/features/trunk/examples/bridge-camel: ./ bridge-camel-sa/ bridge-http-su/ bridge-http-su/src/ bridge-http-su/src/main/ bridge-http-su/src/main/resources/ bridge-jms-su/ bridge-jms-su/src/ bridge-jms-su/src/main...

Author: ffang
Date: Wed May 27 02:09:13 2009
New Revision: 778960

URL: http://svn.apache.org/viewvc?rev=778960&view=rev
Log:
[SMX4-287]can't build bridge-camel example if not build bridge example first

Added:
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/pom.xml   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/xbean.xml   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/pom.xml   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/xbean.xml   (with props)
Modified:
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml
    servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml

Modified: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml?rev=778960&r1=778959&r2=778960&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml (original)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml Wed May 27 02:09:13 2009
@@ -34,7 +34,7 @@
 
     <dependencies>
         <dependency>
-            <groupId>org.apache.servicemix.examples.bridge</groupId>
+            <groupId>org.apache.servicemix.examples.bridge-camel</groupId>
             <artifactId>bridge-http-su</artifactId>
             <version>4.1.0-SNAPSHOT</version>
         </dependency>
@@ -44,7 +44,7 @@
             <version>4.1.0-SNAPSHOT</version>
         </dependency>
         <dependency>
-            <groupId>org.apache.servicemix.examples.bridge</groupId>
+            <groupId>org.apache.servicemix.examples.bridge-camel</groupId>
             <artifactId>bridge-jms-su</artifactId>
             <version>4.1.0-SNAPSHOT</version>
         </dependency>

Added: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/pom.xml?rev=778960&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/pom.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/pom.xml Wed May 27 02:09:13 2009
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.examples</groupId>
+        <artifactId>bridge-camel</artifactId>
+        <version>4.1.0-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.examples.bridge-camel</groupId>
+    <artifactId>bridge-http-su</artifactId>
+    <packaging>jbi-service-unit</packaging>
+    <name>ServiceMix :: Samples :: Bridge Camel:: HTTP</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-http</artifactId>
+            <version>${servicemix-http-version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <version>${servicemix-jbi-plugin-version}</version>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/xbean.xml?rev=778960&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/xbean.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/xbean.xml Wed May 27 02:09:13 2009
@@ -0,0 +1,30 @@
+<?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.
+
+-->
+<beans xmlns:http="http://servicemix.apache.org/http/1.0"
+       xmlns:b="http://servicemix.apache.org/samples/bridge">
+
+  <http:endpoint service="b:http"
+                 endpoint="endpoint"
+                 targetService="b:pipeline"
+                 role="consumer" 
+                 locationURI="http://0.0.0.0:8192/bridge/"
+                 defaultMep="http://www.w3.org/2004/08/wsdl/in-only" />
+
+</beans>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-http-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/pom.xml?rev=778960&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/pom.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/pom.xml Wed May 27 02:09:13 2009
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.examples</groupId>
+        <artifactId>bridge-camel</artifactId>
+        <version>4.1.0-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.examples.bridge-camel</groupId>
+    <artifactId>bridge-jms-su</artifactId>
+    <packaging>jbi-service-unit</packaging>
+    <name>ServiceMix :: Samples :: Bridge Camel:: JMS</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-jms</artifactId>
+            <version>${servicemix-jms-version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.activemq</groupId>
+            <artifactId>activemq-core</artifactId>
+            <version>${activemq.version}</version>
+            <exclusions>
+               <exclusion>
+                  <groupId>org.apache.activemq</groupId>
+                  <artifactId>activeio-core</artifactId>
+               </exclusion>
+               <exclusion>
+                  <groupId>org.apache.camel</groupId>
+                  <artifactId>camel-core</artifactId>
+               </exclusion>
+               <exclusion>
+                  <groupId>commons-logging</groupId>
+                  <artifactId>commons-logging</artifactId>
+               </exclusion>
+               <exclusion>
+                  <groupId>commons-logging</groupId>
+                  <artifactId>commons-logging-api</artifactId>
+               </exclusion>
+            </exclusions>
+        </dependency>
+        <!-- this is a dependency for ActiveMQ -->
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
+            <version>1.0.1</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <version>${servicemix-jbi-plugin-version}</version>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/xbean.xml?rev=778960&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/xbean.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/xbean.xml Wed May 27 02:09:13 2009
@@ -0,0 +1,34 @@
+<?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.
+
+-->
+<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
+       xmlns:b="http://servicemix.apache.org/samples/bridge">
+
+  <jms:endpoint service="b:jms"
+                endpoint="endpoint"
+                role="provider" 
+                destinationStyle="queue"
+                jmsProviderDestinationName="bridge.output"
+                connectionFactory="#connectionFactory" />
+                
+  <bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
+    <property name="brokerURL" value="tcp://localhost:61616" />
+  </bean>
+  				   
+</beans>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-jms-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml?rev=778960&r1=778959&r2=778960&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml (original)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml Wed May 27 02:09:13 2009
@@ -33,6 +33,8 @@
     <packaging>pom</packaging>
     
     <modules>
+      <module>bridge-jms-su</module>
+      <module>bridge-http-su</module>
       <module>bridge-camel-su</module>
       <module>bridge-camel-sa</module>
       <module>client</module>