You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/07/28 07:49:50 UTC

svn commit: r426392 [46/47] - in /incubator/servicemix/trunk: apache-servicemix/src/main/assembly/ apache-servicemix/src/main/release/conf/ apache-servicemix/src/main/release/examples/basic/ apache-servicemix/src/main/release/examples/bpel-bpe/ apache-...

Modified: incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,71 +1,71 @@
-<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">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>${groupId}</groupId>
-  <artifactId>${artifactId}</artifactId>
-  <packaging>jbi-service-unit</packaging>
-  <version>${version}</version>
-  <name>A custom project</name>
-  <url>http://www.myorganization.org</url>
-  <pluginRepositories>
-    <pluginRepository>
-      <id>apache.snapshots</id>
-      <name>Maven Central Plugins Development Repository</name>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-         <enabled>false</enabled>
-      </releases>
-    </pluginRepository>
-  </pluginRepositories>
-  <repositories>
-    <repository>
-      <id>apache.snapshots</id>
-      <name>Maven Central Plugins Development Repository</name>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-         <enabled>false</enabled>
-      </releases>
-    </repository>
-  </repositories>
-  <properties>
-    <servicemixVersion>3.0-M2-incubating</servicemixVersion>
-    <servicemixJbiPluginVersion>1.0-M2-incubating</servicemixJbiPluginVersion>
-    <xbeanPluginVersion>2.4</xbeanPluginVersion>
-    <jbiBindingComponent>myBindingComponent</jbiBindingComponent>
-  </properties>
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  <build>
-  	<resources>
-      <resource>
-        <directory>src/main/resources</directory>
-        <includes>
-          <include>**/*</include>
-        </includes>
-      </resource>    
-    </resources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.servicemix.tooling</groupId>
-        <artifactId>jbi-maven-plugin</artifactId>
-        <version>${servicemixJbiPluginVersion}</version>
-        <extensions>true</extensions>
-        <configuration>
-          <type>service-unit</type>
-        </configuration>
-      </plugin>     
-    </plugins>
-  </build>
-</project>
+<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">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A custom project</name>
+  <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+  <properties>
+    <servicemixVersion>3.0-M2-incubating</servicemixVersion>
+    <servicemixJbiPluginVersion>1.0-M2-incubating</servicemixJbiPluginVersion>
+    <xbeanPluginVersion>2.4</xbeanPluginVersion>
+    <jbiBindingComponent>myBindingComponent</jbiBindingComponent>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+  	<resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>    
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemixJbiPluginVersion}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-unit</type>
+        </configuration>
+      </plugin>     
+    </plugins>
+  </build>
+</project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Jul 27 22:49:32 2006
@@ -1,52 +1,52 @@
-<?xml version="1.0"?>
-<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
-       xmlns:test="http://test">
-
-	<!--  Define an additional classpath location
-	      for wsdl resources -->
-    <classpath>
-        <location>.</location>
-    </classpath>
-
-    <!-- START SNIPPET: consumer -->
-    <jms:endpoint service="test:MyConsumerService"
-                  endpoint="jms"
-                  targetService="test:MyConsumerService"
-                  targetEndpoint="myConsumer"
-                  role="consumer" 
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
-                  defaultOperation="test:Echo" />
-    <!-- END SNIPPET: consumer -->
-
-    <jms:endpoint service="test:MyConsumerService"
-                  endpoint="jms+soap"
-                  targetInterfaceName="test:MyConsumerInterface"
-                  role="consumer"
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A/Soap"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  soap="true"
-                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
-
-    <!-- START SNIPPET: provider -->
-    <jms:endpoint service="test:MyProviderService"
-                  endpoint="myProvider"
-                  role="provider" 
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  wsdlResource="classpath:provider.wsdl" />
-    <!-- END SNIPPET: provider -->
-
-    <jms:endpoint service="test:MySoapProviderService"
-                  endpoint="myProvider"
-                  role="provider" 
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A/Soap"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  soap="true"/>
-  				   
-</beans>
+<?xml version="1.0"?>
+<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
+       xmlns:test="http://test">
+
+	<!--  Define an additional classpath location
+	      for wsdl resources -->
+    <classpath>
+        <location>.</location>
+    </classpath>
+
+    <!-- START SNIPPET: consumer -->
+    <jms:endpoint service="test:MyConsumerService"
+                  endpoint="jms"
+                  targetService="test:MyConsumerService"
+                  targetEndpoint="myConsumer"
+                  role="consumer" 
+                  destinationStyle="queue"
+                  jmsProviderDestinationName="queue/A"
+                  jndiConnectionFactoryName="ConnectionFactory"
+                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
+                  defaultOperation="test:Echo" />
+    <!-- END SNIPPET: consumer -->
+
+    <jms:endpoint service="test:MyConsumerService"
+                  endpoint="jms+soap"
+                  targetInterfaceName="test:MyConsumerInterface"
+                  role="consumer"
+                  destinationStyle="queue"
+                  jmsProviderDestinationName="queue/A/Soap"
+                  jndiConnectionFactoryName="ConnectionFactory"
+                  soap="true"
+                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
+
+    <!-- START SNIPPET: provider -->
+    <jms:endpoint service="test:MyProviderService"
+                  endpoint="myProvider"
+                  role="provider" 
+                  destinationStyle="queue"
+                  jmsProviderDestinationName="queue/A"
+                  jndiConnectionFactoryName="ConnectionFactory"
+                  wsdlResource="classpath:provider.wsdl" />
+    <!-- END SNIPPET: provider -->
+
+    <jms:endpoint service="test:MySoapProviderService"
+                  endpoint="myProvider"
+                  role="provider" 
+                  destinationStyle="queue"
+                  jmsProviderDestinationName="queue/A/Soap"
+                  jndiConnectionFactoryName="ConnectionFactory"
+                  soap="true"/>
+  				   
+</beans>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,35 +1,35 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Copyright 2005 The Apache Software Foundation
-
-    Licensed 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.
--->
-<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
-<project 
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xmlns="http://maven.apache.org/POM/4.0.0">
-    
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.apache.servicemix.tooling</groupId>
-    <artifactId>tooling</artifactId>
-    <version>1.0-incubating-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>servicemix-jms-provider-service-unit</artifactId>
-  <name>ServiceMix :: Maven2 :: Archetypes :: JmsProviderServiceUnit</name>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed 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.
+-->
+<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
+<project 
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>tooling</artifactId>
+    <version>1.0-incubating-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>servicemix-jms-provider-service-unit</artifactId>
+  <name>ServiceMix :: Maven2 :: Archetypes :: JmsProviderServiceUnit</name>
+
 </project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml Thu Jul 27 22:49:32 2006
@@ -1,6 +1,6 @@
-<archetype>
-  <id>servicemix-su</id>
-   <resources>
-    <resource>src/main/resources/xbean.xml</resource>
-  </resources>
-</archetype>
+<archetype>
+  <id>servicemix-su</id>
+   <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+  </resources>
+</archetype>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,71 +1,71 @@
-<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">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>${groupId}</groupId>
-  <artifactId>${artifactId}</artifactId>
-  <packaging>jbi-service-unit</packaging>
-  <version>${version}</version>
-  <name>A custom project</name>
-  <url>http://www.myorganization.org</url>
-  <pluginRepositories>
-    <pluginRepository>
-      <id>apache.snapshots</id>
-      <name>Maven Central Plugins Development Repository</name>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-         <enabled>false</enabled>
-      </releases>
-    </pluginRepository>
-  </pluginRepositories>
-  <repositories>
-    <repository>
-      <id>apache.snapshots</id>
-      <name>Maven Central Plugins Development Repository</name>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-         <enabled>false</enabled>
-      </releases>
-    </repository>
-  </repositories>
-  <properties>
-    <servicemixVersion>3.0-M2-incubating</servicemixVersion>
-    <servicemixJbiPluginVersion>1.0-M2-incubating</servicemixJbiPluginVersion>
-    <xbeanPluginVersion>2.4</xbeanPluginVersion>
-    <jbiBindingComponent>myBindingComponent</jbiBindingComponent>
-  </properties>
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  <build>
-  	<resources>
-      <resource>
-        <directory>src/main/resources</directory>
-        <includes>
-          <include>**/*</include>
-        </includes>
-      </resource>    
-    </resources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.servicemix.tooling</groupId>
-        <artifactId>jbi-maven-plugin</artifactId>
-        <version>${servicemixJbiPluginVersion}</version>
-        <extensions>true</extensions>
-        <configuration>
-          <type>service-unit</type>
-        </configuration>
-      </plugin>     
-    </plugins>
-  </build>
-</project>
+<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">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A custom project</name>
+  <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+  <properties>
+    <servicemixVersion>3.0-M2-incubating</servicemixVersion>
+    <servicemixJbiPluginVersion>1.0-M2-incubating</servicemixJbiPluginVersion>
+    <xbeanPluginVersion>2.4</xbeanPluginVersion>
+    <jbiBindingComponent>myBindingComponent</jbiBindingComponent>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+  	<resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>    
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemixJbiPluginVersion}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-unit</type>
+        </configuration>
+      </plugin>     
+    </plugins>
+  </build>
+</project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Jul 27 22:49:32 2006
@@ -1,52 +1,52 @@
-<?xml version="1.0"?>
-<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
-       xmlns:test="http://test">
-
-	<!--  Define an additional classpath location
-	      for wsdl resources -->
-    <classpath>
-        <location>.</location>
-    </classpath>
-
-    <!-- START SNIPPET: consumer -->
-    <jms:endpoint service="test:MyConsumerService"
-                  endpoint="jms"
-                  targetService="test:MyConsumerService"
-                  targetEndpoint="myConsumer"
-                  role="consumer" 
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
-                  defaultOperation="test:Echo" />
-    <!-- END SNIPPET: consumer -->
-
-    <jms:endpoint service="test:MyConsumerService"
-                  endpoint="jms+soap"
-                  targetInterfaceName="test:MyConsumerInterface"
-                  role="consumer"
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A/Soap"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  soap="true"
-                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
-
-    <!-- START SNIPPET: provider -->
-    <jms:endpoint service="test:MyProviderService"
-                  endpoint="myProvider"
-                  role="provider" 
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  wsdlResource="classpath:provider.wsdl" />
-    <!-- END SNIPPET: provider -->
-
-    <jms:endpoint service="test:MySoapProviderService"
-                  endpoint="myProvider"
-                  role="provider" 
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A/Soap"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  soap="true"/>
-  				   
-</beans>
+<?xml version="1.0"?>
+<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
+       xmlns:test="http://test">
+
+	<!--  Define an additional classpath location
+	      for wsdl resources -->
+    <classpath>
+        <location>.</location>
+    </classpath>
+
+    <!-- START SNIPPET: consumer -->
+    <jms:endpoint service="test:MyConsumerService"
+                  endpoint="jms"
+                  targetService="test:MyConsumerService"
+                  targetEndpoint="myConsumer"
+                  role="consumer" 
+                  destinationStyle="queue"
+                  jmsProviderDestinationName="queue/A"
+                  jndiConnectionFactoryName="ConnectionFactory"
+                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
+                  defaultOperation="test:Echo" />
+    <!-- END SNIPPET: consumer -->
+
+    <jms:endpoint service="test:MyConsumerService"
+                  endpoint="jms+soap"
+                  targetInterfaceName="test:MyConsumerInterface"
+                  role="consumer"
+                  destinationStyle="queue"
+                  jmsProviderDestinationName="queue/A/Soap"
+                  jndiConnectionFactoryName="ConnectionFactory"
+                  soap="true"
+                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
+
+    <!-- START SNIPPET: provider -->
+    <jms:endpoint service="test:MyProviderService"
+                  endpoint="myProvider"
+                  role="provider" 
+                  destinationStyle="queue"
+                  jmsProviderDestinationName="queue/A"
+                  jndiConnectionFactoryName="ConnectionFactory"
+                  wsdlResource="classpath:provider.wsdl" />
+    <!-- END SNIPPET: provider -->
+
+    <jms:endpoint service="test:MySoapProviderService"
+                  endpoint="myProvider"
+                  role="provider" 
+                  destinationStyle="queue"
+                  jmsProviderDestinationName="queue/A/Soap"
+                  jndiConnectionFactoryName="ConnectionFactory"
+                  soap="true"/>
+  				   
+</beans>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,35 +1,35 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Copyright 2005 The Apache Software Foundation
-
-    Licensed 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.
--->
-<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
-<project 
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xmlns="http://maven.apache.org/POM/4.0.0">
-    
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.apache.servicemix.tooling</groupId>
-    <artifactId>tooling</artifactId>
-    <version>1.0-incubating-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>servicemix-jsr181-wsdl-first-service-unit</artifactId>
-  <name>ServiceMix :: Maven2 :: Archetypes :: Jsr181WsdlFirstServiceUnit</name>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed 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.
+-->
+<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
+<project 
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>tooling</artifactId>
+    <version>1.0-incubating-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>servicemix-jsr181-wsdl-first-service-unit</artifactId>
+  <name>ServiceMix :: Maven2 :: Archetypes :: Jsr181WsdlFirstServiceUnit</name>
+
 </project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml Thu Jul 27 22:49:32 2006
@@ -1,7 +1,7 @@
-<archetype>
-  <id>servicemix-su</id>
-  <resources>
-    <resource>src/main/resources/xbean.xml</resource>
-    <resource>src/main/resources/service.wsdl</resource>
-  </resources>
-</archetype>
+<archetype>
+  <id>servicemix-su</id>
+  <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+    <resource>src/main/resources/service.wsdl</resource>
+  </resources>
+</archetype>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,129 +1,129 @@
-<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">
-	<modelVersion>4.0.0</modelVersion>
-	<groupId>${groupId}</groupId>
-	<artifactId>${artifactId}</artifactId>
-	<packaging>jbi-service-unit</packaging>
-	<version>${version}</version>
-	<name>An example JSR-181 Service Unit</name>
-	<url>http://www.myorganization.org</url>
-	<pluginRepositories>
-		<pluginRepository>
-			<id>apache.snapshots</id>
-			<name>Maven Central Plugins Development Repository</name>
-			<url>http://cvs.apache.org/maven-snapshot-repository</url>
-			<snapshots>
-				<enabled>true</enabled>
-			</snapshots>
-			<releases>
-				<enabled>false</enabled>
-			</releases>
-		</pluginRepository>
-	</pluginRepositories>
-	<repositories>
-		<repository>
-			<id>apache.snapshots</id>
-			<name>Maven Central Plugins Development Repository</name>
-			<url>http://cvs.apache.org/maven-snapshot-repository</url>
-			<snapshots>
-				<enabled>true</enabled>
-			</snapshots>
-			<releases>
-				<enabled>false</enabled>
-			</releases>
-		</repository>
-	</repositories>
-	<dependencies>
-		<dependency>
-			<groupId>javax.xml</groupId>
-			<artifactId>jaxws-api</artifactId>
-			<version>2.0EA3</version>
-		</dependency>		
-		<dependency>
-			<groupId>xfire</groupId>
-			<artifactId>xfire-jsr181-api</artifactId>
-			<version>1.0-M1</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.servicemix</groupId>
-			<artifactId>servicemix-jsr181</artifactId>
-			<version>3.0-incubating-SNAPSHOT</version>
-		</dependency>
-	</dependencies>
-	<build>
-		<resources>
-			<resource>
-				<directory>src/main/resources</directory>
-				<includes>
-					<include>**/*</include>
-				</includes>
-			</resource>
-			<resource>
-				<directory>target/generated-sources</directory>
-				<includes>
-					<include>**/*</include>
-				</includes>
-			</resource>
-		</resources>
-		<plugins>
-			<plugin>
-				<artifactId>maven-compiler-plugin</artifactId>
-				<configuration>
-					<source>1.5</source>
-					<target>1.5</target>
-				</configuration>
-			</plugin>
-			<plugin>
-				<artifactId>maven-antrun-plugin</artifactId>
-				<executions>
-					<execution>
-						<phase>generate-sources</phase>
-						<configuration>
-							<tasks>
-								<taskdef
-									classname="org.codehaus.xfire.gen.WsGenTask" name="wsgen">
-									<classpath>
-										<pathelement
-											path="\${basedir}/target/classes" />
-										<path
-											refid="maven.test.classpath" />
-									</classpath>
-								</taskdef>
-								<wsgen
-									wsdl="\${basedir}/src/main/resources/service.wsdl"
-									outputDirectory="\${basedir}/target/generated-sources"
-									profile="org.codehaus.xfire.jaxws.gen.JAXWSProfile"
-									explicitAnnotation="true" />
-							</tasks>
-							<sourceRoot>
-								\${basedir}/target/generated-sources
-							</sourceRoot>
-						</configuration>
-						<goals>
-							<goal>run</goal>
-						</goals>
-					</execution>
-				</executions>
-				<dependencies>
-					<dependency>
-						<groupId>org.codehaus.xfire</groupId>
-						<artifactId>xfire-generator</artifactId>
-						<version>1.1.1</version>
-					</dependency>
-					<dependency>
-						<groupId>org.codehaus.xfire</groupId>
-						<artifactId>xfire-jaxws</artifactId>
-						<version>1.1.1</version>
-					</dependency>
-				</dependencies>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.servicemix.tooling</groupId>
-				<artifactId>jbi-maven-plugin</artifactId>
-				<version>1.0-incubating-SNAPSHOT</version>
-				<extensions>true</extensions>
-			</plugin>
-		</plugins>
-	</build>
-</project>
+<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">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>${groupId}</groupId>
+	<artifactId>${artifactId}</artifactId>
+	<packaging>jbi-service-unit</packaging>
+	<version>${version}</version>
+	<name>An example JSR-181 Service Unit</name>
+	<url>http://www.myorganization.org</url>
+	<pluginRepositories>
+		<pluginRepository>
+			<id>apache.snapshots</id>
+			<name>Maven Central Plugins Development Repository</name>
+			<url>http://cvs.apache.org/maven-snapshot-repository</url>
+			<snapshots>
+				<enabled>true</enabled>
+			</snapshots>
+			<releases>
+				<enabled>false</enabled>
+			</releases>
+		</pluginRepository>
+	</pluginRepositories>
+	<repositories>
+		<repository>
+			<id>apache.snapshots</id>
+			<name>Maven Central Plugins Development Repository</name>
+			<url>http://cvs.apache.org/maven-snapshot-repository</url>
+			<snapshots>
+				<enabled>true</enabled>
+			</snapshots>
+			<releases>
+				<enabled>false</enabled>
+			</releases>
+		</repository>
+	</repositories>
+	<dependencies>
+		<dependency>
+			<groupId>javax.xml</groupId>
+			<artifactId>jaxws-api</artifactId>
+			<version>2.0EA3</version>
+		</dependency>		
+		<dependency>
+			<groupId>xfire</groupId>
+			<artifactId>xfire-jsr181-api</artifactId>
+			<version>1.0-M1</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.servicemix</groupId>
+			<artifactId>servicemix-jsr181</artifactId>
+			<version>3.0-incubating-SNAPSHOT</version>
+		</dependency>
+	</dependencies>
+	<build>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<includes>
+					<include>**/*</include>
+				</includes>
+			</resource>
+			<resource>
+				<directory>target/generated-sources</directory>
+				<includes>
+					<include>**/*</include>
+				</includes>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>generate-sources</phase>
+						<configuration>
+							<tasks>
+								<taskdef
+									classname="org.codehaus.xfire.gen.WsGenTask" name="wsgen">
+									<classpath>
+										<pathelement
+											path="\${basedir}/target/classes" />
+										<path
+											refid="maven.test.classpath" />
+									</classpath>
+								</taskdef>
+								<wsgen
+									wsdl="\${basedir}/src/main/resources/service.wsdl"
+									outputDirectory="\${basedir}/target/generated-sources"
+									profile="org.codehaus.xfire.jaxws.gen.JAXWSProfile"
+									explicitAnnotation="true" />
+							</tasks>
+							<sourceRoot>
+								\${basedir}/target/generated-sources
+							</sourceRoot>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+				</executions>
+				<dependencies>
+					<dependency>
+						<groupId>org.codehaus.xfire</groupId>
+						<artifactId>xfire-generator</artifactId>
+						<version>1.1.1</version>
+					</dependency>
+					<dependency>
+						<groupId>org.codehaus.xfire</groupId>
+						<artifactId>xfire-jaxws</artifactId>
+						<version>1.1.1</version>
+					</dependency>
+				</dependencies>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.servicemix.tooling</groupId>
+				<artifactId>jbi-maven-plugin</artifactId>
+				<version>1.0-incubating-SNAPSHOT</version>
+				<extensions>true</extensions>
+			</plugin>
+		</plugins>
+	</build>
+</project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl Thu Jul 27 22:49:32 2006
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/example/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="example" targetNamespace="http://www.example.org/example/">
-
-<wsdl:service name="example">
-
-</wsdl:service>
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/example/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="example" targetNamespace="http://www.example.org/example/">
+
+<wsdl:service name="example">
+
+</wsdl:service>
 </wsdl:definitions>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Thu Jul 27 22:49:32 2006
@@ -1,10 +1,10 @@
-<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
-
-    <classpath>
-        <location>.</location>
-    </classpath>
-  
-    <jsr181:endpoint pojoClass="put.your.implementation.here"
-                     wsdlResource="classpath:service.wsdl" />
-
+<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
+
+    <classpath>
+        <location>.</location>
+    </classpath>
+  
+    <jsr181:endpoint pojoClass="put.your.implementation.here"
+                     wsdlResource="classpath:service.wsdl" />
+
 </beans>

Propchange: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-assembly/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-assembly/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-assembly/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-assembly/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,35 +1,35 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Copyright 2005 The Apache Software Foundation
-
-    Licensed 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.
--->
-<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
-<project 
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xmlns="http://maven.apache.org/POM/4.0.0">
-    
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.apache.servicemix.tooling</groupId>
-    <artifactId>tooling</artifactId>
-    <version>1.0-incubating-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>servicemix-service-assembly</artifactId>
-  <name>ServiceMix :: Maven2 :: Archetypes :: ServiceAssembly</name>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed 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.
+-->
+<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
+<project 
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>tooling</artifactId>
+    <version>1.0-incubating-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>servicemix-service-assembly</artifactId>
+  <name>ServiceMix :: Maven2 :: Archetypes :: ServiceAssembly</name>
+
 </project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-assembly/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml Thu Jul 27 22:49:32 2006
@@ -1,3 +1,3 @@
-<archetype>
-  <id>servicemix-sa</id>  
-</archetype>
+<archetype>
+  <id>servicemix-sa</id>  
+</archetype>

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,60 +1,60 @@
-<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">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>${groupId}</groupId>
-  <artifactId>${artifactId}</artifactId>
-  <packaging>jbi-service-assembly</packaging>
-  <version>${version}</version>
-  <name>A custom project</name>
-  <url>http://www.myorganization.org</url>
-  <pluginRepositories>
-    <pluginRepository>
-      <id>apache.snapshots</id>
-      <name>Maven Central Plugins Development Repository</name>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-         <enabled>false</enabled>
-      </releases>
-    </pluginRepository>
-  </pluginRepositories>
-  <repositories>
-    <repository>
-      <id>apache.snapshots</id>
-      <name>Maven Central Plugins Development Repository</name>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-         <enabled>false</enabled>
-      </releases>
-    </repository>
-  </repositories>
-  <properties>
-    <servicemixVersion>3.0-incubating-SNAPSHOT</servicemixVersion>
-    <xbeanPluginVersion>2.4</xbeanPluginVersion>
-  </properties>
-  <dependencies>    
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.servicemix.tooling</groupId>
-        <artifactId>jbi-maven-plugin</artifactId>
-        <extensions>true</extensions>
-        <configuration>
-          <type>service-assembly</type>         
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
+<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">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-assembly</packaging>
+  <version>${version}</version>
+  <name>A custom project</name>
+  <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+  <properties>
+    <servicemixVersion>3.0-incubating-SNAPSHOT</servicemixVersion>
+    <xbeanPluginVersion>2.4</xbeanPluginVersion>
+  </properties>
+  <dependencies>    
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-assembly</type>         
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-engine/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-engine/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-engine/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-engine/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,35 +1,35 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Copyright 2005 The Apache Software Foundation
-
-    Licensed 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.
--->
-<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
-<project 
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xmlns="http://maven.apache.org/POM/4.0.0">
-    
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.apache.servicemix.tooling</groupId>
-    <artifactId>tooling</artifactId>
-    <version>1.0-incubating-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>servicemix-service-engine</artifactId>
-  <name>ServiceMix :: Maven2 :: Archetypes :: ServiceEngine</name>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed 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.
+-->
+<!-- $Rev: 365333 $ $Date: 2006-01-02 12:21:09 +0100 (lun., 02 janv. 2006) $ -->
+<project 
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" 
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>tooling</artifactId>
+    <version>1.0-incubating-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>servicemix-service-engine</artifactId>
+  <name>ServiceMix :: Maven2 :: Archetypes :: ServiceEngine</name>
+
 </project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-engine/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/META-INF/maven/archetype.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/META-INF/maven/archetype.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/META-INF/maven/archetype.xml Thu Jul 27 22:49:32 2006
@@ -1,17 +1,17 @@
-<archetype>
-  <id>servicemix-se</id>
-  <sources>
-    <source>src/main/java/MyBootstrap.java</source>
-    <source>src/main/java/MyComponent.java</source>
-    <source>src/main/java/MyDeployer.java</source>
-    <source>src/main/java/MyEndpoint.java</source>
-    <source>src/main/java/MyLifeCycle.java</source>
-    <source>src/main/java/MySpringComponent.java</source>
-  </sources>
-  <testSources>
-    <source>src/test/java/MySpringComponentTest.java</source>
-  </testSources>
-  <testResources>
-    <resource>src/test/resources/spring.xml</resource>
-  </testResources>
-</archetype>
+<archetype>
+  <id>servicemix-se</id>
+  <sources>
+    <source>src/main/java/MyBootstrap.java</source>
+    <source>src/main/java/MyComponent.java</source>
+    <source>src/main/java/MyDeployer.java</source>
+    <source>src/main/java/MyEndpoint.java</source>
+    <source>src/main/java/MyLifeCycle.java</source>
+    <source>src/main/java/MySpringComponent.java</source>
+  </sources>
+  <testSources>
+    <source>src/test/java/MySpringComponentTest.java</source>
+  </testSources>
+  <testResources>
+    <resource>src/test/resources/spring.xml</resource>
+  </testResources>
+</archetype>

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml Thu Jul 27 22:49:32 2006
@@ -1,87 +1,87 @@
-<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">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>${groupId}</groupId>
-  <artifactId>${artifactId}</artifactId>
-  <packaging>jbi-component</packaging>
-  <version>${version}</version>
-  <name>A custom project</name>
-  <url>http://www.myorganization.org</url>
-  <pluginRepositories>
-    <pluginRepository>
-      <id>apache.snapshots</id>
-      <name>Maven Central Plugins Development Repository</name>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-         <enabled>false</enabled>
-      </releases>
-    </pluginRepository>
-  </pluginRepositories>
-  <repositories>
-    <repository>
-      <id>apache.snapshots</id>
-      <name>Maven Central Plugins Development Repository</name>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-         <enabled>false</enabled>
-      </releases>
-    </repository>
-  </repositories>
-  <properties>
-    <servicemixVersion>3.0-incubating-SNAPSHOT</servicemixVersion>
-    <xbeanPluginVersion>2.4</xbeanPluginVersion>
-  </properties>
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.servicemix</groupId>
-      <artifactId>servicemix-common</artifactId>      
-      <version>${servicemixVersion}</version>      
-    </dependency>
-    <dependency>
-      <groupId>org.apache.servicemix</groupId>
-      <artifactId>servicemix-core</artifactId>
-      <version>${servicemixVersion}</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.servicemix.tooling</groupId>
-        <artifactId>jbi-maven-plugin</artifactId>        
-        <extensions>true</extensions>
-        <configuration>
-          <type>service-engine</type>
-          <bootstrap>${packageName}.MyBootstrap</bootstrap>
-          <component>${packageName}.MyComponent</component>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.xbean</groupId>
-        <artifactId>maven-xbean-plugin</artifactId>
-        <version>${xbeanPluginVersion}</version>
-        <executions>
-          <execution>
-            <configuration>
-              <namespace>http://${packageName}/1.0</namespace>
-            </configuration>
-            <goals>
-              <goal>mapping</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
+<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">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-component</packaging>
+  <version>${version}</version>
+  <name>A custom project</name>
+  <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Maven Central Plugins Development Repository</name>
+      <url>http://cvs.apache.org/maven-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+  <properties>
+    <servicemixVersion>3.0-incubating-SNAPSHOT</servicemixVersion>
+    <xbeanPluginVersion>2.4</xbeanPluginVersion>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-common</artifactId>      
+      <version>${servicemixVersion}</version>      
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-core</artifactId>
+      <version>${servicemixVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>        
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-engine</type>
+          <bootstrap>${packageName}.MyBootstrap</bootstrap>
+          <component>${packageName}.MyComponent</component>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.xbean</groupId>
+        <artifactId>maven-xbean-plugin</artifactId>
+        <version>${xbeanPluginVersion}</version>
+        <executions>
+          <execution>
+            <configuration>
+              <namespace>http://${packageName}/1.0</namespace>
+            </configuration>
+            <goals>
+              <goal>mapping</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java Thu Jul 27 22:49:32 2006
@@ -1,149 +1,149 @@
-package ${packageName};
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import javax.jbi.JBIException;
-import javax.jbi.component.Bootstrap;
-import javax.jbi.component.InstallationContext;
-import javax.management.MBeanServer;
-import javax.management.ObjectName;
-
-/**
- * Bootstrap class.
- * This class is usefull to perform tasks at installation / uninstallation time 
- */
-public class MyBootstrap implements Bootstrap
-{
-
-    protected final transient Log logger = LogFactory.getLog(getClass());
-    
-    protected InstallationContext context;
-    protected ObjectName mbeanName;
-    
-    public MyBootstrap() {
-    }
-    
-    public ObjectName getExtensionMBeanName() {
-        return mbeanName;
-    }
-
-    protected Object getExtensionMBean() throws Exception {
-        return null;
-    }
-    
-    protected ObjectName createExtensionMBeanName() throws Exception {
-        return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap");
-    }
-
-    /* (non-Javadoc)
-     * @see javax.jbi.component.Bootstrap#init(javax.jbi.component.InstallationContext)
-     */
-    public void init(InstallationContext installContext) throws JBIException {
-        try {
-            if (logger.isDebugEnabled()) {
-                logger.debug("Initializing bootstrap");
-            }
-            this.context = installContext;
-            doInit();
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap initialized");
-            }
-        } catch (JBIException e) {
-            throw e;
-        } catch (Exception e) {
-            throw new JBIException("Error calling init", e);
-        }
-    }
-
-    protected void doInit() throws Exception {
-        Object mbean = getExtensionMBean();
-        if (mbean != null) {
-            this.mbeanName = createExtensionMBeanName();
-            MBeanServer server = this.context.getContext().getMBeanServer();
-            if (server == null) {
-                throw new JBIException("null mBeanServer");
-            }
-            if (server.isRegistered(this.mbeanName)) {
-                server.unregisterMBean(this.mbeanName);
-            }
-            server.registerMBean(mbean, this.mbeanName);
-        }
-    }
-    
-    /* (non-Javadoc)
-     * @see javax.jbi.component.Bootstrap#cleanUp()
-     */
-    public void cleanUp() throws JBIException {
-        try {
-            if (logger.isDebugEnabled()) {
-                logger.debug("Cleaning up bootstrap");
-            }
-            doCleanUp();
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap cleaned up");
-            }
-        } catch (JBIException e) {
-            throw e;
-        } catch (Exception e) {
-            throw new JBIException("Error calling cleanUp", e);
-        }
-    }
-
-    protected void doCleanUp() throws Exception {
-        if (this.mbeanName != null) {
-            MBeanServer server = this.context.getContext().getMBeanServer();
-            if (server == null) {
-                throw new JBIException("null mBeanServer");
-            }
-            if (server.isRegistered(this.mbeanName)) {
-                server.unregisterMBean(this.mbeanName);
-            }
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see javax.jbi.component.Bootstrap#onInstall()
-     */
-    public void onInstall() throws JBIException {
-        try {
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap onInstall");
-            }
-            doOnInstall();
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap onInstall done");
-            }
-        } catch (JBIException e) {
-            throw e;
-        } catch (Exception e) {
-            throw new JBIException("Error calling onInstall", e);
-        }
-    }
-
-    protected void doOnInstall() throws Exception {
-    }
-    
-    /* (non-Javadoc)
-     * @see javax.jbi.component.Bootstrap#onUninstall()
-     */
-    public void onUninstall() throws JBIException {
-        try {
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap onUninstall");
-            }
-            doOnUninstall();
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap onUninstall done");
-            }
-        } catch (JBIException e) {
-            throw e;
-        } catch (Exception e) {
-            throw new JBIException("Error calling onUninstall", e);
-        }
-    }
-
-    protected void doOnUninstall() throws Exception {
-    }
-    
-}
+package ${packageName};
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import javax.jbi.JBIException;
+import javax.jbi.component.Bootstrap;
+import javax.jbi.component.InstallationContext;
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+/**
+ * Bootstrap class.
+ * This class is usefull to perform tasks at installation / uninstallation time 
+ */
+public class MyBootstrap implements Bootstrap
+{
+
+    protected final transient Log logger = LogFactory.getLog(getClass());
+    
+    protected InstallationContext context;
+    protected ObjectName mbeanName;
+    
+    public MyBootstrap() {
+    }
+    
+    public ObjectName getExtensionMBeanName() {
+        return mbeanName;
+    }
+
+    protected Object getExtensionMBean() throws Exception {
+        return null;
+    }
+    
+    protected ObjectName createExtensionMBeanName() throws Exception {
+        return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap");
+    }
+
+    /* (non-Javadoc)
+     * @see javax.jbi.component.Bootstrap#init(javax.jbi.component.InstallationContext)
+     */
+    public void init(InstallationContext installContext) throws JBIException {
+        try {
+            if (logger.isDebugEnabled()) {
+                logger.debug("Initializing bootstrap");
+            }
+            this.context = installContext;
+            doInit();
+            if (logger.isDebugEnabled()) {
+                logger.debug("Bootstrap initialized");
+            }
+        } catch (JBIException e) {
+            throw e;
+        } catch (Exception e) {
+            throw new JBIException("Error calling init", e);
+        }
+    }
+
+    protected void doInit() throws Exception {
+        Object mbean = getExtensionMBean();
+        if (mbean != null) {
+            this.mbeanName = createExtensionMBeanName();
+            MBeanServer server = this.context.getContext().getMBeanServer();
+            if (server == null) {
+                throw new JBIException("null mBeanServer");
+            }
+            if (server.isRegistered(this.mbeanName)) {
+                server.unregisterMBean(this.mbeanName);
+            }
+            server.registerMBean(mbean, this.mbeanName);
+        }
+    }
+    
+    /* (non-Javadoc)
+     * @see javax.jbi.component.Bootstrap#cleanUp()
+     */
+    public void cleanUp() throws JBIException {
+        try {
+            if (logger.isDebugEnabled()) {
+                logger.debug("Cleaning up bootstrap");
+            }
+            doCleanUp();
+            if (logger.isDebugEnabled()) {
+                logger.debug("Bootstrap cleaned up");
+            }
+        } catch (JBIException e) {
+            throw e;
+        } catch (Exception e) {
+            throw new JBIException("Error calling cleanUp", e);
+        }
+    }
+
+    protected void doCleanUp() throws Exception {
+        if (this.mbeanName != null) {
+            MBeanServer server = this.context.getContext().getMBeanServer();
+            if (server == null) {
+                throw new JBIException("null mBeanServer");
+            }
+            if (server.isRegistered(this.mbeanName)) {
+                server.unregisterMBean(this.mbeanName);
+            }
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see javax.jbi.component.Bootstrap#onInstall()
+     */
+    public void onInstall() throws JBIException {
+        try {
+            if (logger.isDebugEnabled()) {
+                logger.debug("Bootstrap onInstall");
+            }
+            doOnInstall();
+            if (logger.isDebugEnabled()) {
+                logger.debug("Bootstrap onInstall done");
+            }
+        } catch (JBIException e) {
+            throw e;
+        } catch (Exception e) {
+            throw new JBIException("Error calling onInstall", e);
+        }
+    }
+
+    protected void doOnInstall() throws Exception {
+    }
+    
+    /* (non-Javadoc)
+     * @see javax.jbi.component.Bootstrap#onUninstall()
+     */
+    public void onUninstall() throws JBIException {
+        try {
+            if (logger.isDebugEnabled()) {
+                logger.debug("Bootstrap onUninstall");
+            }
+            doOnUninstall();
+            if (logger.isDebugEnabled()) {
+                logger.debug("Bootstrap onUninstall done");
+            }
+        } catch (JBIException e) {
+            throw e;
+        } catch (Exception e) {
+            throw new JBIException("Error calling onUninstall", e);
+        }
+    }
+
+    protected void doOnUninstall() throws Exception {
+    }
+    
+}

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyComponent.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyComponent.java?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyComponent.java (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyComponent.java Thu Jul 27 22:49:32 2006
@@ -1,28 +1,28 @@
-package ${packageName};
-
-import org.apache.servicemix.common.BaseComponent;
-import org.apache.servicemix.common.BaseLifeCycle;
-import org.apache.servicemix.common.BaseServiceUnitManager;
-import org.apache.servicemix.common.Deployer;
-
-/**
- *
- */
-public class MyComponent extends BaseComponent
-{
-    /* (non-Javadoc)
-     * @see org.servicemix.common.BaseComponent#createLifeCycle()
-     */
-    protected BaseLifeCycle createLifeCycle() {
-        return new MyLifeCycle(this);
-    }
-
-    /* (non-Javadoc)
-     * @see org.servicemix.common.BaseComponent#createServiceUnitManager()
-     */
-    public BaseServiceUnitManager createServiceUnitManager() {
-        Deployer[] deployers = new Deployer[] { new MyDeployer(this) };
-        return new BaseServiceUnitManager(this, deployers);
-    }
-
-}
+package ${packageName};
+
+import org.apache.servicemix.common.BaseComponent;
+import org.apache.servicemix.common.BaseLifeCycle;
+import org.apache.servicemix.common.BaseServiceUnitManager;
+import org.apache.servicemix.common.Deployer;
+
+/**
+ *
+ */
+public class MyComponent extends BaseComponent
+{
+    /* (non-Javadoc)
+     * @see org.servicemix.common.BaseComponent#createLifeCycle()
+     */
+    protected BaseLifeCycle createLifeCycle() {
+        return new MyLifeCycle(this);
+    }
+
+    /* (non-Javadoc)
+     * @see org.servicemix.common.BaseComponent#createServiceUnitManager()
+     */
+    public BaseServiceUnitManager createServiceUnitManager() {
+        Deployer[] deployers = new Deployer[] { new MyDeployer(this) };
+        return new BaseServiceUnitManager(this, deployers);
+    }
+
+}

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyComponent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyDeployer.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyDeployer.java?rev=426392&r1=426391&r2=426392&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyDeployer.java (original)
+++ incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyDeployer.java Thu Jul 27 22:49:32 2006
@@ -1,22 +1,22 @@
-package ${packageName};
-
-import javax.jbi.management.DeploymentException;
-
-import org.apache.servicemix.common.BaseComponent;
-import org.apache.servicemix.common.Endpoint;
-import org.apache.servicemix.common.xbean.AbstractXBeanDeployer;
-
-public class MyDeployer extends AbstractXBeanDeployer {
-
-    public MyDeployer(BaseComponent component) {
-        super(component);
-    }
-
-    protected boolean validate(Endpoint endpoint) throws DeploymentException {
-        if (endpoint instanceof MyEndpoint == false) {
-            throw new DeploymentException("Endpoint should be a MyEndpoint");
-        }
-        ((MyEndpoint) endpoint).validate();
-        return true;
-    }
-}
+package ${packageName};
+
+import javax.jbi.management.DeploymentException;
+
+import org.apache.servicemix.common.BaseComponent;
+import org.apache.servicemix.common.Endpoint;
+import org.apache.servicemix.common.xbean.AbstractXBeanDeployer;
+
+public class MyDeployer extends AbstractXBeanDeployer {
+
+    public MyDeployer(BaseComponent component) {
+        super(component);
+    }
+
+    protected boolean validate(Endpoint endpoint) throws DeploymentException {
+        if (endpoint instanceof MyEndpoint == false) {
+            throw new DeploymentException("Endpoint should be a MyEndpoint");
+        }
+        ((MyEndpoint) endpoint).validate();
+        return true;
+    }
+}

Propchange: incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyDeployer.java
------------------------------------------------------------------------------
    svn:eol-style = native