You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2010/03/22 16:01:12 UTC

svn commit: r926113 [1/2] - in /camel/trunk/examples: camel-example-cxf-async/src/main/resources/ camel-example-cxf/src/main/resources/ camel-example-docs/ camel-example-docs/src/main/resources/ camel-example-guice-jms/src/main/resources/ camel-example...

Author: ningjiang
Date: Mon Mar 22 15:01:11 2010
New Revision: 926113

URL: http://svn.apache.org/viewvc?rev=926113&view=rev
Log:
CAMEL-2541 Added features.xml for the camel example

Added:
    camel/trunk/examples/camel-example-docs/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-jms-file/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-loan-broker/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-management/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-osgi/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-pojo-messaging/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-route-throttling/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-spring-javaconfig/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-spring-jms/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-spring-xquery/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-spring/src/main/resources/features.xml   (with props)
    camel/trunk/examples/camel-example-tracer/src/main/resources/features.xml   (with props)
Modified:
    camel/trunk/examples/camel-example-cxf-async/src/main/resources/features.xml
    camel/trunk/examples/camel-example-cxf/src/main/resources/features.xml
    camel/trunk/examples/camel-example-docs/pom.xml
    camel/trunk/examples/camel-example-guice-jms/src/main/resources/features.xml
    camel/trunk/examples/camel-example-jms-file/pom.xml
    camel/trunk/examples/camel-example-loan-broker/pom.xml
    camel/trunk/examples/camel-example-management/pom.xml
    camel/trunk/examples/camel-example-osgi/pom.xml
    camel/trunk/examples/camel-example-pojo-messaging/pom.xml
    camel/trunk/examples/camel-example-route-throttling/pom.xml
    camel/trunk/examples/camel-example-spring-javaconfig/README.txt
    camel/trunk/examples/camel-example-spring-javaconfig/pom.xml
    camel/trunk/examples/camel-example-spring-jms/pom.xml
    camel/trunk/examples/camel-example-spring-xquery/pom.xml
    camel/trunk/examples/camel-example-spring/pom.xml
    camel/trunk/examples/camel-example-tracer/pom.xml

Modified: camel/trunk/examples/camel-example-cxf-async/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-async/src/main/resources/features.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf-async/src/main/resources/features.xml (original)
+++ camel/trunk/examples/camel-example-cxf-async/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -21,7 +21,7 @@
     <feature name='camel-example-cxf-async' version='${pom.version}'>
         <feature version="${pom.version}">camel</feature>
         <feature version="${pom.version}">camel-cxf</feature>
-        <bundle>mvn:org.apache.camel/camel-example-async/${pom.version}</bundle>
+        <bundle>mvn:org.apache.camel/camel-example-cxf-async/${pom.version}</bundle>
     </feature>
 
 </features>
\ No newline at end of file

Modified: camel/trunk/examples/camel-example-cxf/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf/src/main/resources/features.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf/src/main/resources/features.xml (original)
+++ camel/trunk/examples/camel-example-cxf/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -24,10 +24,11 @@
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
        <bundle>mvn:org.apache.xbean/xbean-spring/3.4.3</bundle>
-       <bundle>mvn:org.apache.activemq/kahadb/5.3.0</bundle>
-       <bundle>mvn:org.apache.activemq/activemq-core/5.3.0</bundle>
-       <bundle>mvn:org.apache.activemq/activemq-ra/5.3.0</bundle>
-       <bundle>mvn:org.apache.activemq/activemq-pool/5.3.0</bundle>
+       <bundle>mvn:org.apache.activemq/kahadb/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-core/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-ra/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-camel/${activemq-version}</bundle>
     </feature>
 
     <feature name='camel-example-cxf' version='${pom.version}'>

Modified: camel/trunk/examples/camel-example-docs/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-docs/pom.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-docs/pom.xml (original)
+++ camel/trunk/examples/camel-example-docs/pom.xml Mon Mar 22 15:01:11 2010
@@ -1,83 +1,122 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 
 <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>
+	<modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>examples</artifactId>
-    <version>2.3-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>camel-example-docs</artifactId>
-  <name>Camel :: Example :: Docs</name>
-  <description>An example which demonstrates the use of the Maven camel:dot plugin for generating EIP documentation
+	<parent>
+		<groupId>org.apache.camel</groupId>
+		<artifactId>examples</artifactId>
+		<version>2.3-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>camel-example-docs</artifactId>
+	<name>Camel :: Example :: Docs</name>
+	<description>An example which demonstrates the use of the Maven camel:dot plugin for generating EIP documentation
   </description>
 
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-spring</artifactId>
-    </dependency>
-
-    <!-- let's use log4j -->
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-    </dependency>
-
-    <!-- for testing -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-
-  <build>
-    <plugins>
-
-      <!-- Allows the example to be run via 'mvn camel:run' -->
-      <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-maven-plugin</artifactId>
-        <version>${project.version}</version>
-      </plugin>
-
-    </plugins>
-  </build>
-
-  <reporting>
-    <plugins>
-      <!-- let's generate nice PNG / SVG diagrams from our routes -->
-      <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-maven-plugin</artifactId>
-        <version>${project.version}</version>
-      </plugin>
-    </plugins>
-  </reporting>
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-spring</artifactId>
+		</dependency>
+
+		<!-- let's use log4j -->
+		<dependency>
+			<groupId>commons-logging</groupId>
+			<artifactId>commons-logging</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+		</dependency>
+
+		<!-- for testing -->
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+
+
+	<build>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>target/classes/features.xml</file>
+									<type>xml</type>
+									<classifier>features</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+
+			<!-- Allows the example to be run via 'mvn camel:run' -->
+			<plugin>
+				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-maven-plugin</artifactId>
+				<version>${project.version}</version>
+			</plugin>
+
+		</plugins>
+	</build>
+
+	<reporting>
+		<plugins>
+			<!-- let's generate nice PNG / SVG diagrams from our routes -->
+			<plugin>
+				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-maven-plugin</artifactId>
+				<version>${project.version}</version>
+			</plugin>
+		</plugins>
+	</reporting>
 </project>

Added: camel/trunk/examples/camel-example-docs/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-docs/src/main/resources/features.xml?rev=926113&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-docs/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-docs/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -0,0 +1,26 @@
+<?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.
+-->
+<features>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
+    
+    <feature name='camel-example-docs' version='${pom.version}'>
+        <feature version="${pom.version}">camel</feature>
+        <bundle>mvn:org.apache.camel/camel-example-docs/${pom.version}</bundle>
+    </feature>
+
+</features>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-docs/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-docs/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-docs/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: camel/trunk/examples/camel-example-guice-jms/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-guice-jms/src/main/resources/features.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-guice-jms/src/main/resources/features.xml (original)
+++ camel/trunk/examples/camel-example-guice-jms/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -18,17 +18,18 @@
 <features>
     <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
     
-    <feature name='activemq-feature' version='${pom.version}'>
+   <feature name='activemq-feature' version='${pom.version}'>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
        <bundle>mvn:org.apache.xbean/xbean-spring/3.4.3</bundle>
-       <bundle>mvn:org.apache.activemq/kahadb/5.3.0</bundle>
-       <bundle>mvn:org.apache.activemq/activemq-core/5.3.0</bundle>
-       <bundle>mvn:org.apache.activemq/activemq-ra/5.3.0</bundle>
-       <bundle>mvn:org.apache.activemq/activemq-pool/5.3.0</bundle>
+       <bundle>mvn:org.apache.activemq/kahadb/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-core/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-ra/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-camel/${activemq-version}</bundle>
     </feature>
     
     <feature name='camel-example-guice-jms' version='${pom.version}'>

Modified: camel/trunk/examples/camel-example-jms-file/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-jms-file/pom.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-jms-file/pom.xml (original)
+++ camel/trunk/examples/camel-example-jms-file/pom.xml Mon Mar 22 15:01:11 2010
@@ -1,117 +1,162 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 
 <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>
+	<modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>examples</artifactId>
-    <version>2.3-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>camel-example-jms-file</artifactId>
-  <packaging>bundle</packaging>
-  <name>Camel :: Example :: JMS-File</name>
-  <description>An example that persists messages from JMS to files</description>
-
-  <properties>
-    <camel.osgi.export.pkg>org.apache.camel.example.jmstofile.*</camel.osgi.export.pkg>
-    <camel.osgi.import.additional>org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool</camel.osgi.import.additional>
-  </properties>
-
-  <dependencies>
-
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-core</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-jms</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.activemq</groupId>
-      <artifactId>activemq-core</artifactId>
-   </dependency>
-
-   <dependency>
-      <groupId>org.apache.activemq</groupId>
-      <artifactId>activemq-camel</artifactId>
-      <exclusions>
-      	<exclusion>
-          <groupId>org.apache.camel</groupId>
-	      <artifactId>camel-web</artifactId>
-        </exclusion>
-      </exclusions>
-   </dependency>
-    
-    <dependency>
-      <groupId>org.apache.xbean</groupId>
-      <artifactId>xbean-spring</artifactId>
-      <exclusions>
-      	<exclusion>
-      	  <groupId>org.springframework</groupId>
-      	  <artifactId>spring</artifactId>
-      	</exclusion>
-      </exclusions>
-    </dependency>
-
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  
-  <profiles>
-  	<profile>
-  		<id>Example</id>
-  		<properties>
-  			<!-- Starting the camel-cxf example of routing the SOAP over http message to SOAP over JMS Server -->
-  			<target.main.class>org.apache.camel.example.jmstofile.CamelJmsToFileExample</target.main.class>
-  		</properties>
-     </profile>
-     <profile>
-  		<id>Client</id>
-  		<properties>
-  			<!-- Starting the camel-cxf example of routing the SOAP over http message to SOAP over JMS Server -->
-  			<target.main.class>org.apache.camel.example.jmstofile.JmsToFileClient</target.main.class>
-  		</properties>
-  	</profile>
-  </profiles>
-
-  <build>
-    <plugins>
-
-      <!-- Allows the example to be run via 'mvn compile exec:java' -->
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <configuration>
-          <mainClass>${target.main.class}</mainClass>
-          <includePluginDependencies>false</includePluginDependencies>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
+	<parent>
+		<groupId>org.apache.camel</groupId>
+		<artifactId>examples</artifactId>
+		<version>2.3-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>camel-example-jms-file</artifactId>
+	<packaging>bundle</packaging>
+	<name>Camel :: Example :: JMS-File</name>
+	<description>An example that persists messages from JMS to files</description>
+
+	<properties>
+		<camel.osgi.export.pkg>org.apache.camel.example.jmstofile.*</camel.osgi.export.pkg>
+		<camel.osgi.import.additional>org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool</camel.osgi.import.additional>
+	</properties>
+
+	<dependencies>
+
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-core</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-jms</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-core</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-camel</artifactId>
+			<exclusions>
+				<exclusion>
+					<groupId>org.apache.camel</groupId>
+					<artifactId>camel-web</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.xbean</groupId>
+			<artifactId>xbean-spring</artifactId>
+			<exclusions>
+				<exclusion>
+					<groupId>org.springframework</groupId>
+					<artifactId>spring</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+
+	<profiles>
+		<profile>
+			<id>Example</id>
+			<properties>
+				<!--
+					Starting the camel-cxf example of routing the SOAP over http
+					message to SOAP over JMS Server
+				-->
+				<target.main.class>org.apache.camel.example.jmstofile.CamelJmsToFileExample</target.main.class>
+			</properties>
+		</profile>
+		<profile>
+			<id>Client</id>
+			<properties>
+				<!--
+					Starting the camel-cxf example of routing the SOAP over http
+					message to SOAP over JMS Server
+				-->
+				<target.main.class>org.apache.camel.example.jmstofile.JmsToFileClient</target.main.class>
+			</properties>
+		</profile>
+	</profiles>
+
+	<build>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>target/classes/features.xml</file>
+									<type>xml</type>
+									<classifier>features</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+
+			<!-- Allows the example to be run via 'mvn compile exec:java' -->
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>exec-maven-plugin</artifactId>
+				<configuration>
+					<mainClass>${target.main.class}</mainClass>
+					<includePluginDependencies>false</includePluginDependencies>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
 </project>

Added: camel/trunk/examples/camel-example-jms-file/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-jms-file/src/main/resources/features.xml?rev=926113&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-jms-file/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-jms-file/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -0,0 +1,41 @@
+<?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.
+-->
+<features>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
+    
+    <feature name='activemq-feature' version='${pom.version}'>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0</bundle>
+       <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
+       <bundle>mvn:org.apache.xbean/xbean-spring/3.4.3</bundle>
+       <bundle>mvn:org.apache.activemq/kahadb/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-core/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-ra/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-camel/${activemq-version}</bundle>
+    </feature>
+    
+    <feature name='camel-example-jms-file' version='${pom.version}'>
+        <feature version="${pom.version}">camel</feature>
+        <feature version="${pom.version}">camel-jms</feature>
+        <bundle>mvn:org.apache.camel/camel-example-jms-file/${pom.version}</bundle>
+    </feature>
+
+</features>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-jms-file/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-jms-file/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-jms-file/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: camel/trunk/examples/camel-example-loan-broker/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loan-broker/pom.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-loan-broker/pom.xml (original)
+++ camel/trunk/examples/camel-example-loan-broker/pom.xml Mon Mar 22 15:01:11 2010
@@ -1,171 +1,204 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 
 <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>
+	<modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>examples</artifactId>
-    <version>2.3-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>camel-example-loan-broker</artifactId>
-  <packaging>bundle</packaging>
-  <name>Camel :: Example :: Loan-Broker</name>
-  <description>An example that shows the EPI's loan broker demo</description>
-
-  <properties>
-    <camel.osgi.export.pkg>
-       org.apache.camel.loanbroker.*
+	<parent>
+		<groupId>org.apache.camel</groupId>
+		<artifactId>examples</artifactId>
+		<version>2.3-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>camel-example-loan-broker</artifactId>
+	<packaging>bundle</packaging>
+	<name>Camel :: Example :: Loan-Broker</name>
+	<description>An example that shows the EPI's loan broker demo</description>
+
+	<properties>
+		<camel.osgi.export.pkg>
+			org.apache.camel.loanbroker.*
     </camel.osgi.export.pkg>
-    <camel.osgi.import.additional>
-       org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool
+		<camel.osgi.import.additional>
+			org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool
     </camel.osgi.import.additional>
-  </properties>
-    
-   <dependencies>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-spring</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-cxf</artifactId>
-    </dependency>
-    <dependency>
-       <groupId>org.apache.cxf</groupId>
-       <artifactId>cxf-rt-transports-http-jetty</artifactId>
-       <version>${cxf-version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-jms</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.activemq</groupId>
-      <artifactId>activemq-core</artifactId>
-    </dependency>
-    <dependency>
-		<groupId>org.apache.activemq</groupId>
-		<artifactId>activemq-camel</artifactId>
-	</dependency>    
-    <dependency>
-      <groupId>org.apache.xbean</groupId>
-      <artifactId>xbean-spring</artifactId>
-      <exclusions>
-      	<exclusion>
-      	  <groupId>org.springframework</groupId>
-      	  <artifactId>spring</artifactId>
-      	</exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-log4j12</artifactId>
-    </dependency>    
-    <!-- testing -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <defaultGoal>install</defaultGoal>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <forkMode>pertest</forkMode>
-          <childDelegation>false</childDelegation>
-          <useFile>true</useFile>
-          <includes>
-            <include>**/*Test.*</include>
-          </includes>
-          <systemProperties>
-               <property>
-                    <name>java.util.logging.config.file</name>
-                    <value>${basedir}/target/test-classes/logging.properties</value>
-               </property>
-          </systemProperties>
-        </configuration>
-      </plugin>
-      <!-- Allows the example to be run via 'mvn compile exec:java' -->
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <configuration>
-          <mainClass>${target.main.class}</mainClass>
-          <includePluginDependencies>false</includePluginDependencies>
-          <systemProperties>
-            <property>
-               <key>java.util.logging.config.file</key>
-               <value>logging.properties</value>
-            </property>
-          </systemProperties>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <profiles>
-    <profile>
-        <id>Queue.LoanBroker</id>
-    	<properties>
-            <target.main.class>org.apache.camel.loanbroker.queue.version.LoanBroker</target.main.class>
-        </properties>
-    </profile>
-    <profile>
-        <id>Queue.Client</id>
-    	<properties>
-            <target.main.class>org.apache.camel.loanbroker.queue.version.Client</target.main.class>
-        </properties>
-    </profile>
-    <profile>
-        <id>WS.LoanBroker</id>
-    	<properties>
-            <target.main.class>org.apache.camel.loanbroker.webservice.version.LoanBroker</target.main.class>
-        </properties>
-    </profile>
-    <profile>
-        <id>WS.Client</id>
-    	<properties>
-            <target.main.class>org.apache.camel.loanbroker.webservice.version.Client</target.main.class>
-        </properties>
-    </profile>
-  </profiles>
+	</properties>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-core</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-spring</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-cxf</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.cxf</groupId>
+			<artifactId>cxf-rt-transports-http-jetty</artifactId>
+			<version>${cxf-version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-jms</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-core</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-camel</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.xbean</groupId>
+			<artifactId>xbean-spring</artifactId>
+			<exclusions>
+				<exclusion>
+					<groupId>org.springframework</groupId>
+					<artifactId>spring</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-log4j12</artifactId>
+		</dependency>
+		<!-- testing -->
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+
+	<build>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>target/classes/features.xml</file>
+									<type>xml</type>
+									<classifier>features</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+
+
+			<plugin>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<configuration>
+					<forkMode>pertest</forkMode>
+					<childDelegation>false</childDelegation>
+					<useFile>true</useFile>
+					<includes>
+						<include>**/*Test.*</include>
+					</includes>
+					<systemProperties>
+						<property>
+							<name>java.util.logging.config.file</name>
+							<value>${basedir}/target/test-classes/logging.properties</value>
+						</property>
+					</systemProperties>
+				</configuration>
+			</plugin>
+			<!-- Allows the example to be run via 'mvn compile exec:java' -->
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>exec-maven-plugin</artifactId>
+				<configuration>
+					<mainClass>${target.main.class}</mainClass>
+					<includePluginDependencies>false</includePluginDependencies>
+					<systemProperties>
+						<property>
+							<key>java.util.logging.config.file</key>
+							<value>logging.properties</value>
+						</property>
+					</systemProperties>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+
+	<profiles>
+		<profile>
+			<id>Queue.LoanBroker</id>
+			<properties>
+				<target.main.class>org.apache.camel.loanbroker.queue.version.LoanBroker</target.main.class>
+			</properties>
+		</profile>
+		<profile>
+			<id>Queue.Client</id>
+			<properties>
+				<target.main.class>org.apache.camel.loanbroker.queue.version.Client</target.main.class>
+			</properties>
+		</profile>
+		<profile>
+			<id>WS.LoanBroker</id>
+			<properties>
+				<target.main.class>org.apache.camel.loanbroker.webservice.version.LoanBroker</target.main.class>
+			</properties>
+		</profile>
+		<profile>
+			<id>WS.Client</id>
+			<properties>
+				<target.main.class>org.apache.camel.loanbroker.webservice.version.Client</target.main.class>
+			</properties>
+		</profile>
+	</profiles>
 
 </project>

Added: camel/trunk/examples/camel-example-loan-broker/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loan-broker/src/main/resources/features.xml?rev=926113&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-loan-broker/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-loan-broker/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -0,0 +1,42 @@
+<?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.
+-->
+<features>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
+    
+    <feature name='activemq-feature' version='${pom.version}'>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0</bundle>
+       <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
+       <bundle>mvn:org.apache.xbean/xbean-spring/3.4.3</bundle>
+       <bundle>mvn:org.apache.activemq/kahadb/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-core/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-ra/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-camel/${activemq-version}</bundle>
+    </feature>
+    
+    <feature name='camel-example-loan-broker' version='${pom.version}'>
+        <feature version="${pom.version}">camel</feature>
+        <feature version="${pom.version}">camel-jms</feature>
+        <feature version="${pom.version}">camel-cxf</feature>
+        <bundle>mvn:org.apache.camel/camel-example-loan-broker/${pom.version}</bundle>
+    </feature>
+
+</features>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-loan-broker/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-loan-broker/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-loan-broker/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: camel/trunk/examples/camel-example-management/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/pom.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-management/pom.xml (original)
+++ camel/trunk/examples/camel-example-management/pom.xml Mon Mar 22 15:01:11 2010
@@ -71,7 +71,48 @@
     </dependencies>
 
     <build>
-        <plugins>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>target/classes/features.xml</file>
+									<type>xml</type>
+									<classifier>features</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			
             <!-- Allows the routes to be run via 'mvn camel:run' -->
             <plugin>
                 <groupId>org.apache.camel</groupId>

Added: camel/trunk/examples/camel-example-management/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/src/main/resources/features.xml?rev=926113&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-management/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-management/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -0,0 +1,41 @@
+<?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.
+-->
+<features>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
+    
+    <feature name='activemq-feature' version='${pom.version}'>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0</bundle>
+       <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
+       <bundle>mvn:org.apache.xbean/xbean-spring/3.4.3</bundle>
+       <bundle>mvn:org.apache.activemq/kahadb/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-core/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-ra/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-camel/${activemq-version}</bundle>
+    </feature>
+    
+    <feature name='camel-example-management' version='${pom.version}'>
+        <feature version="${pom.version}">camel</feature>
+        <feature version="${pom.version}">camel-jms</feature>
+        <bundle>mvn:org.apache.camel/camel-example-management/${pom.version}</bundle>
+    </feature>
+
+</features>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-management/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: camel/trunk/examples/camel-example-osgi/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-osgi/pom.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-osgi/pom.xml (original)
+++ camel/trunk/examples/camel-example-osgi/pom.xml Mon Mar 22 15:01:11 2010
@@ -1,83 +1,122 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 
 <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>
+	<modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>examples</artifactId>
-    <version>2.3-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>camel-example-osgi</artifactId>
-  <packaging>bundle</packaging>
-  <name>Camel :: Example :: OSGi</name>
-  <description>A simple OSGi example which creates a bundle that can be dropped into any OSGi container</description>
-
-  <properties>
-    <camel.osgi.export.pkg>org.apache.camel.example.osgi.*</camel.osgi.export.pkg>
-  </properties>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-spring</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-osgi</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.osgi.core</artifactId>      
-    </dependency>
-    <!-- for testing -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-  </dependencies>
-
-  <build>
-    <plugins>
-      <!-- Allows the routes to be run via 'mvn camel:run' -->
-      <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-maven-plugin</artifactId>
-        <version>${project.version}</version>
-      </plugin>
-    </plugins>
-
-  </build>
-
-  <reporting>
-    <plugins>
-      <!-- lets generate nice PNG / SVG diagrams from our routes -->
-      <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-maven-plugin</artifactId>
-        <version>${project.version}</version>
-      </plugin>
-    </plugins>
-  </reporting>
+	<parent>
+		<groupId>org.apache.camel</groupId>
+		<artifactId>examples</artifactId>
+		<version>2.3-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>camel-example-osgi</artifactId>
+	<packaging>bundle</packaging>
+	<name>Camel :: Example :: OSGi</name>
+	<description>A simple OSGi example which creates a bundle that can be dropped into any OSGi container</description>
+
+	<properties>
+		<camel.osgi.export.pkg>org.apache.camel.example.osgi.*</camel.osgi.export.pkg>
+	</properties>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-spring</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-osgi</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.osgi.core</artifactId>
+		</dependency>
+		<!-- for testing -->
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+
+	</dependencies>
+
+	<build>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>target/classes/features.xml</file>
+									<type>xml</type>
+									<classifier>features</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<!-- Allows the routes to be run via 'mvn camel:run' -->
+			<plugin>
+				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-maven-plugin</artifactId>
+				<version>${project.version}</version>
+			</plugin>
+		</plugins>
+
+	</build>
+
+	<reporting>
+		<plugins>
+			<!-- lets generate nice PNG / SVG diagrams from our routes -->
+			<plugin>
+				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-maven-plugin</artifactId>
+				<version>${project.version}</version>
+			</plugin>
+		</plugins>
+	</reporting>
 </project>

Added: camel/trunk/examples/camel-example-osgi/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-osgi/src/main/resources/features.xml?rev=926113&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-osgi/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-osgi/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -0,0 +1,26 @@
+<?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.
+-->
+<features>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
+    
+    <feature name='camel-example-osgi' version='${pom.version}'>
+        <feature version="${pom.version}">camel</feature>
+        <bundle>mvn:org.apache.camel/camel-example-osgi/${pom.version}</bundle>
+    </feature>
+
+</features>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-osgi/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-osgi/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-osgi/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: camel/trunk/examples/camel-example-pojo-messaging/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-pojo-messaging/pom.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-pojo-messaging/pom.xml (original)
+++ camel/trunk/examples/camel-example-pojo-messaging/pom.xml Mon Mar 22 15:01:11 2010
@@ -1,111 +1,150 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 
 <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>
+	<modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>examples</artifactId>
-    <version>2.3-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>camel-example-pojo-messaging</artifactId>
-  <packaging>bundle</packaging>
-  <name>Camel :: Example :: POJO Messaging</name>
-  <description>An example showing how to produce and consume messages from Camel endpoints using annotated POJOs</description>
-
-  <properties>
-     <camel.osgi.export.pkg>org.apache.camel.example.pojo_messaging.*</camel.osgi.export.pkg>
-     <camel.osgi.import.additional>org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool</camel.osgi.import.additional>
-   </properties>
-    
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.activemq</groupId>
-      <artifactId>activemq-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.activemq</groupId>
-      <artifactId>activemq-camel</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-jms</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-spring</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.xbean</groupId>
-      <artifactId>xbean-spring</artifactId>
-    </dependency>
-
-    <!-- lets use log4j -->
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-    </dependency>
-
-    <!-- testing -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-test</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <!-- Allows the example to be run via 'mvn camel:run' -->
-      <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-maven-plugin</artifactId>
-        <version>${project.version}</version>
-      </plugin>
-
-    </plugins>
-  </build>
-
-  <reporting>
-    <plugins>
-      <!-- let's generate nice PNG / SVG diagrams from our routes -->
-      <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-maven-plugin</artifactId>
-        <version>${project.version}</version>
-      </plugin>
-    </plugins>
-  </reporting>
+	<parent>
+		<groupId>org.apache.camel</groupId>
+		<artifactId>examples</artifactId>
+		<version>2.3-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>camel-example-pojo-messaging</artifactId>
+	<packaging>bundle</packaging>
+	<name>Camel :: Example :: POJO Messaging</name>
+	<description>An example showing how to produce and consume messages from Camel endpoints using annotated POJOs</description>
+
+	<properties>
+		<camel.osgi.export.pkg>org.apache.camel.example.pojo_messaging.*</camel.osgi.export.pkg>
+		<camel.osgi.import.additional>org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool</camel.osgi.import.additional>
+	</properties>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-core</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-camel</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-core</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-jms</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-spring</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.xbean</groupId>
+			<artifactId>xbean-spring</artifactId>
+		</dependency>
+
+		<!-- lets use log4j -->
+		<dependency>
+			<groupId>commons-logging</groupId>
+			<artifactId>commons-logging</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+		</dependency>
+
+		<!-- testing -->
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-test</artifactId>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+
+	<build>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>target/classes/features.xml</file>
+									<type>xml</type>
+									<classifier>features</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<!-- Allows the example to be run via 'mvn camel:run' -->
+			<plugin>
+				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-maven-plugin</artifactId>
+				<version>${project.version}</version>
+			</plugin>
+
+		</plugins>
+	</build>
+
+	<reporting>
+		<plugins>
+			<!-- let's generate nice PNG / SVG diagrams from our routes -->
+			<plugin>
+				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-maven-plugin</artifactId>
+				<version>${project.version}</version>
+			</plugin>
+		</plugins>
+	</reporting>
 </project>

Added: camel/trunk/examples/camel-example-pojo-messaging/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-pojo-messaging/src/main/resources/features.xml?rev=926113&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-pojo-messaging/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-pojo-messaging/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -0,0 +1,41 @@
+<?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.
+-->
+<features>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
+    
+    <feature name='activemq-feature' version='${pom.version}'>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0</bundle>
+       <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
+       <bundle>mvn:org.apache.xbean/xbean-spring/3.4.3</bundle>
+       <bundle>mvn:org.apache.activemq/kahadb/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-core/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-ra/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-camel/${activemq-version}</bundle>
+    </feature>
+    
+    <feature name='camel-example-pojo-messaging' version='${pom.version}'>
+        <feature version="${pom.version}">camel</feature>
+        <feature version="${pom.version}">camel-jms</feature>
+        <bundle>mvn:org.apache.camel/camel-example-pojo-messaging/${pom.version}</bundle>
+    </feature>
+
+</features>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-pojo-messaging/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-pojo-messaging/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-pojo-messaging/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: camel/trunk/examples/camel-example-route-throttling/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-route-throttling/pom.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-route-throttling/pom.xml (original)
+++ camel/trunk/examples/camel-example-route-throttling/pom.xml Mon Mar 22 15:01:11 2010
@@ -100,7 +100,47 @@
         </profile>
     </profiles>
     <build>
-        <plugins>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>target/classes/features.xml</file>
+									<type>xml</type>
+									<classifier>features</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
             <!-- Allows the example to be run via 'mvn compile exec:java' -->
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>

Added: camel/trunk/examples/camel-example-route-throttling/src/main/resources/features.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-route-throttling/src/main/resources/features.xml?rev=926113&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-route-throttling/src/main/resources/features.xml (added)
+++ camel/trunk/examples/camel-example-route-throttling/src/main/resources/features.xml Mon Mar 22 15:01:11 2010
@@ -0,0 +1,41 @@
+<?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.
+-->
+<features>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${pom.version}/xml/features</repository>
+    
+    <feature name='activemq-feature' version='${pom.version}'>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
+       <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0</bundle>
+       <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
+       <bundle>mvn:org.apache.xbean/xbean-spring/3.4.3</bundle>
+       <bundle>mvn:org.apache.activemq/kahadb/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-core/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-ra/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
+       <bundle>mvn:org.apache.activemq/activemq-camel/${activemq-version}</bundle>
+    </feature>
+    
+    <feature name='camel-example-route-throttling' version='${pom.version}'>
+        <feature version="${pom.version}">camel</feature>
+        <feature version="${pom.version}">camel-jms</feature>
+        <bundle>mvn:org.apache.camel/camel-example-route-throttling/${pom.version}</bundle>
+    </feature>
+
+</features>
\ No newline at end of file

Propchange: camel/trunk/examples/camel-example-route-throttling/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: camel/trunk/examples/camel-example-route-throttling/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: camel/trunk/examples/camel-example-route-throttling/src/main/resources/features.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: camel/trunk/examples/camel-example-spring-javaconfig/README.txt
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring-javaconfig/README.txt?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring-javaconfig/README.txt (original)
+++ camel/trunk/examples/camel-example-spring-javaconfig/README.txt Mon Mar 22 15:01:11 2010
@@ -3,6 +3,7 @@ Spring Java Config Example
 
 This example shows how to work with files and JMS, using Spring Java Config 
 to boot up Camel and configure the routes. It can be run using Maven or Ant.
+NOTE: It's need Spring 3.0.x.
 
 The example consumes messages from a queue and writes them to the file
 system.

Modified: camel/trunk/examples/camel-example-spring-javaconfig/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring-javaconfig/pom.xml?rev=926113&r1=926112&r2=926113&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring-javaconfig/pom.xml (original)
+++ camel/trunk/examples/camel-example-spring-javaconfig/pom.xml Mon Mar 22 15:01:11 2010
@@ -1,151 +1,193 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 
 <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>
+	<modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>examples</artifactId>
-    <version>2.2-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>camel-example-spring-javaconfig</artifactId>
-  <packaging>bundle</packaging>
-  <name>Camel :: Example :: Spring :: JavaConfig </name>
-  <description>An example showing how to work with Camel and Spring Java Config</description>
-
-  <properties>
-    <camel.osgi.export>org.apache.camel.example.spring.*</camel.osgi.export>
-    <camel.osgi.import>
-       !org.apache.camel.example.spring.*,
-       org.springframework.osgi.*;version="[1.2,2)",
-       org.springframework.*;version="[3,4)",
-       org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool
+	<parent>
+		<groupId>org.apache.camel</groupId>
+		<artifactId>examples</artifactId>
+		<version>2.2-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>camel-example-spring-javaconfig</artifactId>
+	<packaging>bundle</packaging>
+	<name>Camel :: Example :: Spring :: JavaConfig </name>
+	<description>An example showing how to work with Camel and Spring Java Config</description>
+
+	<properties>
+		<camel.osgi.export>org.apache.camel.example.spring.*</camel.osgi.export>
+		<camel.osgi.import>
+			!org.apache.camel.example.spring.*,
+			org.springframework.osgi.*;version="[1.2,2)",
+			org.springframework.*;version="[3,4)",
+			org.apache.activemq.xbean,org.apache.activemq.broker,org.apache.activemq.pool
     </camel.osgi.import>
-    <!-- avoid to import the bunch of spring related package -->
-    <camel.osgi.dynamic>*</camel.osgi.dynamic>
-    <spring-version>3.0.0.RELEASE</spring-version>
-    <junit-version>4.6</junit-version>
-  </properties>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-spring</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-spring-javaconfig</artifactId>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-osgi</artifactId>
-    </dependency>    
-
-    <dependency>
-      <groupId>org.apache.camel</groupId>
-      <artifactId>camel-jms</artifactId>
-    </dependency>
-
-    <dependency>
-       <groupId>org.springframework</groupId>
-       <artifactId>spring-aop</artifactId>
-       <version>${spring-version}</version>
-    </dependency>
-    <dependency>
-       <groupId>org.springframework</groupId>
-       <artifactId>spring-beans</artifactId>
-       <version>${spring-version}</version>
-    </dependency>
-    <dependency>
-       <groupId>org.springframework</groupId>
-       <artifactId>spring-context</artifactId>
-       <version>${spring-version}</version>
-    </dependency>
-    <dependency>
-       <groupId>org.springframework</groupId>
-       <artifactId>spring-core</artifactId>
-       <version>${spring-version}</version>
-    </dependency>
-    <dependency>
-      <groupId>net.sourceforge.cglib</groupId>
-      <artifactId>com.springsource.net.sf.cglib</artifactId>
-      <version>2.1.3</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.activemq</groupId>
-      <artifactId>activemq-core</artifactId>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.osgi.core</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-    </dependency>
-
-    <!-- for testing -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>${junit-version}</version>
-      <scope>test</scope>
-    </dependency>
-
-  </dependencies>
-
-  <build>
-    <!-- START SNIPPET: example -->
-    <plugins>
-      <!-- Allows the routes to be run via 'mvn camel:run' -->
-      <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-maven-plugin</artifactId>
-        <version>${project.version}</version>
-        <configuration>
-            <duration>5s</duration>
-            <configClasses>org.apache.camel.example.spring.javaconfig.MyRouteConfig</configClasses>
-            <!--You could set the base package directory and let spring to find the config classes for you 
-            <basedPackages>org.apache.camel.example.spring.javaconfig</basedPackages> 
-             -->            
-        </configuration>
-      </plugin>
-    </plugins>
-    <!-- END SNIPPET: example -->
-  </build>
-
-  <reporting>
-    <plugins>
-      <!-- Generates nice PNG / SVG diagrams from our routes -->
-      <plugin>
-        <groupId>org.apache.camel</groupId>
-        <artifactId>camel-maven-plugin</artifactId>
-        <version>${project.version}</version>
-      </plugin>
-    </plugins>
-  </reporting>
+		<!-- avoid to import the bunch of spring related package -->
+		<camel.osgi.dynamic>*</camel.osgi.dynamic>
+		<spring-version>3.0.0.RELEASE</spring-version>
+		<junit-version>4.6</junit-version>
+	</properties>
+
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-spring</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-spring-javaconfig</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-osgi</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-jms</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-aop</artifactId>
+			<version>${spring-version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-beans</artifactId>
+			<version>${spring-version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-context</artifactId>
+			<version>${spring-version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-core</artifactId>
+			<version>${spring-version}</version>
+		</dependency>
+		<dependency>
+			<groupId>net.sourceforge.cglib</groupId>
+			<artifactId>com.springsource.net.sf.cglib</artifactId>
+			<version>2.1.3</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-core</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.osgi.core</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+		</dependency>
+
+		<!-- for testing -->
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>${junit-version}</version>
+			<scope>test</scope>
+		</dependency>
+
+	</dependencies>
+	<build>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>process-resources</phase>
+						<goals>
+							<goal>resources</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>target/classes/features.xml</file>
+									<type>xml</type>
+									<classifier>features</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+
+			<!-- START SNIPPET: example -->
+
+			<!-- Allows the routes to be run via 'mvn camel:run' -->
+			<plugin>
+				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-maven-plugin</artifactId>
+				<version>${project.version}</version>
+				<configuration>
+					<duration>5s</duration>
+					<configClasses>org.apache.camel.example.spring.javaconfig.MyRouteConfig</configClasses>
+					<!--
+						You could set the base package directory and let spring to find
+						the config classes for you
+						<basedPackages>org.apache.camel.example.spring.javaconfig</basedPackages>
+					-->
+				</configuration>
+			</plugin>
+			<!-- END SNIPPET: example -->
+		</plugins>
+	</build>
+
+	<reporting>
+		<plugins>
+			<!-- Generates nice PNG / SVG diagrams from our routes -->
+			<plugin>
+				<groupId>org.apache.camel</groupId>
+				<artifactId>camel-maven-plugin</artifactId>
+				<version>${project.version}</version>
+			</plugin>
+		</plugins>
+	</reporting>
 </project>