You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2007/03/30 14:18:47 UTC

svn commit: r524059 - in /incubator/servicemix/trunk: archetypes/ archetypes/servicemix-archetypes-itests/ archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ archetypes/servicemix-bean-service-unit/ archetypes/servicem...

Author: gnodet
Date: Fri Mar 30 05:18:45 2007
New Revision: 524059

URL: http://svn.apache.org/viewvc?view=rev&rev=524059
Log:
SM-913: Improve archetypes and add a batch file for ease of use

Added:
    incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BeanServiceUnitTest.java   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpPollerServiceUnitTest.java   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpSenderServiceUnitTest.java   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/pom.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/maven/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/maven/archetype.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/MyBean.java   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/resources/
    incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/pom.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/pom.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml   (with props)
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/
    incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml   (with props)
    incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch
    incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat   (with props)
Removed:
    incubator/servicemix/trunk/archetypes/servicemix-jsr181-annotated-service-unit/src/main/resources/archetype-resources/src/main/resources/services.xml
Modified:
    incubator/servicemix/trunk/archetypes/pom.xml
    incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml
    incubator/servicemix/trunk/archetypes/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    incubator/servicemix/trunk/archetypes/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    incubator/servicemix/trunk/archetypes/servicemix-jsr181-annotated-service-unit/src/main/resources/archetype-resources/pom.xml
    incubator/servicemix/trunk/archetypes/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
    incubator/servicemix/trunk/archetypes/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml

Modified: incubator/servicemix/trunk/archetypes/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/pom.xml?view=diff&rev=524059&r1=524058&r2=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/pom.xml Fri Mar 30 05:18:45 2007
@@ -39,10 +39,12 @@
         <module>servicemix-service-unit</module>
         <module>servicemix-service-assembly</module>
         <module>servicemix-shared-library</module>    
-        <module>servicemix-http-consumer-service-unit</module>    
-        <module>servicemix-http-provider-service-unit</module>    
-        <module>servicemix-jms-consumer-service-unit</module>    
-        <module>servicemix-jms-provider-service-unit</module>    
+        <module>servicemix-ftp-poller-service-unit</module>
+        <module>servicemix-ftp-sender-service-unit</module>
+        <module>servicemix-http-consumer-service-unit</module>
+        <module>servicemix-http-provider-service-unit</module>
+        <module>servicemix-jms-consumer-service-unit</module>
+        <module>servicemix-jms-provider-service-unit</module>
         <module>servicemix-jsr181-wsdl-first-service-unit</module>
         <module>servicemix-lwcontainer-service-unit</module>
         <module>servicemix-eip-service-unit</module>
@@ -51,6 +53,7 @@
         <module>servicemix-jsr181-annotated-service-unit</module>
         <module>servicemix-saxon-xquery-service-unit</module>
         <module>servicemix-saxon-xslt-service-unit</module>
+        <module>servicemix-bean-service-unit</module>
         <module>servicemix-archetypes-itests</module>
     </modules>
 

Modified: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml?view=diff&rev=524059&r1=524058&r2=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml Fri Mar 30 05:18:45 2007
@@ -58,6 +58,16 @@
     </dependency>
     <dependency>
       <groupId>org.apache.servicemix.tooling</groupId>
+      <artifactId>servicemix-ftp-poller-service-unit</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix.tooling</groupId>
+      <artifactId>servicemix-ftp-sender-service-unit</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix.tooling</groupId>
       <artifactId>servicemix-http-consumer-service-unit</artifactId>
       <version>${servicemix-version}</version>
     </dependency>
@@ -104,6 +114,11 @@
     <dependency>
       <groupId>org.apache.servicemix.tooling</groupId>
       <artifactId>servicemix-saxon-xslt-service-unit</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix.tooling</groupId>
+      <artifactId>servicemix-bean-service-unit</artifactId>
       <version>${servicemix-version}</version>
     </dependency>
     <dependency>

Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BeanServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BeanServiceUnitTest.java?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BeanServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BeanServiceUnitTest.java Fri Mar 30 05:18:45 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.tooling;
+
+public class BeanServiceUnitTest extends AbstractArchetypeTest {
+
+    public void testBeanServiceUnit() throws Exception {
+        testServiceMixArchetype("bean-service-unit");
+    }
+
+}

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BeanServiceUnitTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BeanServiceUnitTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BeanServiceUnitTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpPollerServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpPollerServiceUnitTest.java?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpPollerServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpPollerServiceUnitTest.java Fri Mar 30 05:18:45 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.tooling;
+
+public class FtpPollerServiceUnitTest extends AbstractArchetypeTest {
+
+    public void testFtpPollerServiceUnit() throws Exception {
+        testServiceMixArchetype("ftp-poller-service-unit");
+    }
+
+}

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpPollerServiceUnitTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpPollerServiceUnitTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpPollerServiceUnitTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpSenderServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpSenderServiceUnitTest.java?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpSenderServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpSenderServiceUnitTest.java Fri Mar 30 05:18:45 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.tooling;
+
+public class FtpSenderServiceUnitTest extends AbstractArchetypeTest {
+
+    public void testFtpSenderServiceUnit() throws Exception {
+        testServiceMixArchetype("ftp-sender-service-unit");
+    }
+
+}

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpSenderServiceUnitTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpSenderServiceUnitTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FtpSenderServiceUnitTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/pom.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/pom.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/pom.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>tooling</artifactId>
+    <version>3.2-incubating-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>servicemix-bean-service-unit</artifactId>
+  <name>ServiceMix :: Archetypes :: BeanServiceUnit</name>
+
+</project>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/maven/archetype.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/maven/archetype.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/maven/archetype.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<archetype>
+  <id>servicemix-su</id>
+  <sources>
+    <source>src/main/java/MyBean.java</source>
+  </sources>
+  <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+  </resources>
+</archetype>

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

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,118 @@
+<?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>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A servicemix-bean Service Unit</name>
+  <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.incubating</id>
+      <name>Apache Incubating Repository</name>
+      <url>http://people.apache.org/repo/m2-incubating-repository</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+         <enabled>true</enabled>
+      </releases>
+    </pluginRepository>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshots Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.incubating</id>
+      <name>Apache Incubating Repository</name>
+      <url>http://people.apache.org/repo/m2-incubating-repository</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+         <enabled>true</enabled>
+      </releases>
+    </repository>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshots Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+  <properties>
+    <servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-bean</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-core</artifactId>
+      <version>${servicemix-version}</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>    
+    </resources>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemix-version}</version>
+        <extensions>true</extensions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

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

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/MyBean.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/MyBean.java?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/MyBean.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/MyBean.java Fri Mar 30 05:18:45 2007
@@ -0,0 +1,38 @@
+/*
+ * 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.MessageExchangeListener;
+
+import javax.annotation.Resource;
+import javax.jbi.messaging.DeliveryChannel;
+import javax.jbi.messaging.ExchangeStatus;
+import javax.jbi.messaging.MessageExchange;
+import javax.jbi.messaging.MessagingException;
+
+public class MyBean implements MessageExchangeListener {
+
+    @Resource
+    private DeliveryChannel channel;
+
+    public void onMessageExchange(MessageExchange exchange) throws MessagingException {
+        System.out.println("Received exchange: " + exchange);
+        exchange.setStatus(ExchangeStatus.DONE);
+        channel.send(exchange);
+    }
+
+}

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/MyBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/MyBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/java/MyBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:bean="http://servicemix.apache.org/bean/1.0"
+       xmlns:replaceMe="http://servicemix.apache.org/replaceMe">
+
+  <bean:endpoint service="replaceMe:service" endpoint="endpoint" bean="#myBean"/>
+
+  <bean id="myBean" class="${packageName}.MyBean"/>
+
+</beans>

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

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-bean-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/pom.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/pom.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/pom.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>tooling</artifactId>
+    <version>3.2-incubating-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>servicemix-ftp-poller-service-unit</artifactId>
+  <name>ServiceMix :: Archetypes :: FtpPollerServiceUnit</name>
+
+</project>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<archetype>
+  <id>servicemix-su</id>
+  <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+  </resources>
+</archetype>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,105 @@
+<?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>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A Service HTTP Service Engine Service Unit</name>
+  <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.incubating</id>
+      <name>Apache Incubating Repository</name>
+      <url>http://people.apache.org/repo/m2-incubating-repository</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+         <enabled>true</enabled>
+      </releases>
+    </pluginRepository>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshots Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.incubating</id>
+      <name>Apache Incubating Repository</name>
+      <url>http://people.apache.org/repo/m2-incubating-repository</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+         <enabled>true</enabled>
+      </releases>
+    </repository>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshots Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+	<properties>
+	  <servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>
+	</properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-ftp</artifactId>
+      <version>${servicemix-version}</version>      
+    </dependency>
+  </dependencies>
+  <build>
+  	<resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>    
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemix-version}</version>      
+        <extensions>true</extensions>
+      </plugin>     
+    </plugins>
+  </build>
+</project>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
+       xmlns:replaceMe="http://servicemix.apache.org/replaceMe">
+
+  <ftp:poller service="replaceMe:withYourService"
+              endpoint="endpoint"
+              targetService="replaceMe:receiver"
+              uri="ftp://servicemix:rocks@localhost/smx/test" />
+
+</beans>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/pom.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/pom.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/pom.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix.tooling</groupId>
+    <artifactId>tooling</artifactId>
+    <version>3.2-incubating-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>servicemix-ftp-sender-service-unit</artifactId>
+  <name>ServiceMix :: Archetypes :: FtpSenderServiceUnit</name>
+
+</project>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<archetype>
+  <id>servicemix-su</id>
+  <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+  </resources>
+</archetype>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,105 @@
+<?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>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A Service HTTP Service Engine Service Unit</name>
+  <url>http://www.myorganization.org</url>
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.incubating</id>
+      <name>Apache Incubating Repository</name>
+      <url>http://people.apache.org/repo/m2-incubating-repository</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+         <enabled>true</enabled>
+      </releases>
+    </pluginRepository>
+    <pluginRepository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshots Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>apache.incubating</id>
+      <name>Apache Incubating Repository</name>
+      <url>http://people.apache.org/repo/m2-incubating-repository</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+         <enabled>true</enabled>
+      </releases>
+    </repository>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshots Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+         <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+	<properties>
+	  <servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>
+	</properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-ftp</artifactId>
+      <version>${servicemix-version}</version>      
+    </dependency>
+  </dependencies>
+  <build>
+  	<resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>    
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemix-version}</version>      
+        <extensions>true</extensions>
+      </plugin>     
+    </plugins>
+  </build>
+</project>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Mar 30 05:18:45 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0"
+       xmlns:replaceMe="http://servicemix.apache.org/replaceMe">
+
+  <ftp:sender service="replaceMe:withYourService"
+              endpoint="endpoint"
+              targetService="replaceMe:receiver"
+              uri="ftp://servicemix:rocks@localhost/smx/test" />
+
+</beans>

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/servicemix/trunk/archetypes/servicemix-ftp-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/servicemix/trunk/archetypes/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?view=diff&rev=524059&r1=524058&r2=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Mar 30 05:18:45 2007
@@ -18,7 +18,8 @@
 
 -->
 <beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
-       xmlns:test="http://test">
+       xmlns:test="http://test"
+       xmlns:amq="http://activemq.org/config/1.0">
 
     <!-- START SNIPPET: consumer -->
     <jms:endpoint service="test:MyConsumerService"
@@ -28,9 +29,9 @@
                   role="consumer" 
                   destinationStyle="queue"
                   jmsProviderDestinationName="queue/A"
-                  jndiConnectionFactoryName="ConnectionFactory"
                   defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
-                  defaultOperation="test:Echo" />
+                  defaultOperation="test:Echo"
+                  connectionFactory="#connectionFactory" />
     <!-- END SNIPPET: consumer -->
 
     <jms:endpoint service="test:MyConsumerService"
@@ -39,8 +40,16 @@
                   role="consumer"
                   destinationStyle="queue"
                   jmsProviderDestinationName="queue/A/Soap"
-                  jndiConnectionFactoryName="ConnectionFactory"
                   soap="true"
-                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
+                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
+                  connectionFactory="#connectionFactory" />
+
+    <amq:connectionFactory id="connectionFactory" brokerURL="tcp://localhost:61616/" />
+
+    <!-- JMS ConnectionFactory from JNDI -
+    <bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
+      <property name="jndiName" value="ConnectionFactory" />
+    </bean>
+    -->
 
 </beans>

Modified: incubator/servicemix/trunk/archetypes/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?view=diff&rev=524059&r1=524058&r2=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Mar 30 05:18:45 2007
@@ -18,30 +18,8 @@
 
 -->
 <beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
-       xmlns:test="http://test">
-
-    <!-- START SNIPPET: consumer -->
-    <jms:endpoint service="test:MyConsumerService"
-                  endpoint="jms"
-                  targetService="test:MyConsumerService"
-                  targetEndpoint="myConsumer"
-                  role="consumer" 
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
-                  defaultOperation="test:Echo" />
-    <!-- END SNIPPET: consumer -->
-
-    <jms:endpoint service="test:MyConsumerService"
-                  endpoint="jms+soap"
-                  targetInterfaceName="test:MyConsumerInterface"
-                  role="consumer"
-                  destinationStyle="queue"
-                  jmsProviderDestinationName="queue/A/Soap"
-                  jndiConnectionFactoryName="ConnectionFactory"
-                  soap="true"
-                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
+       xmlns:test="http://test"
+       xmlns:amq="http://activemq.org/config/1.0">
 
     <!-- START SNIPPET: provider -->
     <jms:endpoint service="test:MyProviderService"
@@ -49,7 +27,7 @@
                   role="provider" 
                   destinationStyle="queue"
                   jmsProviderDestinationName="queue/A"
-                  jndiConnectionFactoryName="ConnectionFactory"
+                  connectionFactory="#connectionFactory"
                   wsdlResource="classpath:provider.wsdl" />
     <!-- END SNIPPET: provider -->
 
@@ -58,7 +36,15 @@
                   role="provider" 
                   destinationStyle="queue"
                   jmsProviderDestinationName="queue/A/Soap"
-                  jndiConnectionFactoryName="ConnectionFactory"
+                  connectionFactory="#connectionFactory"
                   soap="true"/>
-  				   
+
+    <amq:connectionFactory id="connectionFactory" brokerURL="tcp://localhost:61616/" />
+
+    <!-- JMS ConnectionFactory from JNDI -
+    <bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
+      <property name="jndiName" value="ConnectionFactory" />
+    </bean>
+    -->
+
 </beans>

Modified: incubator/servicemix/trunk/archetypes/servicemix-jsr181-annotated-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-jsr181-annotated-service-unit/src/main/resources/archetype-resources/pom.xml?view=diff&rev=524059&r1=524058&r2=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-jsr181-annotated-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-jsr181-annotated-service-unit/src/main/resources/archetype-resources/pom.xml Fri Mar 30 05:18:45 2007
@@ -74,110 +74,48 @@
       </releases>
     </repository>
   </repositories>
-	<properties>
-		<servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>
-		<xfire-version>1.2.3</xfire-version>
-	</properties>
-	<dependencies>
-		<dependency>
-			<groupId>org.codehaus.xfire</groupId>
-			<artifactId>xfire-jaxws</artifactId>
-			<version>${xfire-version}</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.servicemix</groupId>
-			<artifactId>servicemix-jsr181</artifactId>
-			<version>${servicemix-version}</version>
-		</dependency>
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
-			<version>3.8.1</version>
-			<scope>test</scope>
-		</dependency>
-	</dependencies>
-	<build>
-		<resources>
-			<resource>
-				<directory>src/main/resources</directory>
-				<includes>
-					<include>**/*</include>
-				</includes>
-			</resource>
-		</resources>
-		<plugins>
-			<plugin>
-				<artifactId>maven-compiler-plugin</artifactId>
-				<configuration>
-					<source>1.5</source>
-					<target>1.5</target>
-				</configuration>
-			</plugin>
-			<plugin>
-				<artifactId>maven-antrun-plugin</artifactId>
-				<executions>
-					<execution>
-						<phase>test</phase>
-						<configuration>
-							<tasks>
-								<taskdef
-									classname="org.codehaus.xfire.gen.WsdlGenTask"
-									name="wsdlgen">
-									<classpath>
-										<pathelement
-											path="${basedir}/target/classes" />
-										<pathelement
-											path="${basedir}/src/main/java" />											
-										<path
-											refid="maven.test.classpath" />
-									</classpath>
-								</taskdef>
-								<wsdlgen
-									configUrl="${basedir}/src/main/resources/services.xml"
-									outputDirectory="${basedir}/src/main/resources" />
-							</tasks>
-							<sourceRoot>
-								${basedir}/src/main/java
-							</sourceRoot>
-						</configuration>
-						<goals>
-							<goal>run</goal>
-						</goals>
-					</execution>
-				</executions>
-				<dependencies>
-					<dependency>
-						<groupId>org.codehaus.xfire</groupId>
-						<artifactId>xfire-generator</artifactId>
-						<version>${xfire-version}</version>
-						<exclusions>
-							<exclusion>
-								<groupId>javax.xml</groupId>
-								<artifactId>jsr173</artifactId>
-							</exclusion>
-						</exclusions>
-					</dependency>
-					<dependency>
-						<groupId>org.codehaus.xfire</groupId>
-						<artifactId>xfire-jaxws</artifactId>
-						<version>${xfire-version}</version>
-					</dependency>
-					<dependency>
-						<groupId>javax.servlet</groupId>
-						<artifactId>servlet-api</artifactId>
-						<version>2.4</version>
-					</dependency>
-				</dependencies>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.servicemix.tooling</groupId>
-				<artifactId>jbi-maven-plugin</artifactId>
-				<version>${servicemix-version}</version>
-				<extensions>true</extensions>
-				<configuration>
-					<type>service-unit</type>
-				</configuration>
-			</plugin>
-		</plugins>
-	</build>
+  <properties>
+    <servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-jsr181</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+  </dependency>
+  </dependencies>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+      <plugin>
+      <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemix-version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-unit</type>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Modified: incubator/servicemix/trunk/archetypes/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml?view=diff&rev=524059&r1=524058&r2=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml Fri Mar 30 05:18:45 2007
@@ -18,15 +18,15 @@
 
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-	<modelVersion>4.0.0</modelVersion>
-	<groupId>${groupId}</groupId>
-	<artifactId>${artifactId}</artifactId>
-	<packaging>jbi-service-unit</packaging>
-	<version>${version}</version>
-	<name>An example JSR-181 Service Unit</name>
-	<url>http://www.myorganization.org</url>
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>An example JSR-181 Service Unit</name>
+  <url>http://www.myorganization.org</url>
   <pluginRepositories>
     <pluginRepository>
       <id>apache.incubating</id>
@@ -75,18 +75,18 @@
       </releases>
     </repository>
   </repositories>
-	<properties>
-	  <xfire-version>1.2.3</xfire-version>
-	  <servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>
-	</properties>
-	<dependencies>
-		<dependency>
-			<groupId>org.apache.servicemix</groupId>
-			<artifactId>servicemix-jsr181</artifactId>
+  <properties>
+    <xfire-version>1.2.5</xfire-version>
+    <servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-jsr181</artifactId>
       <version>${servicemix-version}</version>      
-		</dependency>
-	</dependencies>
-	<build>
+    </dependency>
+  </dependencies>
+  <build>
 		<resources>
 			<resource>
 				<directory>src/main/resources</directory>
@@ -109,58 +109,32 @@
 					<target>1.5</target>
 				</configuration>
 			</plugin>
-			<plugin>
-				<artifactId>maven-antrun-plugin</artifactId>
-				<executions>
-					<execution>
-						<phase>generate-sources</phase>
-						<configuration>
-							<tasks>
-								<taskdef
-									classname="org.codehaus.xfire.gen.WsGenTask" name="wsgen">
-									<classpath>
-										<pathelement path="\${basedir}/target/classes" />
-										<path refid="maven.test.classpath" />
-									</classpath>
-								</taskdef>
-								<wsgen
-									wsdl="\${basedir}/src/main/resources/service.wsdl"
-									outputDirectory="\$${basedir}/target/generated-sources"
-									profile="org.codehaus.xfire.jaxws.gen.JAXWSProfile"
-									explicitAnnotation="true" />
-							</tasks>
-							<sourceRoot>\${basedir}/target/generated-sources</sourceRoot>
-						</configuration>
-						<goals>
-							<goal>run</goal>
-						</goals>
-					</execution>
-				</executions>
-				<dependencies>
-					<dependency>
-						<groupId>org.codehaus.xfire</groupId>
-						<artifactId>xfire-generator</artifactId>
-						<version>${xfire-version}</version>
-            <exclusions>
-              <exclusion>
-                <groupId>javax.xml</groupId>
-                <artifactId>jsr173</artifactId>
-              </exclusion>
-            </exclusions>
-					</dependency>
-					<dependency>
-						<groupId>org.codehaus.xfire</groupId>
-						<artifactId>xfire-jaxws</artifactId>
-						<version>${xfire-version}</version>
-					</dependency>
-				</dependencies>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.servicemix.tooling</groupId>
-				<artifactId>jbi-maven-plugin</artifactId>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>xfire-maven-plugin</artifactId>
+        <version>${servicemix-version}</version>
+        <executions>
+          <execution>
+            <phase>generate-sources</phase>
+            <configuration>
+              <wsdls>
+                <wsdl>${basedir}/src/main/resources/service.wsdl</wsdl>
+              </wsdls>
+              <outputDirectory>${basedir}/target/jaxws</outputDirectory>
+              <profile>org.codehaus.xfire.jaxws.gen.JAXWSProfile</profile>
+            </configuration>
+            <goals>
+              <goal>wsgen</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
         <version>${servicemix-version}</version>      
-				<extensions>true</extensions>
-			</plugin>
-		</plugins>
-	</build>
+        <extensions>true</extensions>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Modified: incubator/servicemix/trunk/archetypes/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml?view=diff&rev=524059&r1=524058&r2=524059
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml Fri Mar 30 05:18:45 2007
@@ -76,7 +76,7 @@
   </repositories>
 	<properties>
     <componentName>OdeBpelEngine</componentName>
-	  <servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>	  
+	  <servicemix-version>3.2-incubating-SNAPSHOT</servicemix-version>
 	</properties>
   <dependencies> 
   </dependencies>

Added: incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch (added)
+++ incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch Fri Mar 30 05:18:45 2007
@@ -0,0 +1,97 @@
+#!/bin/sh
+#
+#    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.
+#
+# $Id: servicemix 979 2005-11-30 22:50:55Z bsnyder $
+#
+
+if [ "$SERVICEMIX_VERSION" = "" ] ; then
+  SERVICEMIX_VERSION=3.2-incubating-SNAPSHOT
+fi
+
+if [ "$DEF_GROUP_ID" = "" ] ; then
+  DEF_GROUP_ID=com.mycompany
+fi
+
+if [ "$1" = "sl" ] ; then
+
+  ARCHETYPE=servicemix-shared-library
+  DEF_ARTIFACT_ID=my-sl
+  shift
+
+elif [ "$1" = "se" ] ; then
+
+  ARCHETYPE=servicemix-service-engine
+  DEF_ARTIFACT_ID=my-se
+  shift
+
+elif [ "$1" = "bc" ] ; then
+
+  ARCHETYPE=servicemix-binding-component
+  DEF_ARTIFACT_ID=my-bc
+  shift
+
+elif [ "$1" = "sa" ] ; then
+
+  ARCHETYPE=servicemix-service-assembly
+  DEF_ARTIFACT_ID=my-sa
+  shift
+
+elif [ "$1" = "su" ] ; then
+
+  if [ "$2" = "" ] ; then
+    ARCHETYPE=servicemix-service-unit
+    DEF_ARTIFACT_ID=my-su
+  else
+    ARCHETYPE=servicemix-$2-service-unit
+    DEF_ARTIFACT_ID=my-$2-su
+    shift
+  fi
+  shift
+
+else
+
+  echo "Usage: smx-arch command [su-type] [args]"
+  echo "commands:"
+  echo "  sl                Creates a new Shared Library"
+  echo "  se                Creates a new Service Engine"
+  echo "  bc                Creates a new Binding Component"
+  echo "  sa                Creates a new Service Assembly"
+  echo "  su                Creates a generic Service Unit"
+  echo "  su [type]         Creates a SU of the specified type"
+  echo "SU types:"
+  echo "                    http-consumer, http-provider,"
+  echo "                    jms-consumer, jms-provider,"
+  echo "                    ftp-poller, ftp-sender,"
+  echo "                    jsr181-annotated, jsr181-wsdl-first,"
+  echo "                    saxon-xquery, saxon-xslt,"
+  echo "                    eip, lwcontainer, bean, ode"
+  echo "Optional arguments:"
+  echo "  -DgroupId=xxxx"
+  echo "  -DartifactId=xxxx"
+  exit 1
+
+fi
+
+mvn archetype:create \
+  -DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository \
+  -DarchetypeGroupId=org.apache.servicemix.tooling \
+  -DarchetypeArtifactId=$ARCHETYPE \
+  -DarchetypeVersion=$SERVICEMIX_VERSION \
+  -DgroupId=$DEF_GROUP_ID \
+  -DartifactId=$DEF_ARTIFACT_ID \
+  "$@"
+

Added: incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat?view=auto&rev=524059
==============================================================================
--- incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat (added)
+++ incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat Fri Mar 30 05:18:45 2007
@@ -0,0 +1,107 @@
+@echo off
+rem
+rem
+rem    Licensed to the Apache Software Foundation (ASF) under one or more
+rem    contributor license agreements.  See the NOTICE file distributed with
+rem    this work for additional information regarding copyright ownership.
+rem    The ASF licenses this file to You under the Apache License, Version 2.0
+rem    (the "License"); you may not use this file except in compliance with
+rem    the License.  You may obtain a copy of the License at
+rem
+rem       http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem    Unless required by applicable law or agreed to in writing, software
+rem    distributed under the License is distributed on an "AS IS" BASIS,
+rem    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem    See the License for the specific language governing permissions and
+rem    limitations under the License.
+rem
+rem 
+rem $Id: servicemix.bat 979 2005-11-30 22:50:55Z bsnyder $
+rem 
+
+if "%SERVICEMIX_VERSION%" == "" (
+    set SERVICEMIX_VERSION=3.2-incubating-SNAPSHOT
+)
+
+if "%DEF_GROUP_ID%" == "" (
+    set DEF_GROUP_ID=com.mycompany
+)
+
+if ""%1"" == ""sl"" goto doSL
+if ""%1"" == ""se"" goto doSE
+if ""%1"" == ""bc"" goto doBC
+if ""%1"" == ""sa"" goto doSA
+if ""%1"" == ""su"" goto doSU
+
+set EMPTY=
+echo Usage: smx-arch.bat ( commands ... )
+echo commands:
+echo   sl                Creates a new Shared Library
+echo   se                Creates a new Service Engine
+echo   bc                Creates a new Binding Component
+echo   sa                Creates a new Service Assembly
+echo   su                Creates a generic Service Unit
+echo   su [type]         Creates a SU of the specified type
+echo SU types:         
+echo                     http-consumer, http-provider,
+echo                     jms-consumer, jms-provider,
+echo                     ftp-poller, ftp-sender,
+echo                     jsr181-annotated, jsr181-wsdl-first,
+echo                     saxon-xquery, saxon-xslt,
+echo                     eip, lwcontainer, bean, ode
+echo Optional arguments:
+echo   -DgroupId=xxxx
+echo   -DartifactId=xxxx
+goto end
+
+:doSL
+  set ARCHETYPE=servicemix-shared-library
+  set DEF_ARTIFACT_ID=my-sl
+  shift
+goto run
+
+:doSE
+  set ARCHETYPE=servicemix-service-engine
+  set DEF_ARTIFACT_ID=my-se
+  shift
+goto run
+
+:doBC
+  set ARCHETYPE=servicemix-binding-component
+  set DEF_ARTIFACT_ID=my-bc
+  shift
+goto run
+
+:doSA
+  set ARCHETYPE=servicemix-service-assembly
+  set DEF_ARTIFACT_ID=my-sa
+  shift
+goto run
+
+:doSU
+if not ""%2"" == """" goto doTypedSU
+  set ARCHETYPE=servicemix-service-unit
+  set DEF_ARTIFACT_ID=my-su
+  shift
+goto run
+
+:doTypedSU
+  set ARCHETYPE=servicemix-%2-service-unit
+  set DEF_ARTIFACT_ID=my-%2-su
+  shift
+  shift
+goto run
+
+:run
+set CMD_LINE_ARGS=
+:setArgs
+if ""%1""=="""" goto doneSetArgs
+set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
+shift
+goto setArgs
+:doneSetArgs
+mvn archetype:create -DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=%ARCHETYPE% -DarchetypeVersion=%SERVICEMIX_VERSION% -DgroupId=%DEF_GROUP_ID% -DartifactId=%DEF_ARTIFACT_ID% %CMD_LINE_ARGS%
+goto end
+
+:end

Propchange: incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Propchange: incubator/servicemix/trunk/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat
------------------------------------------------------------------------------
    svn:mime-type = text/plain