You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by lh...@apache.org on 2010/08/18 12:13:48 UTC

svn commit: r986619 - in /servicemix/archetypes/trunk: ./ servicemix-archetypes-itests/ servicemix-smpp-service-unit/ servicemix-xmpp-service-unit/ servicemix-xmpp-service-unit/src/ servicemix-xmpp-service-unit/src/main/ servicemix-xmpp-service-unit/sr...

Author: lhein
Date: Wed Aug 18 10:13:47 2010
New Revision: 986619

URL: http://svn.apache.org/viewvc?rev=986619&view=rev
Log: (empty)

Added:
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/pom.xml
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/META-INF/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/META-INF/maven/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/META-INF/maven/archetype.xml
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/pom.xml
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/src/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/src/main/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/src/main/resources/
    servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Modified:
    servicemix/archetypes/trunk/pom.xml
    servicemix/archetypes/trunk/servicemix-archetypes-itests/pom.xml
    servicemix/archetypes/trunk/servicemix-smpp-service-unit/pom.xml

Modified: servicemix/archetypes/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/pom.xml?rev=986619&r1=986618&r2=986619&view=diff
==============================================================================
--- servicemix/archetypes/trunk/pom.xml (original)
+++ servicemix/archetypes/trunk/pom.xml Wed Aug 18 10:13:47 2010
@@ -155,6 +155,11 @@
                 <artifactId>servicemix-validation</artifactId>
                 <version>${components.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.servicemix</groupId>
+                <artifactId>servicemix-xmpp</artifactId>
+                <version>${components.version}</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 
@@ -194,7 +199,7 @@
 		<module>servicemix-validation-service-unit</module>
 		<module>servicemix-vfs-service-unit</module>
 		<!-- <module>servicemix-wsn2005-service-unit</module> -->
-		<!-- <module>servicemix-xmpp-service-unit</module> -->
+		<module>servicemix-xmpp-service-unit</module>
 
         <module>servicemix-osgi-bundle</module>		
 		<module>servicemix-camel-osgi-bundle</module>

Modified: servicemix/archetypes/trunk/servicemix-archetypes-itests/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-archetypes-itests/pom.xml?rev=986619&r1=986618&r2=986619&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-archetypes-itests/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-archetypes-itests/pom.xml Wed Aug 18 10:13:47 2010
@@ -241,6 +241,11 @@
 			<artifactId>servicemix-osworkflow-service-unit</artifactId>
 			<version>${pom.version}</version>
 		</dependency>
+        <dependency>
+			<groupId>org.apache.servicemix.tooling</groupId>
+			<artifactId>servicemix-xmpp-service-unit</artifactId>
+			<version>${pom.version}</version>
+		</dependency>
 		<dependency>
 			<groupId>org.apache.servicemix.tooling</groupId>
 			<artifactId>servicemix-project-root</artifactId>

Modified: servicemix/archetypes/trunk/servicemix-smpp-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-smpp-service-unit/pom.xml?rev=986619&r1=986618&r2=986619&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-smpp-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-smpp-service-unit/pom.xml Wed Aug 18 10:13:47 2010
@@ -23,9 +23,11 @@
         <artifactId>archetypes</artifactId>
         <version>2010.01-SNAPSHOT</version>
     </parent>
+
+    <modelVersion>4.0.0</modelVersion>
     
     <groupId>org.apache.servicemix.tooling</groupId>
     <artifactId>servicemix-smpp-service-unit</artifactId>
     <name>Apache ServiceMix :: Archetypes :: SMPP Service Unit</name>
 
-</project>
\ No newline at end of file
+</project>

Added: servicemix/archetypes/trunk/servicemix-xmpp-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-xmpp-service-unit/pom.xml?rev=986619&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-xmpp-service-unit/pom.xml (added)
+++ servicemix/archetypes/trunk/servicemix-xmpp-service-unit/pom.xml Wed Aug 18 10:13:47 2010
@@ -0,0 +1,33 @@
+<?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/xsd/maven-4.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</groupId>
+        <artifactId>archetypes</artifactId>
+        <version>2010.01-SNAPSHOT</version>
+    </parent>
+    
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>servicemix-xmpp-service-unit</artifactId>
+    <name>Apache ServiceMix :: Archetypes :: XMPP Service Unit</name>
+
+</project>

Added: servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=986619&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/META-INF/maven/archetype.xml (added)
+++ servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/META-INF/maven/archetype.xml Wed Aug 18 10:13:47 2010
@@ -0,0 +1,23 @@
+<?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.
+    -->
+<archetype>
+    <id>servicemix-xmpp-service-unit</id>
+    <resources>
+        <resource>src/main/resources/xbean.xml</resource>
+    </resources>
+</archetype>    

Added: servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/pom.xml?rev=986619&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/pom.xml Wed Aug 18 10:13:47 2010
@@ -0,0 +1,32 @@
+<?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/xsd/maven-4.0.0.xsd">
+
+    <!-- Generated by Apache ServiceMix Archetype -->
+    
+    <groupId>${groupId}</groupId>
+    <artifactId>${artifactId}</artifactId>
+    <packaging>jbi-service-unit</packaging>
+    <version>${version}</version>
+    <name>Apache ServiceMix :: XMPP Service Unit</name>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-xmpp</artifactId>
+            <version>@{components.version}</version>
+        </dependency>
+    </dependencies>
+    
+    <build>
+        <defaultGoal>install</defaultGoal>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <version>@{jbi-maven-plugin.version}</version>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Added: servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=986619&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ servicemix/archetypes/trunk/servicemix-xmpp-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Wed Aug 18 10:13:47 2010
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by Apache ServiceMix Archetype -->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xmpp="http://servicemix.apache.org/xmpp/1.0"
+       xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://servicemix.apache.org/xmpp/1.0 http://servicemix.apache.org/schema/servicemix-xmpp-@{components-version}.xsd
+                           http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+    <!-- BEGIN SNIPPET: xmpp-receiver -->
+    <xmpp:receiver service="replaceMe:serviceName" 
+                   endpoint="xmpp-receiver"
+                   targetService="replaceMe:targetServiceName"
+                   targetEndpoint="targetEndpoint"
+                   host="my.jabberserver.lan"
+                   port="5222"
+                   user="lhein"
+                   password="myPassword"
+                   createAccount="false" />
+    <!-- END SNIPPET: xmpp-receiver -->  
+    
+    <!-- BEGIN SNIPPET: xmpp-sender -->
+    <xmpp:sender service="replaceMe:serviceName" 
+                 endpoint="xmpp-sender"
+                 host="my.jabberserver.lan"
+                 port="5222"
+                 user="lhein"
+                 password="myPassword"
+		 createAccount="false"                  
+		 participant="gertv@my.jabberserver.lan" />
+    <!-- END SNIPPET: xmpp-sender -->     
+
+</beans>