Resume xbean comments.

git-svn-id: https://svn.apache.org/repos/asf/servicemix/archetypes/trunk@986637 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml b/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
index f800c71..afc5947 100644
--- a/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
@@ -20,6 +20,7 @@
 	</dependencies>
 
 	<build>
+	    <defaultGoal>install</defaultGoal>
 		<plugins>
 			<plugin>
 				<artifactId>maven-compiler-plugin</artifactId>
diff --git a/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml b/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
index 8b9d420..9997542 100644
--- a/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
@@ -75,6 +75,7 @@
 	</dependencies>
 
 	<build>
+	    <defaultGoal>install</defaultGoal>
 		<plugins>
 			<plugin>
 				<groupId>org.apache.servicemix.tooling</groupId>
diff --git a/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml b/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
index 1d795bf..fdf3c8d 100644
--- a/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
+++ b/servicemix-cxf-bc-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
@@ -4,7 +4,7 @@
 	xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" 
 	xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0 http://servicemix.apache.org/schema/servicemix-cxfbc-@{components-version}.xsd
+	xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0 http://servicemix.apache.org/schema/servicemix-cxfbc-@{components.version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
     <!-- 
diff --git a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
index 0b21563..099a765 100644
--- a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
@@ -1,22 +1,7 @@
 <?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.
-	-->
+	<!-- Generated by Apache ServiceMix Archetype -->
 
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java
index 86c4754..60cce94 100644
--- a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java
+++ b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/Person.java
@@ -8,13 +8,6 @@
 import javax.xml.ws.RequestWrapper;
 import javax.xml.ws.ResponseWrapper;
 
-/**
- * This class was generated by IONA FUSE Services Framework 2.1.3.0-fuse
- * Sun Nov 09 15:47:19 CST 2008
- * Generated source version: 2.1.3.0-fuse
- *
- */
-
 @WebService
 @XmlSeeAlso({${packageName}.types.ObjectFactory.class})
 public interface Person {
diff --git a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
index 9c15773..c50dbef 100644
--- a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
+++ b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
@@ -1,19 +1,3 @@
-/*
- * 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.
- */
 package ${packageName};
 
 import javax.jws.WebService;
diff --git a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java
index f9be9a5..b7794b2 100644
--- a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java
+++ b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/UnknownPersonFault.java
@@ -1,16 +1,7 @@
-
 package ${packageName};
 
 import javax.xml.ws.WebFault;
 
-
-/**
- * This class was generated by IONA FUSE Services Framework 2.1.3.0-fuse
- * Mon Nov 10 14:49:06 CST 2008
- * Generated source version: 2.1.3.0-fuse
- *
- */
-
 @WebFault(name = "UnknownPersonFault")
 public class UnknownPersonFault extends Exception {
     public static final long serialVersionUID = 20081110144906L;
diff --git a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java
index a03b7f9..dcd5341 100644
--- a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java
+++ b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/java/client/Client.java
@@ -1,19 +1,3 @@
-/*
- * 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.
- */
 package ${packageName}.client;
 
 import ${packageName}.*;
diff --git a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml
index 5c178a9..b037bc9 100644
--- a/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml
+++ b/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml
@@ -1,23 +1,5 @@
 <?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.
--->
-
+<!-- Generated by Apache ServiceMix Archetype -->
 <beans xmlns="http://www.springframework.org/schema/beans"
 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xmlns:jaxws="http://cxf.apache.org/jaxws"
diff --git a/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml b/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml
index 87e7e81..af82810 100644
--- a/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml
@@ -1,22 +1,7 @@
 <?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.
-	-->
+	<!-- Generated by Apache ServiceMix Archetype -->
 
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml b/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
index 3dd9192..c3b7c76 100644
--- a/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
+++ b/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
@@ -1,29 +1,51 @@
 <?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.
-
--->
+<!-- Generated by Apache ServiceMix Archetype -->
 <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"
        xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0 http://servicemix.apache.org/schema/servicemix-cxfse-@{components-version}.xsd
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+       xsi:schemaLocation="
+        http://servicemix.apache.org/cxfse/1.0 http://servicemix.apache.org/schema/servicemix-cxfse-@{components.version}.xsd
+        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+    <!-- 
+        ServiceMix CXF SE component is a JBI Service Engine exposing (annotated) POJO
+        as services on the JBI Bus.
+        It uses Apache CXF internally to perform service invocations and XML marshaling.
+        It supports:
+            - JSR-181 annotations
+            - JAXB2/Aegis/XMLBeans databinding
+            - WSDL auto generation
+            - Java proxy
+            - MTOM/attachment
+        
+        You can get more information on the component wiki page and CXF website:
+        
+            http://servicemix.apache.org/servicemix-cxf-se.html
+            http://cxf.apache.org            
+    -->
 
     <!-- BEGIN SNIPPET: cxfse-pojo -->
+    <!--
+        The CXF SE endpoint provides a property named pojo.
+        You can expose any POJO which contains the @WebService annotation.
+        
+        Attributes:
+            service                 : endpoint service name
+            endpoint                : endpoint name
+            interfaceName           : endpoint interface name
+            mtomEnabled             : enable MTOM/attachment support
+            pojo                    : the instanciated POJO to service requests
+            useJBIWrapper           : specifies if the endpoint expects to receive the JBI wrapper
+                                      in the message received from the NMR
+            useSOAPEnvelope         : specifies if the endpoint expects SOAP message when useJBIWrapper
+                                      is false
+            useXmlBeans             : specifies if the endpoint uses XMLBeans databinding to marshal/unmarshal
+                                      message
+            useAegis                : specifies if the endpoint uses Aegis databinding to marshal/unmarshal
+                                      message
+            pojoService             : specifies the servicemodel service name generated from the POJO
+            pojoEndpoint            : specifies the servicemodel endpoint name generated from the POJO                                                                                                                                                        
+    -->
     <cxfse:endpoint>
         <cxfse:pojo>
           <bean class="${packageName}.ExampleService" />
diff --git a/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml b/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
index fd39c8b..f8cee27 100644
--- a/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
@@ -1,22 +1,7 @@
 <?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.
-	-->
+	<!-- Generated by Apache ServiceMix Archetype -->
 
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java b/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
index 94abfe2..42adb00 100644
--- a/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
+++ b/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/PersonImpl.java
@@ -1,19 +1,3 @@
-/*
- * 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.
- */
 package ${packageName};
 
 import javax.jws.WebService;
diff --git a/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml b/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
index 68d14a6..ebab3a2 100644
--- a/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
+++ b/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
@@ -1,22 +1,5 @@
 <?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.
-
--->
+<!-- Generated by Apache ServiceMix Archetype -->
 <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"
        xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -26,7 +9,7 @@
     <!-- BEGIN SNIPPET: cxfse -->
     <cxfse:endpoint>
         <cxfse:pojo>
-          <bean class="${packageName}.PersonImpl" />
+          <bean class="PersonImpl" />
         </cxfse:pojo>
     </cxfse:endpoint>
     <!-- END SNIPPET: cxfse -->
diff --git a/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml b/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml
index a91233c..75321fb 100644
--- a/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml
@@ -1,22 +1,7 @@
 <?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.
-	-->
+	<!-- Generated by Apache ServiceMix Archetype -->
 
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl b/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl
index 4415cb0..ddc95e7 100644
--- a/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl
+++ b/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl
@@ -1,19 +1,3 @@
-/*

- * 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.

- */

 package org.apache.servicemix.drools

  

 import org.apache.servicemix.drools.model.Exchange;

diff --git a/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml b/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
index 534ea8a..c4fdf33 100644
--- a/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
+++ b/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
@@ -1,28 +1,30 @@
 <?xml version="1.0" encoding="UTF-8"?>
-	<!--
-
-		Licensed to the Apache Software Foundation (ASF) under one or more
-		contributor license agreements. See the NOTICE file distributed with
-		this work for additional information regarding copyright ownership.
-		The ASF licenses this file to You under the Apache License, Version
-		2.0 (the "License"); you may not use this file except in compliance
-		with the License. You may obtain a copy of the License at
-
-		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
-		applicable law or agreed to in writing, software distributed under the
-		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
-		CONDITIONS OF ANY KIND, either express or implied. See the License for
-		the specific language governing permissions and limitations under the
-		License.
-	-->
+<!-- Generated by Apache ServiceMix Archetype -->
 <beans xmlns:drools="http://servicemix.apache.org/drools/1.0"
 	xmlns:util="http://www.springframework.org/schema/util"
 	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/drools/1.0 http://servicemix.apache.org/schema/servicemix-drools-@{components-version}.xsd
+	xsi:schemaLocation="http://servicemix.apache.org/drools/1.0 http://servicemix.apache.org/schema/servicemix-drools-@{components.version}.xsd
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
+    <!--
+        The ServiceMix Drools component provides integration to the Drools Rules Engine.
+        
+        It can be used to deploy a rules set that will implement a router or an actual service.
+        
+            http://servicemix.apache.org/servicemix-drools.html
+    -->
+
     <!-- BEGIN SNIPPET: drools -->
+    <!-- 
+        This drools endpoint implements rules described in router.drl file.
+        
+        Attributes:
+            service                 : the endpoint service name
+            endpoint                : the endpoint name
+            ruleBaseResource        : the DRL file location
+            namespaceContext        : the Drool namespace context
+    -->
 	<drools:endpoint service="replaceMe:serviceName"
 		endpoint="drools" ruleBaseResource="classpath:router.drl"
 		namespaceContext="#nsContext" />
diff --git a/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml b/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
index 4d7e983..089e4b4 100644
--- a/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
@@ -1,22 +1,7 @@
 <?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.
-	-->
+	<!-- Generated by Apache ServiceMix Archetype -->
 
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml b/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
index edac60e..9cb4c10 100644
--- a/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
+++ b/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
@@ -1,26 +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.
-	-->
+<!-- Generated by Apache ServiceMix Archetype -->
 <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
+	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">
 
+    <!--
+        WARNING: The ServiceMix EIP component is deprecated. Please use the ServiceMix Camel component
+                 to implement EIP.
+                 
+        The ServiceMix EIP component is a routing container where different routing patterns can be
+        deployed as service unit.
+        The support patterns are:
+            - Content-Based Router
+            - Message Filter
+            - Pipeline
+            - Static Recipient List 
+            - Static Routing Slip
+            - Wire Tap
+            - XPath Splitter
+            - Aggregator
+            - Content Enricher
+            - Resequencer
+            - AsyncBridge
+    -->
+    
+    <!-- 
+        The EIP configuration is defined directly in the xbean.
+        
+        Some EIP samples follow.
+    -->
+
 	<!-- BEGIN SNIPPET: static-recipient-list -->
 	<eip:static-recipient-list service="replaceMe:serviceName"
 		endpoint="static-recipient-list">
diff --git a/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml b/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
index 31f576c..03e490a 100644
--- a/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
@@ -9,7 +9,6 @@
 	<artifactId>${artifactId}</artifactId>
 	<version>${version}</version>
 	<name>Apache ServiceMix :: Embedded Simple</name>
-	<url>http://www.myorganization.org</url>
 
 	<dependencies>
 		<dependency>
diff --git a/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java b/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java
index a4e503f..a08f2c8 100644
--- a/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java
+++ b/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java
@@ -1,19 +1,3 @@
-/*

- * 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.

- */

 package ${packageName};

 

 import org.apache.servicemix.jbi.container.SpringJBIContainer;

diff --git a/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml b/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
index 1fd5ae9..be0daab 100644
--- a/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
+++ b/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
@@ -1,22 +1,7 @@
 <?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.
-	-->
+	<!-- Generated by Apache ServiceMix Archetype -->
 
 	<modelVersion>4.0.0</modelVersion>
 
diff --git a/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml b/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
index 403cf3d..98d0ddb 100644
--- a/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
+++ b/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
@@ -1,28 +1,35 @@
 <?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.
-	-->
+<!-- Generated by Apache ServiceMix Archetype -->
 <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="
-        http://servicemix.apache.org/exec/1.0 http://servicemix.apache.org/schema/servicemix-exec-@{components-version}.xsd
+        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">
 
+    <!-- 
+        The ServiceMix Exec component is used to invoke commands (executables, shell commands, scripts, ...).
+        The command can be static (defined in the component endpoint descriptior, the xbean.xml) or
+        dynamic (provided in the incoming message, including arguments).
+        
+        This endpoint provides an abstract WSDL exposed in the endpoint definition.
+        
+            http://servicemix.apache.org/servicemix-exec.html
+    -->
+
     <!-- BEGIN SNIPPET: exec -->
+    <!--
+        The exec endpoint is quite simple. It's waiting for command in incoming messages
+        and use "date" command as fallback if the incoming message doesn't contain the
+        command message part.
+        
+        Attributes:
+            service             : the endpoint service name
+            endpoint            : the endpoint name
+            interfaceName       : the endpoint interface name
+            command             : the fallback command or script
+            marshaler           : the marshaler to use to parse the incoming message and construct the exec command
+    -->
 	<exec:endpoint service="replaceMe:serviceName"
 		endpoint="exec" command="date" />
     <!-- END SNIPPET: exec -->
diff --git a/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml b/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
index 52fcce1..1d3db31 100644
--- a/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
+++ b/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
@@ -3,21 +3,80 @@
 <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
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+    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">
+
+    <!-- 
+        The ServiceMix File component provides integration to the file system.
+        It can be used to read and write files via URI or to periodically poll directories
+        for new files.
+    -->
 
     <!-- BEGIN SNIPPET: file-poller -->
+    <!-- 
+        The poller endpoint generates an InOnly message.
+        
+        Attributes:
+            service                     : the endpoint service name
+            endpoint                    : the endpoint name
+            interfaceName               : the endpoint interface name
+            targetService               : the target endpoint service name
+            targetEndpoint              : the target endpoint name
+            targetInterface             : the target interface name
+            targetUri                   : the URI of the target endpoint
+            autoCreateDirectory         : creates directory if it doesn't exist
+            firstTime                   : datetime before first poll can take place
+            delay                       : amount of time first polling is delayed after start
+            period                      : amount of time between polls
+            file                        : sets the file or directory to poll
+            deleteFile                  : delete file when it is processed
+            recursive                   : process sub directories
+            marshaler                   : implementation of FileMarshaler to use (DefaultFileMarshaler by default)
+            lockManager                 : implementation of LockManager to use (SimpleLockManager by default)
+            filter                      : implementation of FileFilter (optional filter)
+            scheduler                   : Scheduler to use
+            comparator                  : implementation of Comparator<File> interface
+            archive                     : sets the directory to archive files before deleting them
+    -->
     <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 name="marshaler"> 
+                <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" />
+            </property>
+        -->
+        <!-- Custom file filter which uses Apache Commons IO WildcardFilter. -->
+        <!-- 
+            <property name="filter">
+                <bean class="org.apache.commons.io.filefilter.WildcardFilter">
+                    <constructor-arg value="*.csv" />
+                </bean>
             </property>
         -->
     </file:poller>
     <!-- END SNIPPET: file-poller -->
+    
+    <!-- BEGIN SNIPPET: file-sender -->
+    <!-- 
+        The sender endpoint creates a file from the incoming message and writes it into the specified directory.
+        
+        Attributes:
+            service                     : the endpoint service name
+            endpoint                    : the endpoint name
+            directory                   : the target directory where to write created file
+            autoCreateDirectory         : creates directory if it doesn't exist
+            append                      : append to an existing file instead of overwriting it
+            marshaler                   : implementation of the FileMarshaler to use (DefaultFileMarshaler by default)
+            tempFilePrefix              : the prefix of the temporary file used during file generation
+            tempFileSuffix              : the suffix of the temporary file used during file generation
+    -->
+    <file:sender service="replaceMe:serviceName"
+                 endpoint="file-sender"
+                 directory="file:target/files" />
+    <!-- END SNIPPET: file-sender -->
 
 </beans>
\ No newline at end of file