You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2010/08/10 17:05:20 UTC

svn commit: r984071 [4/8] - in /servicemix/archetypes/trunk: ./ servicemix-archetype-catalog/ servicemix-archetypes-itests/ servicemix-bean-service-unit/ servicemix-bean-service-unit/src/main/resources/META-INF/maven/ servicemix-bean-service-unit/src/m...

Modified: servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -1,126 +1,158 @@
 <?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.
-
--->
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 <beans xmlns:eip="http://servicemix.apache.org/eip/1.0"
-       xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
-       xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://servicemix.apache.org/eip/1.0 http://servicemix.apache.org/schema/servicemix-eip-@{components-version}.xsd
+	xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://servicemix.apache.org/eip/1.0 http://servicemix.apache.org/schema/servicemix-eip-@{components-version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
-  <eip:static-recipient-list service="replaceMe:entryPoint" endpoint="endpoint">
-    <eip:recipients>
-      <eip:exchange-target service="replaceMe:wireTap" />
-      <eip:exchange-target service="replaceMe:aggregatorSplitter" />
-    </eip:recipients>
-  </eip:static-recipient-list>
-
-  <eip:xpath-splitter service="replaceMe:aggregatorSplitter" endpoint="endpoint" 
-                      xpath="/*/*" namespaceContext="#nsContext">
-    <eip:target>
-      <eip:exchange-target service="replaceMe:aggregator" />
-    </eip:target>
-  </eip:xpath-splitter>
-  
-  <eip:split-aggregator service="replaceMe:aggregator" endpoint="endpoint">
-    <eip:target>
-      <eip:exchange-target service="replaceMe:trace5" />
-    </eip:target>
-  </eip:split-aggregator>
-
-  <eip:wire-tap service="replaceMe:wireTap" endpoint="endpoint">
-    <eip:target>
-      <eip:exchange-target service="replaceMe:xpathSplitter" />
-    </eip:target>
-    <eip:inListener>
-      <eip:exchange-target service="replaceMe:trace1" />
-    </eip:inListener>
-  </eip:wire-tap>
-  
-  <eip:xpath-splitter service="replaceMe:xpathSplitter" endpoint="endpoint" 
-                      xpath="/*/*" namespaceContext="#nsContext">
-    <eip:target>
-      <eip:exchange-target uri="service:http://servicemix.apache.org/replaceMe/router" />
-    </eip:target>
-  </eip:xpath-splitter>
-  
-  <eip:content-based-router service="replaceMe:router" endpoint="endpoint">
-    <eip:rules>
-      <eip:routing-rule>
-        <eip:predicate>
-          <eip:xpath-predicate xpath="count(/replaceMe:echo) = 1" namespaceContext="#nsContext" />
-        </eip:predicate>
-        <eip:target>
-          <eip:exchange-target uri="endpoint:http://servicemix.apache.org/replaceMe/pipeline/endpoint" />
-        </eip:target>
-      </eip:routing-rule>
-      <eip:routing-rule>
-        <!-- there is no predicate, so this is the default destination -->
-        <eip:target>
-          <eip:exchange-target service="replaceMe:recipients" />
-        </eip:target>
-      </eip:routing-rule>
-    </eip:rules>
-  </eip:content-based-router>
-  
-  <eip:pipeline service="replaceMe:pipeline" endpoint="endpoint">
-    <eip:transformer>
-      <eip:exchange-target service="replaceMe:routingSlip" />
-    </eip:transformer>
-    <eip:target>
-      <eip:exchange-target service="replaceMe:trace2" />
-    </eip:target>
-  </eip:pipeline>
-  
-  <eip:static-recipient-list service="replaceMe:recipients" endpoint="endpoint">
-    <eip:recipients>
-      <eip:exchange-target service="replaceMe:messageFilter" />
-      <eip:exchange-target service="replaceMe:trace4" />
-    </eip:recipients>
-  </eip:static-recipient-list>
-  
-  <eip:static-routing-slip service="replaceMe:routingSlip" endpoint="endpoint">
-    <eip:targets>
-      <eip:exchange-target service="replaceMe:echo" />
-      <eip:exchange-target service="replaceMe:echo" />
-    </eip:targets>
-  </eip:static-routing-slip>
-  
-  <eip:message-filter service="replaceMe:messageFilter" endpoint="endpoint">
-    <eip:target>
-      <eip:exchange-target service="replaceMe:trace3" />
-    </eip:target>
-    <eip:filter>
-      <eip:xpath-predicate xpath="count(/replaceMe:world) = 1" namespaceContext="#nsContext"/>
-    </eip:filter>
-  </eip:message-filter>
-
-  <eip:namespace-context id="nsContext">
-    <eip:namespaces>
-      <eip:namespace prefix="replaceMe">http://servicemix.apache.org/replaceMe</eip:namespace>
-    </eip:namespaces>
-  </eip:namespace-context>
-
-  <eip:resequencer service="replaceMe:resequencer" endpoint="endpoint" capacity="100" timeout="2000">
-    <eip:target>
-      <eip:exchange-target service="replaceMe:trace6" />
-    </eip:target>
-  </eip:resequencer>
-  
-</beans>
+	<!-- BEGIN SNIPPET: static-recipient-list -->
+	<eip:static-recipient-list service="replaceMe:serviceName"
+		endpoint="static-recipient-list">
+		<eip:recipients>
+			<eip:exchange-target service="replaceMe:serviceName"
+				endpoint="wire-tap" />
+			<eip:exchange-target service="replaceMe:serviceName"
+				endpoint="aggregator-splitter" />
+		</eip:recipients>
+	</eip:static-recipient-list>
+	<!-- END SNIPPET: static-recipient-list -->
+
+    <!-- BEGIN SNIPPET: aggregator-splitter -->
+	<eip:xpath-splitter service="replaceMe:serviceName"
+		endpoint="aggregator-splitter" xpath="/*/*" namespaceContext="#nsContext">
+		<eip:target>
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="aggregator" />
+		</eip:target>
+	</eip:xpath-splitter>
+	<!-- END SNIPPET: aggregator-splitter -->
+
+    <!-- BEGIN SNIPPET: aggregator -->
+	<eip:split-aggregator service="replaceMe:serviceName"
+		endpoint="aggregator">
+		<eip:target>
+			<eip:exchange-target service="replaceMe:trace5" />
+		</eip:target>
+	</eip:split-aggregator>
+	<!-- END SNIPPET: aggregator -->
+
+    <!-- BEGIN SNIPPET: wire-tap -->
+	<eip:wire-tap service="replaceMe:serviceName" endpoint="wire-tap">
+		<eip:target>
+			<eip:exchange-target service="replaceMe:xpath-splitter" />
+		</eip:target>
+		<eip:inListener>
+			<eip:exchange-target service="replaceMe:trace" />
+		</eip:inListener>
+	</eip:wire-tap>
+	<!-- END SNIPPET: wire-tap -->
+
+    <!-- BEGIN SNIPPET: xpath-splitter -->
+	<eip:xpath-splitter service="replaceMe:serviceName"
+		endpoint="xpath-splitter" xpath="/*/*" namespaceContext="#nsContext">
+		<eip:target>
+			<eip:exchange-target
+				uri="service:http://servicemix.apache.org/replaceMe/router" />
+		</eip:target>
+	</eip:xpath-splitter>
+	<!-- END SNIPPET: xpath-splitter -->
+
+    <!-- BEGIN SNIPPET: router -->
+	<eip:content-based-router service="replaceMe:serviceName"
+		endpoint="router">
+		<eip:rules>
+			<eip:routing-rule>
+				<eip:predicate>
+					<eip:xpath-predicate xpath="count(/replaceMe:echo) = 1"
+						namespaceContext="#nsContext" />
+				</eip:predicate>
+				<eip:target>
+					<eip:exchange-target
+						uri="endpoint:http://servicemix.apache.org/replaceMe/pipeline/endpoint" />
+				</eip:target>
+			</eip:routing-rule>
+			<eip:routing-rule>
+				<!-- there is no predicate, so this is the default destination -->
+				<eip:target>
+					<eip:exchange-target service="replaceMe:recipients" />
+				</eip:target>
+			</eip:routing-rule>
+		</eip:rules>
+	</eip:content-based-router>
+	<!-- END SNIPPET: router -->
+
+    <!-- BEGIN SNIPPET: pipeline -->
+	<eip:pipeline service="replaceMe:serviceName" endpoint="pipeline">
+		<eip:transformer>
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="routing-slip" />
+		</eip:transformer>
+		<eip:target>
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="trace"/>
+		</eip:target>
+	</eip:pipeline>
+	<!-- END SNIPPET: pipeline -->
+
+    <!-- BEGIN SNIPPET: recipients -->
+	<eip:static-recipient-list service="replaceMe:serviceName"
+		endpoint="recipients">
+		<eip:recipients>
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="message-filter" />
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
+		</eip:recipients>
+	</eip:static-recipient-list>
+	<!-- END SNIPPET: recipients -->
+
+    <!-- BEGIN SNIPPET: routing-slip -->
+	<eip:static-routing-slip service="replaceMe:serviceName"
+		endpoint="routing-slip">
+		<eip:targets>
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="echo" />
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="echo" />
+		</eip:targets>
+	</eip:static-routing-slip>
+
+    <!-- BEGIN SNIPPET: message-filter -->
+	<eip:message-filter service="replaceMe:serviceName"
+		endpoint="message-filter">
+		<eip:target>
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
+		</eip:target>
+		<eip:filter>
+			<eip:xpath-predicate xpath="count(/replaceMe:world) = 1"
+				namespaceContext="#nsContext" />
+		</eip:filter>
+	</eip:message-filter>
+	<!-- END SNIPPET: message-filter -->
+
+	<eip:namespace-context id="nsContext">
+		<eip:namespaces>
+			<eip:namespace prefix="replaceMe">http://servicemix.apache.org/replaceMe
+			</eip:namespace>
+		</eip:namespaces>
+	</eip:namespace-context>
+
+    <!-- BEGIN SNIPPET: resequencer -->
+	<eip:resequencer service="replaceMe:serviceName"
+		endpoint="resequencer" capacity="100" timeout="2000">
+		<eip:target>
+			<eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
+		</eip:target>
+	</eip:resequencer>
+	<!-- END SNIPPET: resequencer -->
+
+</beans>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-embedded-simple/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-embedded-simple/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-embedded-simple/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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/maven-v4_0_0.xsd">
+<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-embedded-simple</artifactId>
-  <name>ServiceMix :: Archetypes :: EmbeddedSimple</name>
+		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-embedded-simple</artifactId>
+	<name>Apache ServiceMix :: Archetypes :: Embedded Simple</name>
 
-</project>
+</project>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -18,7 +18,7 @@
 
 -->
 <archetype>
-  <id>servicemix-su</id>
+  <id>servicemix-embedded-simple</id>
   <sources>
     <source>src/main/java/Main.java</source> 
   </sources>

Modified: servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,50 +1,49 @@
 <?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.
-
--->
-<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>
-  <version>${version}</version>
-  <name>A custom project</name>
-  <url>http://www.myorganization.org</url>
-  
-  <dependencies>
-      <dependency>
-      <groupId>org.apache.servicemix</groupId>
-      <artifactId>servicemix-core</artifactId>
-      <version>@{servicemix.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>
+	<!--
+
+		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>
+
+	<groupId>${groupId}</groupId>
+	<artifactId>${artifactId}</artifactId>
+	<version>${version}</version>
+	<name>Apache ServiceMix :: Embedded Simple</name>
+	<url>http://www.myorganization.org</url>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.servicemix</groupId>
+			<artifactId>servicemix-core</artifactId>
+			<version>@{servicemix.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>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-exec-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-exec-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-exec-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,35 +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.
--->
-<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>
-    
-    <parent>
-        <groupId>org.apache.servicemix</groupId>
-        <artifactId>archetypes</artifactId>
-        <version>2010.01-SNAPSHOT</version>
-    </parent>
-    
-    <groupId>org.apache.servicemix.tooling</groupId>
-    <artifactId>servicemix-exec-service-unit</artifactId>
-    <name>ServiceMix :: Archetypes :: ServiceMixExecServiceUnit</name>
-         
-</project>
+	<!--
+
+		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-exec-service-unit</artifactId>
+	<name>Apache ServiceMix :: Archetypes :: Exec Service Unit</name>
+
+</project>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -18,7 +18,7 @@
 
 -->
 <archetype>
-  <id>servicemix-su</id>
+  <id>servicemix-exec-service-unit</id>
   <resources>
     <resource>src/main/resources/xbean.xml</resource>   
   </resources>

Modified: servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,51 +1,49 @@
 <?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.
-
--->
-<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 Exec service unit</name>
-    <url>http://www.myorganization.org</url>
-    
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.servicemix</groupId>
-            <artifactId>servicemix-exec</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>
+	<!--
+
+		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>
+
+	<groupId>${groupId}</groupId>
+	<artifactId>${artifactId}</artifactId>
+	<packaging>jbi-service-unit</packaging>
+	<version>${version}</version>
+	<name>Apache ServiceMix :: Exec Service Unit</name>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.servicemix</groupId>
+			<artifactId>servicemix-exec</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>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -1,33 +1,30 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
+	<!--
 
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
+		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.
-
--->
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 <beans xmlns:exec="http://servicemix.apache.org/exec/1.0"
-       xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
-       xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="
+	xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="
         http://servicemix.apache.org/exec/1.0 http://servicemix.apache.org/schema/servicemix-exec-@{components-version}.xsd
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
-       ">
-       
-   <exec:endpoint service="replaceMe:yourService"
-                  endpoint="exec"
-                  command="date"/>
-       
+        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+    <!-- BEGIN SNIPPET: exec -->
+	<exec:endpoint service="replaceMe:serviceName"
+		endpoint="exec" command="date" />
+    <!-- END SNIPPET: exec -->
+
 </beans>       
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-file-poller-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-poller-service-unit/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-poller-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-poller-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,33 +1,33 @@
 <?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.
--->
-
 <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>
 
-  <parent>
-    <groupId>org.apache.servicemix</groupId>
-    <artifactId>archetypes</artifactId>
-    <version>2010.01-SNAPSHOT</version>
-  </parent>
-
-  <groupId>org.apache.servicemix.tooling</groupId>
-  <artifactId>servicemix-file-poller-service-unit</artifactId>
-  <name>ServiceMix :: Archetypes :: FilePollerServiceUnit</name>
+	<!--
+
+		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-file-poller-service-unit</artifactId>
+	<name>Apache ServiceMix :: Archetypes :: File Poller Service Unit</name>
 
-</project>
+</project>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -18,8 +18,8 @@
 
 -->
 <archetype>
-  <id>servicemix-su</id>
+  <id>servicemix-file-poller-service-unit</id>
   <resources>
     <resource>src/main/resources/xbean.xml</resource>
   </resources>
-</archetype>
+</archetype>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,51 +1,49 @@
 <?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.
-
--->
-<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 file poller service unit</name>
-  <url>http://www.myorganization.org</url>
-
-  <dependencies>
-    <dependency>
-        <groupId>org.apache.servicemix</groupId>
-        <artifactId>servicemix-file</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>
+	<!--
+
+		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>
+
+	<groupId>${groupId}</groupId>
+	<artifactId>${artifactId}</artifactId>
+	<packaging>jbi-service-unit</packaging>
+	<version>${version}</version>
+	<name>Apache ServiceMix :: File Poller Service Unit</name>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.servicemix</groupId>
+			<artifactId>servicemix-file</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>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -1,41 +1,38 @@
 <?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.
-
--->
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 <beans xmlns:file="http://servicemix.apache.org/file/1.0"
-       xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
-       xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://servicemix.apache.org/file/1.0 http://servicemix.apache.org/schema/servicemix-file-@{components-version}.xsd
+	xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://servicemix.apache.org/file/1.0 http://servicemix.apache.org/schema/servicemix-file-@{components-version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
-  <file:poller service="replaceMe:withYourService"
-               endpoint="endpoint"
-               targetService="replaceMe:receiver"
-               file="Your Polling Dir">
-              
-              <!-- Custom Marshaler, if you are not going to poll xml files. -->
-              
-              <!--
-              <property name="marshaler">
-                 <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
-              </property>
-              -->
-  </file:poller> 
+    <!-- BEGIN SNIPPET: file-poller -->
+	<file:poller service="replaceMe:serviceName" endpoint="file-poller"
+		targetService="replaceMe:targetService"
+		targetEndpoint="replaceMe:targetEndpoint" 
+		file="file:/pool/directory">
+		<!-- Custom Marshaler, if you are not going to poll xml files. -->
+		<!--
+			<property name="marshaler"> <bean
+			class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
+			</property>
+		-->
+	</file:poller>
+	<!-- END SNIPPET: file-poller -->
 
-</beans>
+</beans>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-file-sender-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-sender-service-unit/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-sender-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-sender-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,33 +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.
--->
-
-<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>
-
-  <parent>
-    <groupId>org.apache.servicemix</groupId>
-    <artifactId>archetypes</artifactId>
-    <version>2010.01-SNAPSHOT</version>
-  </parent>
-
-  <groupId>org.apache.servicemix.tooling</groupId>
-  <artifactId>servicemix-file-sender-service-unit</artifactId>
-  <name>ServiceMix :: Archetypes :: FileSenderServiceUnit</name>
+	<!--
 
-</project>
+		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-file-sender-service-unit</artifactId>
+	<name>Apache ServiceMix :: Archetypes :: File Sender Service Unit</name>
+
+</project>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -18,8 +18,8 @@
 
 -->
 <archetype>
-  <id>servicemix-su</id>
+  <id>servicemix-file-sender-service-unit</id>
   <resources>
     <resource>src/main/resources/xbean.xml</resource>
   </resources>
-</archetype>
+</archetype>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,51 +1,49 @@
 <?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.
-
--->
-<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 file sender service unit</name>
-  <url>http://www.myorganization.org</url>
-
-  <dependencies>
-    <dependency>
-        <groupId>org.apache.servicemix</groupId>
-        <artifactId>servicemix-file</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>
+	<!--
+
+		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>
+
+	<groupId>${groupId}</groupId>
+	<artifactId>${artifactId}</artifactId>
+	<packaging>jbi-service-unit</packaging>
+	<version>${version}</version>
+	<name>Apache ServiceMix :: File Sender Service Unit</name>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.servicemix</groupId>
+			<artifactId>servicemix-file</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>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -1,40 +1,37 @@
 <?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.
-
--->
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 <beans xmlns:file="http://servicemix.apache.org/file/1.0"
-       xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
-       xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://servicemix.apache.org/file/1.0 http://servicemix.apache.org/schema/servicemix-file-@{components-version}.xsd
+	xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://servicemix.apache.org/file/1.0 http://servicemix.apache.org/schema/servicemix-file-@{components-version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
- <file:sender service="replaceMe:withYourService"
-              endpoint="endpoint"
-              directory="Your Destination Dir">
-              
-              <!-- Custom Marshaler -->
-              
-              <!--
-              <property name="marshaler">
-                 <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
-              </property>
-              -->
-  </file:sender> 
+    <!-- BEGIN SNIPPET: file-sender -->
+	<file:sender service="replaceMe:serviceName" 
+	   endpoint="file-sender"
+		directory="file:/destination/dir/">
+		<!-- Custom Marshaler -->
+		<!--
+			<property name="marshaler"> <bean
+			class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
+			</property>
+		-->
+	</file:sender>
+	<!-- END SNIPPET: file-sender -->
 
-</beans>
+</beans>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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/maven-v4_0_0.xsd">
+<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-ftp-poller-service-unit</artifactId>
-  <name>ServiceMix :: Archetypes :: FtpPollerServiceUnit</name>
+		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-ftp-poller-service-unit</artifactId>
+	<name>Apache ServiceMix :: Archetypes :: FTP Poller Service Unit</name>
 
-</project>
+</project>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -18,8 +18,8 @@
 
 -->
 <archetype>
-  <id>servicemix-su</id>
+  <id>servicemix-ftp-poller-service-unit</id>
   <resources>
     <resource>src/main/resources/xbean.xml</resource>
   </resources>
-</archetype>
+</archetype>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,50 +1,49 @@
 <?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.
-
--->
-<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 FTP Service Engine Service Unit</name>
-  <url>http://www.myorganization.org</url>
-  
-  <dependencies>
-    <dependency>
-        <groupId>org.apache.servicemix</groupId>
-        <artifactId>servicemix-ftp</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>
+	<!--
+
+		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>
+
+	<groupId>${groupId}</groupId>
+	<artifactId>${artifactId}</artifactId>
+	<packaging>jbi-service-unit</packaging>
+	<version>${version}</version>
+	<name>Apache ServiceMix :: FTP Poller Service Unit</name>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.servicemix</groupId>
+			<artifactId>servicemix-ftp</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>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -1,33 +1,32 @@
 <?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.
-
--->
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
-       xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
-       xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-@{components-version}.xsd
+	xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-@{components-version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
-  <ftp:poller service="replaceMe:withYourService"
-              endpoint="endpoint"
-              targetService="replaceMe:receiver"
-              deleteFile="true"
-              uri="ftp://servicemix:rocks@localhost/smx/test" />
+    <!-- BEGIN SNIPPET: ftp-poller -->
+	<ftp:poller service="replaceMe:serviceName" endpoint="ftp-poller"
+		targetService="replaceMe:targetService" 
+		targetEndpoint="targetEndpoint"
+		deleteFile="true"
+		uri="ftp://servicemix:rocks@localhost/smx/test" />
+    <!-- END SNIPPET: ftp-poller -->		
 
-</beans>
+</beans>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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/maven-v4_0_0.xsd">
+<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-ftp-sender-service-unit</artifactId>
-  <name>ServiceMix :: Archetypes :: FtpSenderServiceUnit</name>
+		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-ftp-sender-service-unit</artifactId>
+	<name>Apache ServiceMix :: Archetypes :: FTP Sender Service Unit</name>
 
-</project>
+</project>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -18,8 +18,8 @@
 
 -->
 <archetype>
-  <id>servicemix-su</id>
+  <id>servicemix-ftp-sender-service-unit</id>
   <resources>
     <resource>src/main/resources/xbean.xml</resource>
   </resources>
-</archetype>
+</archetype>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,50 +1,49 @@
 <?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.
-
--->
-<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 FTP Service Engine Service Unit</name>
-  <url>http://www.myorganization.org</url>
-  
-  <dependencies>
-    <dependency>
-        <groupId>org.apache.servicemix</groupId>
-        <artifactId>servicemix-ftp</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>
+	<!--
+
+		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>
+
+	<groupId>${groupId}</groupId>
+	<artifactId>${artifactId}</artifactId>
+	<packaging>jbi-service-unit</packaging>
+	<version>${version}</version>
+	<name>Apache ServiceMix :: FTP Sender Service Unit</name>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.servicemix</groupId>
+			<artifactId>servicemix-ftp</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>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -1,32 +1,31 @@
 <?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.
-
--->
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
-       xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
-       xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-@{components-version}.xsd
+	xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://servicemix.apache.org/ftp/1.0 http://servicemix.apache.org/schema/servicemix-ftp-@{components-version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
-  <ftp:sender service="replaceMe:withYourService"
-              endpoint="endpoint"
-              targetService="replaceMe:receiver"
-              uri="ftp://servicemix:rocks@localhost/smx/test" />
+    <!-- BEGIN SNIPPET: ftp-sender -->
+	<ftp:sender service="replaceMe:serviceName" endpoint="ftp-sender"
+		targetService="replaceMe:targetService"
+		targetEndpoint="targetEndpoint" 
+		uri="ftp://servicemix:rocks@localhost/smx/test" />
+    <!-- END SNIPPET: ftp-sender -->
 
-</beans>
+</beans>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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/maven-v4_0_0.xsd">
+<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-http-consumer-service-unit</artifactId>
-  <name>ServiceMix :: Archetypes :: HttpConsumerServiceUnit</name>
+		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-http-consumer-service-unit</artifactId>
+	<name>Apache ServiceMix :: Archetypes :: HTTP Consumer Service Unit</name>
 
-</project>
+</project>
\ No newline at end of file

Modified: servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-http-consumer-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -18,8 +18,8 @@
 
 -->
 <archetype>
-  <id>servicemix-su</id>
+  <id>servicemix-http-consumer-service-unit</id>
   <resources>
     <resource>src/main/resources/xbean.xml</resource>
   </resources>
-</archetype>
+</archetype>
\ No newline at end of file