[maven-release-plugin]  copy for tag nmr-1.0-m1

git-svn-id: https://svn.apache.org/repos/asf/servicemix/smx4/nmr/tags/nmr-1.0-m1@635926 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/README.txt b/README.txt
index f932097..283ad91 100644
--- a/README.txt
+++ b/README.txt
@@ -28,6 +28,10 @@
 

 For an Apache ServiceMix NMR binary distribution, please read

 RELEASE-NOTES.txt for the list of supported and unsupported features.

+ServiceMix NMR distribution contains a set of OSGi bundles meant to

+be deployed onto an OSGi Runtime, preferably ServiceMix Kernel.

+To deploy the NMR on ServiceMix Kernel, simply copy the bundles inside

+the lib directory into the deploy directory of ServiceMix Kernel.

 

 Alternatively, you can also find out how to get started here:

     http://servicemix.apache.org/nmr/

diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index c295c75..f8bce50 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -26,6 +26,15 @@
 questions on the ServiceMix mailing lists or simply to provide feedback 

 (we appreciate it very much).

 

+The current feature set includes a JBI container with a few missing things:

+  * no support for JMX deployment and Ant tasks

+  * no support for Service Assemblies Connections

+  * no support for transactions (a transaction manager and a naming context

+     can be injected into components if they are available as OSGi services,

+     but not transaction processing  - suspend / resume - will be performed,

+     as it would be requested for real support)

+

+

 Thanks you for downloading ServiceMix NMR.  Enjoy !

 

 The ServiceMix Team

diff --git a/assembly/pom.xml b/assembly/pom.xml
index 6c9b4d1..a78f3cc 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -23,14 +23,14 @@
 
     <parent>
         <groupId>org.apache.servicemix.nmr</groupId>
-        <artifactId>nmr</artifactId>
-        <version>1.0-m1-SNAPSHOT</version>
+        <artifactId>nmr-parent</artifactId>
+        <version>1.0-m1</version>
     </parent>
 
     <groupId>org.apache.servicemix.nmr</groupId>
     <artifactId>apache-servicemix-nmr</artifactId>
     <packaging>pom</packaging>
-    <version>1.0-m1-SNAPSHOT</version>
+    <version>1.0-m1</version>
     <name>ServiceMix NMR :: Assembly</name>
 
     <dependencies>
@@ -99,6 +99,31 @@
             <artifactId>org.apache.servicemix.bundles.woodstox-3.2.3</artifactId>
             <version>${pom.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.prefs</artifactId>
+            <version>${felix.prefs.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-activation_1.1_spec</artifactId>
+            <version>${geronimo.activation.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-javamail_1.4_spec</artifactId>
+            <version>${geronimo.javamail.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jta_1.1_spec</artifactId>
+            <version>${geronimo.jta.version}</version>
+        </dependency>
+	    <dependency>
+            <groupId>org.apache.xbean</groupId>
+            <artifactId>xbean-classloader</artifactId>
+            <version>${xbean.version}</version>
+        </dependency>
     </dependencies>
     <build>
         <plugins>
@@ -108,7 +133,7 @@
                 <executions>
                     <execution>
                         <id>filter</id>
-                        <phase>generate-resources</phase>
+                        <phase>package</phase>
                         <goals>
                             <goal>resources</goal>
                         </goals>
@@ -176,54 +201,8 @@
                     </execution>
                 </executions>
             </plugin>
-          <plugin>
-              <artifactId>maven-remote-resources-plugin</artifactId>
-              <version>1.0-beta-2</version>
-              <executions>
-              </executions>
-          </plugin>
         </plugins>
     </build>
 
-    <profiles>
-        <profile>
-            <id>assembly-src</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-assembly-plugin</artifactId>
-                        <version>2.1</version>
-                        <executions>
-                            <execution>
-                                <id>unix-src</id>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <descriptors>
-                                        <descriptor>src/main/descriptors/unix-src.xml</descriptor>
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>windows-src</id>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>attached</goal>
-                                </goals>
-                                <configuration>
-                                    <descriptors>
-                                        <descriptor>src/main/descriptors/windows-src.xml</descriptor>
-                                    </descriptors>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
 </project>
 
diff --git a/assembly/src/main/descriptors/unix-bin.xml b/assembly/src/main/descriptors/unix-bin.xml
index 82be25b..78c366c 100644
--- a/assembly/src/main/descriptors/unix-bin.xml
+++ b/assembly/src/main/descriptors/unix-bin.xml
@@ -105,8 +105,11 @@
             <scope>runtime</scope>
             <includes>
                 <include>org.apache.geronimo.specs:geronimo-activation_1.1_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-javamail_1.4_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-jta_1.1_spec</include>
                 <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.woodstox-3.2.3</include>
                 <include>org.apache.felix:org.apache.felix.prefs</include>
+                <include>org.apache.xbean:xbean-classloader</include>
                 <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.api</include>
                 <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.core</include>
                 <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.spring</include>
diff --git a/assembly/src/main/descriptors/windows-bin.xml b/assembly/src/main/descriptors/windows-bin.xml
index 8a53477..208f665 100644
--- a/assembly/src/main/descriptors/windows-bin.xml
+++ b/assembly/src/main/descriptors/windows-bin.xml
@@ -97,8 +97,11 @@
             <scope>runtime</scope>
             <includes>
                 <include>org.apache.geronimo.specs:geronimo-activation_1.1_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-javamail_1.4_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-jta_1.1_spec</include>
                 <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.woodstox-3.2.3</include>
                 <include>org.apache.felix:org.apache.felix.prefs</include>
+                <include>org.apache.xbean:xbean-classloader</include>
                 <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.api</include>
                 <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.core</include>
                 <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.spring</include>
diff --git a/bundle/pom.xml b/bundle/pom.xml
index b35d9f0..46e0126 100644
--- a/bundle/pom.xml
+++ b/bundle/pom.xml
@@ -24,15 +24,20 @@
     <parent>
         <groupId>org.apache.servicemix.nmr</groupId>
         <artifactId>nmr</artifactId>
-        <version>1.0-m1-SNAPSHOT</version>
+        <version>1.0-m1</version>
     </parent>
 
     <groupId>org.apache.servicemix.nmr</groupId>
     <artifactId>org.apache.servicemix.nmr.bundle</artifactId>
     <packaging>jar</packaging>
-    <version>1.0-m1-SNAPSHOT</version>
+    <version>1.0-m1</version>
     <name>ServiceMix NMR :: Bundle</name>
 
+    <properties>
+        <maven.test.skip>true</maven.test.skip>
+        <createSourcesJar>false</createSourcesJar>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.servicemix.nmr</groupId>
@@ -103,12 +108,6 @@
     <build>
         <plugins>
           <plugin>
-              <artifactId>maven-remote-resources-plugin</artifactId>
-              <version>1.0-beta-2</version>
-              <executions>
-              </executions>
-          </plugin>
-          <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-shade-plugin</artifactId>
               <version>1.0</version>
@@ -122,8 +121,25 @@
                           <shadedGroupFilter>org.apache.servicemix</shadedGroupFilter>
                           <shadedArtifactAttached>false</shadedArtifactAttached>
                           <createSourcesJar>${createSourcesJar}</createSourcesJar>
-                          <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                          <promoteTransitiveDependencies>false</promoteTransitiveDependencies>
                           <createDependencyReducedPom>true</createDependencyReducedPom>
+                          <artifactSet>
+                              <includes>
+                                  <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.api</include>
+                                  <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.core</include>
+                                  <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.spring</include>
+                                  <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.osgi</include>
+                                  <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.commands</include>
+                                  <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.management</include>
+                                  <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.api</include>
+                                  <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.runtime</include>
+                                  <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.osgi</include>
+                                  <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.deployer</include>
+                                  <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.commands</include>
+                                  <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.management</include>
+                              </includes>
+                          </artifactSet>
+<!--
                           <filters>
                               <filter>
                                   <artifact>${project.groupId}:${project.artifactId}</artifact>
@@ -132,6 +148,7 @@
                                   </excludes>
                               </filter>
                           </filters>
+-->
                           <transformers>
                               <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
                                   <projectName>Apache ServiceMix</projectName>
@@ -158,7 +175,7 @@
                         <executions>
                             <execution>
                                 <id>unpack-sources</id>
-                                <phase>generate-sources</phase>
+                                <phase>compile</phase>
                                 <goals>
                                     <goal>unpack-dependencies</goal>
                                 </goals>
diff --git a/bundles/pom.xml b/bundles/pom.xml
index 95b060e..6e2477e 100644
--- a/bundles/pom.xml
+++ b/bundles/pom.xml
@@ -1,73 +1,71 @@
-<?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.nmr</groupId>

-        <artifactId>nmr-parent</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.nmr.bundles</groupId>

-    <artifactId>bundles</artifactId>

-    <packaging>pom</packaging>

-    <version>1.0-m1-SNAPSHOT</version>

-    <name>ServiceMix OSGI Common Bundles</name>

-

-    <modules>

-        <module>woodstox</module>

-    </modules>

-

-    <properties>

-        <servicemix.osgi.export>${servicemix.osgi.export.pkg}*;version=${pkgVersion}</servicemix.osgi.export>

-        <servicemix.osgi.export.pkg></servicemix.osgi.export.pkg>

-        <servicemix.osgi.import.pkg></servicemix.osgi.import.pkg>

-        <servicemix.osgi.private.pkg></servicemix.osgi.private.pkg>

-    </properties>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <executions>

-                    <execution>

-                        <goals>

-                            <goal>bundle</goal>

-                        </goals>

-                    </execution>

-                </executions>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Export-Package>${servicemix.osgi.export}</Export-Package>

-                        <Import-Package>${servicemix.osgi.import.pkg}*</Import-Package>

-                        <Private-Package>${servicemix.osgi.private.pkg}</Private-Package>

-                    </instructions>

-                    <unpackBundle>true</unpackBundle>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr-parent</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.nmr.bundles</groupId>
+    <artifactId>bundles</artifactId>
+    <packaging>pom</packaging>
+    <version>1.0-m1</version>
+    <name>ServiceMix OSGI Common Bundles</name>
+
+    <modules>
+        <module>woodstox</module>
+    </modules>
+
+    <properties>
+        <servicemix.osgi.export>${servicemix.osgi.export.pkg}*;version=${pkgVersion}</servicemix.osgi.export>
+        <servicemix.osgi.export.pkg />
+        <servicemix.osgi.import.pkg />
+        <servicemix.osgi.private.pkg />
+    </properties>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>bundle</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>${servicemix.osgi.export}</Export-Package>
+                        <Import-Package>${servicemix.osgi.import.pkg}*</Import-Package>
+                        <Private-Package>${servicemix.osgi.private.pkg}</Private-Package>
+                    </instructions>
+                    <unpackBundle>true</unpackBundle>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/bundles/woodstox/pom.xml b/bundles/woodstox/pom.xml
index 3358222..7afab8e 100644
--- a/bundles/woodstox/pom.xml
+++ b/bundles/woodstox/pom.xml
@@ -24,13 +24,13 @@
     <parent>
         <groupId>org.apache.servicemix.nmr.bundles</groupId>
         <artifactId>bundles</artifactId>
-        <version>1.0-m1-SNAPSHOT</version>
+        <version>1.0-m1</version>
     </parent>
 
     <groupId>org.apache.servicemix.bundles</groupId>
     <artifactId>${pom.groupId}.${pkgArtifactId}-${pkgVersion}</artifactId>
     <packaging>bundle</packaging>
-    <version>1.0-m1-SNAPSHOT</version>
+    <version>1.0-m1</version>
     <name>ServiceMix OSGI Common Bundles: ${pkgArtifactId}-${pkgVersion}</name>
     <description>
         This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
diff --git a/jbi/api/pom.xml b/jbi/api/pom.xml
index bbc0039..32a9e36 100644
--- a/jbi/api/pom.xml
+++ b/jbi/api/pom.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
     <!--
 
@@ -25,13 +24,13 @@
     <parent>
         <groupId>org.apache.servicemix.jbi</groupId>
         <artifactId>jbi</artifactId>
-        <version>1.0-m1-SNAPSHOT</version>
+        <version>1.0-m1</version>
     </parent>
 
     <groupId>org.apache.servicemix.jbi</groupId>
     <artifactId>org.apache.servicemix.jbi.api</artifactId>
     <packaging>bundle</packaging>
-    <version>1.0-m1-SNAPSHOT</version>
+    <version>1.0-m1</version>
     <name>ServiceMix JBI API</name>
 
     <dependencies>
diff --git a/jbi/commands/pom.xml b/jbi/commands/pom.xml
index 3e449ac..c0a9f75 100644
--- a/jbi/commands/pom.xml
+++ b/jbi/commands/pom.xml
@@ -1,65 +1,63 @@
-<?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.jbi</groupId>

-        <artifactId>jbi</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.jbi</groupId>

-    <artifactId>org.apache.servicemix.jbi.commands</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix JBI Commands</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.deployer</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.kernel.gshell</groupId>

-            <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId>

-            <version>${smx.kernel.version}</version>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Export-Package>${pom.artifactId}*</Export-Package>

-                        <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.jbi</groupId>
+        <artifactId>jbi</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.jbi</groupId>
+    <artifactId>org.apache.servicemix.jbi.commands</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix JBI Commands</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.deployer</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.kernel.gshell</groupId>
+            <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId>
+            <version>${smx.kernel.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>${pom.artifactId}*</Export-Package>
+                        <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/jbi/deployer/pom.xml b/jbi/deployer/pom.xml
index 89e998e..36325c2 100644
--- a/jbi/deployer/pom.xml
+++ b/jbi/deployer/pom.xml
@@ -1,99 +1,96 @@
-<?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.jbi</groupId>

-        <artifactId>jbi</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.jbi</groupId>

-    <artifactId>org.apache.servicemix.jbi.deployer</artifactId>

-    <packaging>bundle</packaging>

-    <version>1.0-m1-SNAPSHOT</version>

-    <name>ServiceMix JBI Deployer</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.api</artifactId>

-	        <version>1.0-m1-SNAPSHOT</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.kernel</groupId>

-            <artifactId>org.apache.servicemix.kernel.filemonitor</artifactId>

-            <version>${smx.kernel.version}</version>

-            <exclusions>

-                <exclusion>

-                    <groupId>org.apache.felix</groupId>

-                    <artifactId>org.osgi.core</artifactId>

-                </exclusion>

-            </exclusions>

-        </dependency>

-	    <dependency>

-            <groupId>org.apache.xbean</groupId>

-            <artifactId>xbean-classloader</artifactId>

-            <version>${xbean.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.springframework.osgi</groupId>

-            <artifactId>spring-osgi-core</artifactId>

-	        <version>${spring.osgi.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-	        <version>${felix.osgi.version}</version>

-            <scope>provided</scope>

-        </dependency>

-        <dependency>

-            <groupId>junit</groupId>

-            <artifactId>junit</artifactId>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>log4j</groupId>

-            <artifactId>log4j</artifactId>

-            <scope>test</scope>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Private-Package>org.apache.xbean*</Private-Package>

-                        <Export-Package>${pom.artifactId}*</Export-Package>

-                        <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.jbi</groupId>
+        <artifactId>jbi</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.jbi</groupId>
+    <artifactId>org.apache.servicemix.jbi.deployer</artifactId>
+    <packaging>bundle</packaging>
+    <version>1.0-m1</version>
+    <name>ServiceMix JBI Deployer</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.api</artifactId>
+	        <version>1.0-m1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.kernel</groupId>
+            <artifactId>org.apache.servicemix.kernel.filemonitor</artifactId>
+            <version>${smx.kernel.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+	    <dependency>
+            <groupId>org.apache.xbean</groupId>
+            <artifactId>xbean-classloader</artifactId>
+            <version>${xbean.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.osgi</groupId>
+            <artifactId>spring-osgi-core</artifactId>
+	        <version>${spring.osgi.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+	        <version>${felix.osgi.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>${pom.artifactId}*</Export-Package>
+                        <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/jbi/deployer/src/main/java/org/apache/servicemix/jbi/deployer/impl/Deployer.java b/jbi/deployer/src/main/java/org/apache/servicemix/jbi/deployer/impl/Deployer.java
index 20bd730..f05200a 100644
--- a/jbi/deployer/src/main/java/org/apache/servicemix/jbi/deployer/impl/Deployer.java
+++ b/jbi/deployer/src/main/java/org/apache/servicemix/jbi/deployer/impl/Deployer.java
@@ -141,7 +141,7 @@
             }
         } catch (PendingException e) {
             pendingBundles.add(e.getBundle());
-            LOGGER.warn("Requirements not met for JBI artifact in bundle " + OsgiStringUtils.nullSafeNameAndSymName(bundle) + ". Installation pending.");
+            LOGGER.warn("Requirements not met for JBI artifact in bundle " + OsgiStringUtils.nullSafeNameAndSymName(bundle) + ". Installation pending. " + e);
         } catch (Exception e) {
             LOGGER.error("Error handling bundle start event", e);
         } finally {
diff --git a/jbi/itests/pom.xml b/jbi/itests/pom.xml
index 5367ca9..18519d0 100644
--- a/jbi/itests/pom.xml
+++ b/jbi/itests/pom.xml
@@ -1,277 +1,281 @@
-<?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.jbi</groupId>

-        <artifactId>jbi</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.jbi</groupId>

-    <artifactId>org.apache.servicemix.jbi.itests</artifactId>

-    <packaging>jar</packaging>

-    <name>ServiceMix JBI Integration Tests</name>

-

-    <properties>

-        <osgi.test.platform>org.springframework.osgi.test.platform.FelixPlatform</osgi.test.platform>

-    </properties>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.kernel</groupId>

-            <artifactId>org.apache.servicemix.kernel.main</artifactId>

-            <version>${smx.kernel.version}</version>

-            <scope>test</scope>

-            <exclusions>

-                <exclusion>

-                    <groupId>org.apache.felix</groupId>

-                    <artifactId>org.osgi.core</artifactId>

-                </exclusion>

-            </exclusions>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.kernel.testing</groupId>

-            <artifactId>org.apache.servicemix.kernel.testing.support</artifactId>

-		    <version>${smx.kernel.version}</version>

-            <scope>test</scope>

-            <exclusions>

-                <exclusion>

-                    <groupId>org.apache.felix</groupId>

-                    <artifactId>org.osgi.core</artifactId>

-                </exclusion>

-            </exclusions>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.kernel</groupId>

-            <artifactId>org.apache.servicemix.kernel.filemonitor</artifactId>

-            <version>${smx.kernel.version}</version>

-            <scope>test</scope>

-            <exclusions>

-                <exclusion>

-                    <groupId>org.apache.felix</groupId>

-                    <artifactId>org.osgi.core</artifactId>

-                </exclusion>

-            </exclusions>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.bundles</groupId>

-            <artifactId>org.apache.servicemix.bundles.ant-${ant.version}</artifactId>

-            <version>${smx.kernel.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.api</artifactId>

-            <version>${project.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.core</artifactId>

-            <version>${project.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.osgi</artifactId>

-            <version>${project.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.spring</artifactId>

-            <version>${project.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.api</artifactId>

-            <version>${project.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.runtime</artifactId>

-            <version>${project.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.osgi</artifactId>

-            <version>${project.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.deployer</artifactId>

-            <version>${project.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.apache.felix.prefs</artifactId>

-            <version>${felix.prefs.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix</groupId>

-            <artifactId>servicemix-shared-compat</artifactId>

-            <version>${smx3.version}</version>

-            <classifier>installer</classifier>

-            <type>zip</type>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix</groupId>

-            <artifactId>servicemix-eip</artifactId>

-            <version>${smx3.version}</version>

-            <classifier>installer</classifier>

-            <type>zip</type>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix</groupId>

-            <artifactId>servicemix-jsr181</artifactId>

-            <version>${smx3.version}</version>

-            <classifier>installer</classifier>

-            <type>zip</type>

-            <exclusions>

-                <exclusion>

-                    <groupId>org.springframework</groupId>

-                    <artifactId>spring</artifactId>

-                </exclusion>

-                <exclusion>

-                    <groupId>xfire</groupId>

-                    <artifactId>saaj-impl</artifactId>

-                </exclusion>

-            </exclusions>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix</groupId>

-            <artifactId>servicemix-http</artifactId>

-            <version>${smx3.version}</version>

-            <classifier>installer</classifier>

-            <type>zip</type>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.samples.wsdl-first</groupId>

-            <artifactId>wsdl-first-sa</artifactId>

-            <version>${smx3.version}</version>

-            <type>zip</type>

-            <exclusions>

-                <exclusion>

-                    <groupId>org.apache.servicemix.samples.wsdl-first</groupId>

-                    <artifactId>wsdl-first-jsr181-su</artifactId>

-                </exclusion>

-                <exclusion>

-                    <groupId>org.apache.servicemix.samples.wsdl-first</groupId>

-                    <artifactId>wsdl-first-http-su</artifactId>

-                </exclusion>

-            </exclusions>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <!-- generate dependencies versions -->

-            <plugin>

-                <groupId>org.apache.servicemix.kernel.testing</groupId>

-                <artifactId>depends-maven-plugin</artifactId>

-                <version>${smx.kernel.version}</version>

-                <executions>

-                    <execution>

-                        <id>generate-depends-file</id>

-                        <goals>

-                            <goal>generate-depends-file</goal>

-                        </goals>

-                    </execution>

-                </executions>

-            </plugin>

-            <!-- Copy shared library and component -->

-            <plugin>

-                <groupId>org.codehaus.mojo</groupId>

-                <artifactId>dependency-maven-plugin</artifactId>

-                <executions>

-                    <execution>

-                        <id>copy-components</id>

-                        <phase>generate-resources</phase>

-                        <goals>

-                            <goal>copy</goal>

-                        </goals>

-                        <configuration>

-                            <outputDirectory>target/components</outputDirectory>

-                            <artifactItems>

-                                <artifactItem>

-                                    <groupId>org.apache.servicemix</groupId>

-                                    <artifactId>servicemix-shared-compat</artifactId>

-                                    <version>${smx3.version}</version>

-                                    <classifier>installer</classifier>

-                                    <type>zip</type>

-                                </artifactItem>

-                                <artifactItem>

-                                    <groupId>org.apache.servicemix</groupId>

-                                    <artifactId>servicemix-eip</artifactId>

-                                    <version>${smx3.version}</version>

-                                    <classifier>installer</classifier>

-                                    <type>zip</type>

-                                </artifactItem>

-                                <artifactItem>

-                                    <groupId>org.apache.servicemix</groupId>

-                                    <artifactId>servicemix-jsr181</artifactId>

-                                    <version>${smx3.version}</version>

-                                    <classifier>installer</classifier>

-                                    <type>zip</type>

-                                </artifactItem>

-                                <artifactItem>

-                                    <groupId>org.apache.servicemix</groupId>

-                                    <artifactId>servicemix-http</artifactId>

-                                    <version>${smx3.version}</version>

-                                    <classifier>installer</classifier>

-                                    <type>zip</type>

-                                </artifactItem>

-                                <artifactItem>

-                                    <groupId>org.apache.servicemix.samples.wsdl-first</groupId>

-                                    <artifactId>wsdl-first-sa</artifactId>

-                                    <version>${smx3.version}</version>

-                                    <type>zip</type>

-                                </artifactItem>

-                            </artifactItems>

-                        </configuration>

-                    </execution>

-                </executions>

-            </plugin>

-            <plugin>

-                <groupId>org.apache.maven.plugins</groupId>

-                <artifactId>maven-surefire-plugin</artifactId>

-                <configuration>

-                    <forkMode>pertest</forkMode>

-                    <systemProperties>

-                        <property>

-                            <name>org.springframework.osgi.test.framework</name>

-                            <value>${osgi.test.platform}</value>

-                        </property>

-                    </systemProperties>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.jbi</groupId>
+        <artifactId>jbi</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.jbi</groupId>
+    <artifactId>org.apache.servicemix.jbi.itests</artifactId>
+    <packaging>jar</packaging>
+    <name>ServiceMix JBI Integration Tests</name>
+
+    <properties>
+        <osgi.test.platform>org.springframework.osgi.test.platform.FelixPlatform</osgi.test.platform>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.kernel</groupId>
+            <artifactId>org.apache.servicemix.kernel.main</artifactId>
+            <version>${smx.kernel.version}</version>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.kernel.testing</groupId>
+            <artifactId>org.apache.servicemix.kernel.testing.support</artifactId>
+		    <version>${smx.kernel.version}</version>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.kernel</groupId>
+            <artifactId>org.apache.servicemix.kernel.filemonitor</artifactId>
+            <version>${smx.kernel.version}</version>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.core</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.bundles</groupId>
+            <artifactId>org.apache.servicemix.bundles.ant-${ant.version}</artifactId>
+            <version>${smx.kernel.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.api</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.core</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.osgi</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.spring</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.api</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.runtime</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.osgi</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.deployer</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.prefs</artifactId>
+            <version>${felix.prefs.version}</version>
+            <scope>test</scope>
+        </dependency>
+	    <dependency>
+            <groupId>org.apache.xbean</groupId>
+            <artifactId>xbean-classloader</artifactId>
+            <version>${xbean.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-shared-compat</artifactId>
+            <version>${smx3.version}</version>
+            <classifier>installer</classifier>
+            <type>zip</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-eip</artifactId>
+            <version>${smx3.version}</version>
+            <classifier>installer</classifier>
+            <type>zip</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-jsr181</artifactId>
+            <version>${smx3.version}</version>
+            <classifier>installer</classifier>
+            <type>zip</type>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>xfire</groupId>
+                    <artifactId>saaj-impl</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-http</artifactId>
+            <version>${smx3.version}</version>
+            <classifier>installer</classifier>
+            <type>zip</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.samples.wsdl-first</groupId>
+            <artifactId>wsdl-first-sa</artifactId>
+            <version>${smx3.version}</version>
+            <type>zip</type>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.servicemix.samples.wsdl-first</groupId>
+                    <artifactId>wsdl-first-jsr181-su</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.servicemix.samples.wsdl-first</groupId>
+                    <artifactId>wsdl-first-http-su</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <!-- generate dependencies versions -->
+            <plugin>
+                <groupId>org.apache.servicemix.kernel.testing</groupId>
+                <artifactId>depends-maven-plugin</artifactId>
+                <version>${smx.kernel.version}</version>
+                <executions>
+                    <execution>
+                        <id>generate-depends-file</id>
+                        <goals>
+                            <goal>generate-depends-file</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <!-- Copy shared library and component -->
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-components</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>target/components</outputDirectory>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.servicemix</groupId>
+                                    <artifactId>servicemix-shared-compat</artifactId>
+                                    <version>${smx3.version}</version>
+                                    <classifier>installer</classifier>
+                                    <type>zip</type>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.servicemix</groupId>
+                                    <artifactId>servicemix-eip</artifactId>
+                                    <version>${smx3.version}</version>
+                                    <classifier>installer</classifier>
+                                    <type>zip</type>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.servicemix</groupId>
+                                    <artifactId>servicemix-jsr181</artifactId>
+                                    <version>${smx3.version}</version>
+                                    <classifier>installer</classifier>
+                                    <type>zip</type>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.servicemix</groupId>
+                                    <artifactId>servicemix-http</artifactId>
+                                    <version>${smx3.version}</version>
+                                    <classifier>installer</classifier>
+                                    <type>zip</type>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.servicemix.samples.wsdl-first</groupId>
+                                    <artifactId>wsdl-first-sa</artifactId>
+                                    <version>${smx3.version}</version>
+                                    <type>zip</type>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <forkMode>pertest</forkMode>
+                    <systemProperties>
+                        <property>
+                            <name>org.springframework.osgi.test.framework</name>
+                            <value>${osgi.test.platform}</value>
+                        </property>
+                    </systemProperties>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java b/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java
index 24e2dd1..b1af7c8 100644
--- a/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java
+++ b/jbi/itests/src/test/java/org/apache/servicemix/jbi/IntegrationTest.java
@@ -72,6 +72,7 @@
             getBundle("org.apache.geronimo.specs", "geronimo-stax-api_1.0_spec"),
             getBundle("org.apache.geronimo.specs", "geronimo-activation_1.1_spec"),
             getBundle("org.apache.felix", "org.apache.felix.prefs"),
+            getBundle("org.apache.xbean", "xbean-classloader"),
             getBundle("org.apache.servicemix.nmr", "org.apache.servicemix.nmr.api"),
             getBundle("org.apache.servicemix.nmr", "org.apache.servicemix.nmr.core"),
             getBundle("org.apache.servicemix.nmr", "org.apache.servicemix.nmr.spring"),
diff --git a/jbi/management/pom.xml b/jbi/management/pom.xml
index 4015253..e3e7dcc 100644
--- a/jbi/management/pom.xml
+++ b/jbi/management/pom.xml
@@ -1,71 +1,69 @@
-<?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.jbi</groupId>

-        <artifactId>jbi</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.jbi</groupId>

-    <artifactId>org.apache.servicemix.jbi.management</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix JBI Management</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.runtime</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.deployer</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-            <version>${felix.osgi.version}</version>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Import-Package>*</Import-Package>

-                        <Export-Package>${pom.artifactId}*;version=${pom.version}</Export-Package>

-                        <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.jbi</groupId>
+        <artifactId>jbi</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.jbi</groupId>
+    <artifactId>org.apache.servicemix.jbi.management</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix JBI Management</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.runtime</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.deployer</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>${felix.osgi.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Import-Package>*</Import-Package>
+                        <Export-Package>${pom.artifactId}*;version=${pom.version}</Export-Package>
+                        <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/jbi/osgi/pom.xml b/jbi/osgi/pom.xml
index 16860fb..e34e226 100644
--- a/jbi/osgi/pom.xml
+++ b/jbi/osgi/pom.xml
@@ -1,86 +1,84 @@
-<?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.jbi</groupId>

-        <artifactId>jbi</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.jbi</groupId>

-    <artifactId>org.apache.servicemix.jbi.osgi</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix JBI OSGi</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.api</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.runtime</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.deployer</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-            <version>${felix.osgi.version}</version>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Import-Package>

-                            javax.jbi.component,

-                            javax.management,

-                            javax.naming,

-                            javax.transaction,

-                            org.apache.servicemix.nmr.api,

-                            org.apache.servicemix.jbi.runtime,

-                            org.apache.servicemix.jbi.runtime.impl,

-                            org.apache.servicemix.jbi.osgi,

-                            org.osgi.service.url,

-                            *

-                        </Import-Package>

-                        <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.jbi</groupId>
+        <artifactId>jbi</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.jbi</groupId>
+    <artifactId>org.apache.servicemix.jbi.osgi</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix JBI OSGi</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.api</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.runtime</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.deployer</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>${felix.osgi.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Import-Package>
+                            javax.jbi.component,
+                            javax.management,
+                            javax.naming,
+                            javax.transaction,
+                            org.apache.servicemix.nmr.api,
+                            org.apache.servicemix.jbi.runtime,
+                            org.apache.servicemix.jbi.runtime.impl,
+                            org.apache.servicemix.jbi.osgi,
+                            org.osgi.service.url,
+                            *
+                        </Import-Package>
+                        <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/jbi/pom.xml b/jbi/pom.xml
index 907b354..584d2b1 100644
--- a/jbi/pom.xml
+++ b/jbi/pom.xml
@@ -1,47 +1,45 @@
-<?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.nmr</groupId>

-        <artifactId>nmr-parent</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.jbi</groupId>

-    <artifactId>jbi</artifactId>

-    <packaging>pom</packaging>

-    <version>1.0-m1-SNAPSHOT</version>

-    <name>ServiceMix JBI</name>

-

-    <modules>

-        <module>api</module>

-        <module>runtime</module>

-        <module>deployer</module>

-        <module>osgi</module>

-        <module>management</module>

-        <module>commands</module>

-        <module>itests</module>

-    </modules>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr-parent</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.jbi</groupId>
+    <artifactId>jbi</artifactId>
+    <packaging>pom</packaging>
+    <version>1.0-m1</version>
+    <name>ServiceMix JBI</name>
+
+    <modules>
+        <module>api</module>
+        <module>runtime</module>
+        <module>deployer</module>
+        <module>osgi</module>
+        <module>management</module>
+        <module>commands</module>
+        <module>itests</module>
+    </modules>
+
+</project>
\ No newline at end of file
diff --git a/jbi/runtime/pom.xml b/jbi/runtime/pom.xml
index 0392548..2c9ab63 100644
--- a/jbi/runtime/pom.xml
+++ b/jbi/runtime/pom.xml
@@ -1,115 +1,113 @@
-<?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.jbi</groupId>

-        <artifactId>jbi</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.jbi</groupId>

-    <artifactId>org.apache.servicemix.jbi.runtime</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix JBI Runtime</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.core</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.jbi</groupId>

-            <artifactId>org.apache.servicemix.jbi.api</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>commons-logging</groupId>

-            <artifactId>commons-logging</artifactId>

-            <version>${commons.logging.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix</groupId>

-            <artifactId>servicemix-eip</artifactId>

-		    <version>${smx3.version}</version>

-            <scope>test</scope>

-            <exclusions>

-                <exclusion>

-                    <groupId>org.apache.servicemix</groupId>

-                    <artifactId>servicemix-shared</artifactId>

-                </exclusion>

-            </exclusions>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-	        <version>${felix.osgi.version}</version>

-            <scope>provided</scope>

-        </dependency>

-        <dependency>

-            <groupId>commons-logging</groupId>

-            <artifactId>commons-logging</artifactId>

-            <version>${commons.logging.version}</version>

-            <scope>provided</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix</groupId>

-            <artifactId>servicemix-common</artifactId>

-		    <version>${smx3.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix</groupId>

-            <artifactId>servicemix-core</artifactId>

-		    <version>${smx3.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>junit</groupId>

-            <artifactId>junit</artifactId>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>log4j</groupId>

-            <artifactId>log4j</artifactId>

-            <scope>test</scope>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Export-Package>${pom.artifactId}*</Export-Package>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.jbi</groupId>
+        <artifactId>jbi</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.jbi</groupId>
+    <artifactId>org.apache.servicemix.jbi.runtime</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix JBI Runtime</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.jbi</groupId>
+            <artifactId>org.apache.servicemix.jbi.api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>${commons.logging.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-eip</artifactId>
+		    <version>${smx3.version}</version>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.servicemix</groupId>
+                    <artifactId>servicemix-shared</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+	        <version>${felix.osgi.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>${commons.logging.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-common</artifactId>
+		    <version>${smx3.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-core</artifactId>
+		    <version>${smx3.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>${pom.artifactId}*</Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/nmr/api/pom.xml b/nmr/api/pom.xml
index af8cf1c..fac0394 100644
--- a/nmr/api/pom.xml
+++ b/nmr/api/pom.xml
@@ -1,69 +1,67 @@
-<?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.nmr</groupId>

-        <artifactId>nmr</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.nmr</groupId>

-    <artifactId>org.apache.servicemix.nmr.api</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix NMR API</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>junit</groupId>

-            <artifactId>junit</artifactId>

-            <version>${junit.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-            <version>${felix.osgi.version}</version>

-            <scope>provided</scope>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-Name>${pom.name}</Bundle-Name>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Export-Package>

-                            ${pom.artifactId},${pom.artifactId}.service,${pom.artifactId}.event,${pom.artifactId}.internal

-                        </Export-Package>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.nmr</groupId>
+    <artifactId>org.apache.servicemix.nmr.api</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix NMR API</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>${felix.osgi.version}</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-Name>${pom.name}</Bundle-Name>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            ${pom.artifactId},${pom.artifactId}.service,${pom.artifactId}.event,${pom.artifactId}.internal
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/nmr/commands/pom.xml b/nmr/commands/pom.xml
index b847964..06d33ed 100644
--- a/nmr/commands/pom.xml
+++ b/nmr/commands/pom.xml
@@ -1,65 +1,63 @@
-<?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.nmr</groupId>

-        <artifactId>nmr</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.nmr</groupId>

-    <artifactId>org.apache.servicemix.nmr.commands</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix NMR Commands</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.core</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.kernel.gshell</groupId>

-            <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId>

-            <version>${smx.kernel.version}</version>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Export-Package>${pom.artifactId}</Export-Package>

-                        <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.nmr</groupId>
+    <artifactId>org.apache.servicemix.nmr.commands</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix NMR Commands</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.kernel.gshell</groupId>
+            <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId>
+            <version>${smx.kernel.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>${pom.artifactId}</Export-Package>
+                        <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/nmr/commands/src/main/java/org/apache/servicemix/nmr/commands/ListCommand.java b/nmr/commands/src/main/java/org/apache/servicemix/nmr/commands/ListCommand.java
index 97366fb..2fd6f45 100644
--- a/nmr/commands/src/main/java/org/apache/servicemix/nmr/commands/ListCommand.java
+++ b/nmr/commands/src/main/java/org/apache/servicemix/nmr/commands/ListCommand.java
@@ -22,11 +22,12 @@
 /**
  * Displays the name of existing NMR endpoints
  */
+@org.apache.geronimo.gshell.command.annotation.CommandComponent(id = "nmr:list", description = "List NMR endpoints")
 public class ListCommand extends NmrCommandSupport {
 
     protected Object doExecute() throws Exception {
-        io.out.println("Shared Libraries");
-        io.out.println("----------------");
+        io.out.println("Endpoints");
+        io.out.println("---------");
         ServiceReference[] references = getBundleContext().getAllServiceReferences(Endpoint.class.getName(), null);
         if (references != null) {
             for (ServiceReference ref : references) {
diff --git a/nmr/commands/src/main/resources/META-INF/spring/servicemix-nmr-commands.xml b/nmr/commands/src/main/resources/META-INF/spring/servicemix-nmr-commands.xml
index c33cb61..3e30391 100644
--- a/nmr/commands/src/main/resources/META-INF/spring/servicemix-nmr-commands.xml
+++ b/nmr/commands/src/main/resources/META-INF/spring/servicemix-nmr-commands.xml
@@ -38,5 +38,4 @@
       </osgi:service-properties>
     </osgi:service>
 
-
 </beans>                                                                                                                                                                                                   
diff --git a/nmr/core/pom.xml b/nmr/core/pom.xml
index f6239a2..6e521e7 100644
--- a/nmr/core/pom.xml
+++ b/nmr/core/pom.xml
@@ -1,92 +1,90 @@
-<?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.nmr</groupId>

-        <artifactId>nmr</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.nmr</groupId>

-    <artifactId>org.apache.servicemix.nmr.core</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix NMR Core</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.api</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>commons-logging</groupId>

-            <artifactId>commons-logging</artifactId>

-            <version>${commons.logging.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>junit</groupId>

-            <artifactId>junit</artifactId>

-            <scope>test</scope>

-            <version>${junit.version}</version>

-        </dependency>

-        <!-- Put this dependency before the following one to avoid a classloader problem

-             when running junit tests -->

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.apache.felix.framework</artifactId>

-            <version>${felix.framework.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-            <version>${felix.osgi.version}</version>

-            <scope>provided</scope>

-            <optional>true</optional>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.camel</groupId>

-            <artifactId>camel-core</artifactId>

-            <version>${camel.version}</version>

-            <optional>true</optional>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Export-Package>${pom.artifactId}*</Export-Package>

-                        <Import-Package>org.apache.camel.*;resolution:=optional,*</Import-Package>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.nmr</groupId>
+    <artifactId>org.apache.servicemix.nmr.core</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix NMR Core</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>${commons.logging.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+            <version>${junit.version}</version>
+        </dependency>
+        <!-- Put this dependency before the following one to avoid a classloader problem
+             when running junit tests -->
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.framework</artifactId>
+            <version>${felix.framework.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>${felix.osgi.version}</version>
+            <scope>provided</scope>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-core</artifactId>
+            <version>${camel.version}</version>
+            <optional>true</optional>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>${pom.artifactId}*</Export-Package>
+                        <Import-Package>org.apache.camel.*;resolution:=optional,*</Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/nmr/management/pom.xml b/nmr/management/pom.xml
index 95b88df..fd1edc9 100644
--- a/nmr/management/pom.xml
+++ b/nmr/management/pom.xml
@@ -1,94 +1,92 @@
-<?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.nmr</groupId>

-        <artifactId>nmr</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.nmr</groupId>

-    <artifactId>org.apache.servicemix.nmr.management</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix NMR Management</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.api</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.core</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.spring</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.springframework.osgi</groupId>

-            <artifactId>spring-osgi-core</artifactId>

-            <version>${spring.osgi.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-            <version>${felix.osgi.version}</version>

-            <scope>provided</scope>

-        </dependency>

-        <dependency>

-            <groupId>junit</groupId>

-            <artifactId>junit</artifactId>

-            <version>${junit.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>commons-logging</groupId>

-            <artifactId>commons-logging</artifactId>

-            <version>${commons.logging.version}</version>

-            <scope>provided</scope>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Import-Package>*</Import-Package>

-                        <Export-Package>${pom.artifactId}*;version=${pom.version}</Export-Package>

-                        <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.nmr</groupId>
+    <artifactId>org.apache.servicemix.nmr.management</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix NMR Management</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.spring</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.osgi</groupId>
+            <artifactId>spring-osgi-core</artifactId>
+            <version>${spring.osgi.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>${felix.osgi.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>${commons.logging.version}</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Import-Package>*</Import-Package>
+                        <Export-Package>${pom.artifactId}*;version=${pom.version}</Export-Package>
+                        <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/nmr/osgi/pom.xml b/nmr/osgi/pom.xml
index 60e702e..6a6e83c 100644
--- a/nmr/osgi/pom.xml
+++ b/nmr/osgi/pom.xml
@@ -1,100 +1,98 @@
-<?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.nmr</groupId>

-        <artifactId>nmr</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.nmr</groupId>

-    <artifactId>org.apache.servicemix.nmr.osgi</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix NMR OSGi</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.api</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.core</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.spring</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.springframework.osgi</groupId>

-            <artifactId>spring-osgi-core</artifactId>

-            <version>${spring.osgi.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-            <version>${felix.osgi.version}</version>

-            <scope>provided</scope>

-        </dependency>

-        <dependency>

-            <groupId>junit</groupId>

-            <artifactId>junit</artifactId>

-            <version>${junit.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>commons-logging</groupId>

-            <artifactId>commons-logging</artifactId>

-            <version>${commons.logging.version}</version>

-            <scope>test</scope>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Import-Package>

-                            org.apache.servicemix.nmr.api,

-                            org.apache.servicemix.nmr.api.event,

-                            org.apache.servicemix.nmr.api.internal,

-                            org.apache.servicemix.nmr.core,

-                            org.apache.servicemix.nmr.osgi,

-                            *

-                        </Import-Package>

-                        <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.nmr</groupId>
+    <artifactId>org.apache.servicemix.nmr.osgi</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix NMR OSGi</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.spring</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.osgi</groupId>
+            <artifactId>spring-osgi-core</artifactId>
+            <version>${spring.osgi.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>${felix.osgi.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>${commons.logging.version}</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Import-Package>
+                            org.apache.servicemix.nmr.api,
+                            org.apache.servicemix.nmr.api.event,
+                            org.apache.servicemix.nmr.api.internal,
+                            org.apache.servicemix.nmr.core,
+                            org.apache.servicemix.nmr.osgi,
+                            *
+                        </Import-Package>
+                        <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/nmr/pom.xml b/nmr/pom.xml
index 485020a..46e7ba9 100644
--- a/nmr/pom.xml
+++ b/nmr/pom.xml
@@ -1,45 +1,43 @@
-<?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.nmr</groupId>

-        <artifactId>nmr-parent</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.nmr</groupId>

-    <artifactId>nmr</artifactId>

-    <packaging>pom</packaging>

-    <name>ServiceMix NMR</name>

-

-    <modules>

-        <module>api</module>

-        <module>core</module>

-        <module>spring</module>

-        <module>osgi</module>

-        <module>commands</module>

-        <module>management</module>

-    </modules>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr-parent</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.nmr</groupId>
+    <artifactId>nmr</artifactId>
+    <packaging>pom</packaging>
+    <name>ServiceMix NMR</name>
+
+    <modules>
+        <module>api</module>
+        <module>core</module>
+        <module>spring</module>
+        <module>osgi</module>
+        <module>commands</module>
+        <module>management</module>
+    </modules>
+
+</project>
\ No newline at end of file
diff --git a/nmr/spring/pom.xml b/nmr/spring/pom.xml
index e8d256b..052d3fe 100644
--- a/nmr/spring/pom.xml
+++ b/nmr/spring/pom.xml
@@ -1,83 +1,81 @@
-<?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.nmr</groupId>

-        <artifactId>nmr</artifactId>

-        <version>1.0-m1-SNAPSHOT</version>

-    </parent>

-

-    <groupId>org.apache.servicemix.nmr</groupId>

-    <artifactId>org.apache.servicemix.nmr.spring</artifactId>

-    <packaging>bundle</packaging>

-    <name>ServiceMix NMR Spring</name>

-

-    <dependencies>

-        <dependency>

-            <groupId>org.apache.servicemix.nmr</groupId>

-            <artifactId>org.apache.servicemix.nmr.api</artifactId>

-            <version>${project.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.springframework.osgi</groupId>

-            <artifactId>spring-osgi-core</artifactId>

-            <version>${spring.osgi.version}</version>

-        </dependency>

-        <dependency>

-            <groupId>org.apache.felix</groupId>

-            <artifactId>org.osgi.core</artifactId>

-            <version>${felix.osgi.version}</version>

-            <scope>provided</scope>

-        </dependency>

-        <dependency>

-            <groupId>junit</groupId>

-            <artifactId>junit</artifactId>

-            <version>${junit.version}</version>

-            <scope>test</scope>

-        </dependency>

-        <dependency>

-            <groupId>commons-logging</groupId>

-            <artifactId>commons-logging</artifactId>

-            <version>${commons.logging.version}</version>

-            <scope>test</scope>

-        </dependency>

-    </dependencies>

-

-    <build>

-        <plugins>

-            <plugin>

-                <groupId>org.apache.felix</groupId>

-                <artifactId>maven-bundle-plugin</artifactId>

-                <configuration>

-                    <instructions>

-                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>

-                        <Export-Package>${pom.artifactId}</Export-Package>

-                        <DynamicImport-Package>*</DynamicImport-Package>

-                    </instructions>

-                </configuration>

-            </plugin>

-        </plugins>

-    </build>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <!--
+
+        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.nmr</groupId>
+        <artifactId>nmr</artifactId>
+        <version>1.0-m1</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.nmr</groupId>
+    <artifactId>org.apache.servicemix.nmr.spring</artifactId>
+    <packaging>bundle</packaging>
+    <name>ServiceMix NMR Spring</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.nmr</groupId>
+            <artifactId>org.apache.servicemix.nmr.api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.osgi</groupId>
+            <artifactId>spring-osgi-core</artifactId>
+            <version>${spring.osgi.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>${felix.osgi.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>${junit.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>${commons.logging.version}</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>${pom.artifactId}</Export-Package>
+                        <DynamicImport-Package>*</DynamicImport-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 3fc0a35..c3e5321 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,451 +1,453 @@
-<?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</groupId>

-    <artifactId>apache</artifactId>

-    <version>4</version>

-  </parent>

-

-  <groupId>org.apache.servicemix.nmr</groupId>

-  <artifactId>nmr-parent</artifactId>

-  <packaging>pom</packaging>

-  <version>1.0-m1-SNAPSHOT</version>

-  <name>Apache ServiceMix NMR</name>

-

-  <modules>

-      <module>bundles</module>

-      <module>nmr</module>

-      <module>jbi</module>

-      <module>bundle</module>

-      <module>assembly</module>

-  </modules>

-

-  <scm>

-      <connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk</connection>

-      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk</developerConnection>

-      <url>http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/</url>

-  </scm>

-

-  <issueManagement>

-      <system>jira</system>

-      <url>http://issues.apache.org/activemq/browse/SM</url>

-  </issueManagement>

-

-  <prerequisites>

-      <maven>2.0.8</maven>

-  </prerequisites>

-

-  <properties>

-      <ant.version>1.7.0</ant.version>

-      <aopalliance.version>1.0</aopalliance.version>

-      <asm.version>2.2.3</asm.version>

-      <cglib.version>2.1_3</cglib.version>

-      <camel.version>1.2.0</camel.version>

-      <commons.io.version>1.3.2</commons.io.version>

-      <commons.logging.version>1.1.1</commons.logging.version>

-      <felix.configadmin.version>1.0.0</felix.configadmin.version>

-      <felix.main.version>1.0.3</felix.main.version>

-      <felix.plugin.version>1.4.0</felix.plugin.version>

-      <felix.framework.version>1.1.0-r631613</felix.framework.version>

-      <felix.osgi.version>1.0.0</felix.osgi.version>

-      <felix.compendium.version>1.0.0</felix.compendium.version>

-      <felix.bundlerepository.version>1.0.2</felix.bundlerepository.version>

-      <felix.prefs.version>1.0.2</felix.prefs.version>

-      <geronimo.activation.version>1.0.2</geronimo.activation.version>

-      <geronimo.servlet.version>1.1.2</geronimo.servlet.version>

-      <geronimo.stax.version>1.0.1</geronimo.stax.version>

-      <gshell.version>1.0-alpha-1</gshell.version>

-      <junit.version>4.4</junit.version>

-      <jline.version>0.9.93</jline.version>

-      <log4j.version>1.2.14</log4j.version>

-      <mina.version>1.1.6</mina.version>

-      <pax.logging.version>1.0</pax.logging.version>

-      <smx3.version>3.2.1</smx3.version>

-      <smx.kernel.version>1.0-m2</smx.kernel.version>

-      <spring.osgi.version>1.0</spring.osgi.version>

-      <spring.version>2.5.1</spring.version>

-      <woodstox.version>3.2.3</woodstox.version>

-      <xbean.version>3.3.1-r631610</xbean.version>

-      <xstream.version>1.2.2</xstream.version>

-  </properties>

-

-   <repositories>

-       <!-- Default repository -->

-       <repository>

-           <id>central</id>

-           <name>Default maven repo</name>

-           <url>http://repo1.maven.org/maven2</url>

-       </repository>

-       <!-- ServiceMix repo -->

-       <repository>

-           <id>servicemix</id>

-           <name>ServiceMix Repository</name>

-           <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>

-       </repository>

-       <!-- Apache snapshot -->

-       <repository>

-           <id>apache-snapshots</id>

-           <name>Apache Snapshot repository</name>

-           <url>http://people.apache.org/repo/m2-snapshot-repository</url>

-           <releases>

-               <enabled>false</enabled>

-           </releases>

-           <snapshots>

-               <enabled>true</enabled>

-           </snapshots>

-       </repository>

-   </repositories>

-

-  <pluginRepositories>

-      <!-- Apache snapshot -->

-      <pluginRepository>

-          <id>apache-snapshots</id>

-          <name>Apache Snapshot repository</name>

-          <url>http://people.apache.org/repo/m2-snapshot-repository</url>

-          <releases>

-              <enabled>false</enabled>

-          </releases>

-          <snapshots>

-              <enabled>true</enabled>

-          </snapshots>

-      </pluginRepository>

-  </pluginRepositories>

-

-  <dependencyManagement>

-    <dependencies>

-      <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-core</artifactId>

-          <version>${spring.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>org.springframework</groupId>

-          <artifactId>spring-context</artifactId>

-          <version>${spring.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>org.springframework.osgi</groupId>

-          <artifactId>spring-osgi-test</artifactId>

-          <version>${spring.osgi.version}</version>

-          <exclusions>

-              <exclusion>

-                  <groupId>org.springframework.osgi</groupId>

-                  <artifactId>asm.osgi</artifactId>

-              </exclusion>

-          </exclusions>

-      </dependency>

-      <dependency>

-          <groupId>org.apache.mina</groupId>

-          <artifactId>mina-core</artifactId>

-          <version>${mina.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>org.apache.mina</groupId>

-          <artifactId>mina-filter-ssl</artifactId>

-          <version>${mina.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>junit</groupId>

-          <artifactId>junit</artifactId>

-          <version>${junit.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>log4j</groupId>

-          <artifactId>log4j</artifactId>

-          <version>${log4j.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>jline</groupId>

-          <artifactId>jline</artifactId>

-          <version>${jline.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>commons-logging</groupId>

-          <artifactId>commons-logging</artifactId>

-          <version>${commons.logging.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>org.apache.geronimo.specs</groupId>

-          <artifactId>geronimo-servlet_2.5_spec</artifactId>

-          <version>${geronimo.servlet.version}</version>

-      </dependency>

-      <dependency>

-          <groupId>org.apache.geronimo.specs</groupId>

-          <artifactId>geronimo-stax-api_1.0_spec</artifactId>

-          <version>${geronimo.stax.version}</version>

-      </dependency>

-    </dependencies>

-  </dependencyManagement>

-

-  <build>

-      <defaultGoal>install</defaultGoal>

-

-      <pluginManagement>

-          <plugins>

-            <plugin>

-                <groupId>org.apache.maven.plugins</groupId>

-                <artifactId>maven-release-plugin</artifactId>

-                <configuration>

-                    <tagBase>https://svn.apache.org/repos/asf/servicemix/smx4/nmr/tags</tagBase>

-                    <useReleaseProfile>false</useReleaseProfile>

-                    <preparationGoals>clean install</preparationGoals>

-                    <goals>deploy</goals>

-                    <arguments>-Prelease,deploy</arguments>

-                    <autoVersionSubmodules>true</autoVersionSubmodules>

-                </configuration>

-            </plugin>

-            <plugin>

-              <groupId>org.apache.maven.plugins</groupId>

-              <artifactId>maven-eclipse-plugin</artifactId>

-              <version>2.4</version>

-              <configuration>

-                <outputDirectory>${basedir}/eclipse-classes</outputDirectory>

-                <downloadSources>true</downloadSources>

-                <downloadJavadocs>true</downloadJavadocs>

-              </configuration>

-            </plugin>              

-              <plugin>

-                  <groupId>org.apache.felix</groupId>

-                  <artifactId>maven-bundle-plugin</artifactId>

-                  <version>${felix.plugin.version}</version>

-                  <extensions>true</extensions>

-              </plugin>

-              <plugin>

-                  <groupId>org.apache.maven.plugins</groupId>

-                  <artifactId>maven-compiler-plugin</artifactId>

-                  <version>2.0.2</version>

-                  <configuration>

-                      <source>1.5</source>

-                      <target>1.5</target>

-                      <maxmem>256M</maxmem>

-                      <fork>${compiler.fork}</fork>

-                  </configuration>

-              </plugin>

-              <plugin>

-                  <groupId>org.apache.maven.plugins</groupId>

-                  <artifactId>maven-idea-plugin</artifactId>

-                  <version>2.1</version>

-                  <configuration>

-                      <downloadSources>true</downloadSources>

-                      <downloadJavadocs>true</downloadJavadocs>

-                  </configuration>

-              </plugin>

-              <plugin>

-                  <groupId>org.apache.maven.plugins</groupId>

-                  <artifactId>maven-surefire-plugin</artifactId>

-                  <version>2.4.2</version>

-              </plugin>

-          </plugins>

-      </pluginManagement>

-      <plugins>

-          <plugin>

-              <artifactId>maven-remote-resources-plugin</artifactId>

-              <version>1.0-beta-2</version>

-              <executions>

-                  <execution>

-                      <goals>

-                          <goal>process</goal>

-                      </goals>

-                      <configuration>

-                          <resourceBundles>

-                              <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>

-                          </resourceBundles>

-                          <properties>

-                              <addLicense>true</addLicense>

-                              <projectName>Apache ServiceMix</projectName>

-                          </properties>

-                      </configuration>

-                  </execution>

-              </executions>

-          </plugin>

-      </plugins>

-  </build>

-

-  <reporting>

-      <plugins>

-          <plugin>

-              <groupId>org.apache.maven.plugins</groupId>

-              <artifactId>maven-javadoc-plugin</artifactId>

-              <version>2.3</version>

-          </plugin>

-          <plugin>

-              <groupId>org.apache.maven.plugins</groupId>

-              <artifactId>maven-jxr-plugin</artifactId>

-              <version>2.0</version>

-          </plugin>

-          <plugin>

-              <groupId>org.codehaus.mojo</groupId>

-              <artifactId>cobertura-maven-plugin</artifactId>

-              <version>2.2</version>

-          </plugin>

-      </plugins>

-  </reporting>

-

-  <profiles>

-      <profile>

-          <id>fastinstall</id>

-          <properties>

-              <maven.test.skip>true</maven.test.skip>

-          </properties>

-      </profile>

-      <profile>

-          <id>rat</id>

-          <build>

-              <plugins>

-                  <plugin>

-                      <groupId>org.codehaus.mojo</groupId>

-                      <artifactId>rat-maven-plugin</artifactId>

-                      <version>1.0-alpha-3</version>

-                      <executions>

-                          <execution>

-                              <phase>verify</phase>

-                              <goals>

-                                  <goal>check</goal>

-                              </goals>

-                          </execution>

-                      </executions>

-                      <configuration>

-                          <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>

-                          <excludes>

-                              <exclude>**/target/**/*</exclude>

-                              <!-- IDEA files -->

-                              <exclude>**/*.iml</exclude>

-                              <exclude>**/*.ipr</exclude>

-                              <exclude>**/*.iws</exclude>

-                              <!-- Eclipse files -->

-                              <exclude>**/.*</exclude>

-                              <exclude>**/eclipse-classes/**/*</exclude>

-                          </excludes>

-                      </configuration>

-                  </plugin>

-              </plugins>

-          </build>

-      </profile>

-      <profile>

-          <id>release</id>

-          <build>

-              <plugins>

-                  <!-- We want to deploy the artifact to a staging location for perusal -->

-                  <plugin>

-                      <inherited>true</inherited>

-                      <artifactId>maven-deploy-plugin</artifactId>

-                      <version>2.3</version>

-                      <configuration>

-                          <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>

-                          <updateReleaseInfo>true</updateReleaseInfo>

-                      </configuration>

-                  </plugin>

-                  <!-- We want to sign the artifact, the POM, and all attached artifacts -->

-                  <plugin>

-                      <artifactId>maven-gpg-plugin</artifactId>

-                      <version>1.0-alpha-4</version>

-                      <executions>

-                          <execution>

-                              <goals>

-                                  <goal>sign</goal>

-                              </goals>

-                          </execution>

-                      </executions>

-                  </plugin>

-              </plugins>

-          </build>

-      </profile>

-      <profile>

-          <id>setup.eclipse</id>

-          <modules>

-              <module>assembly</module>

-          </modules>

-          <properties>

-              <eclipse.workspace.dir>${basedir}/../workspace</eclipse.workspace.dir>

-          </properties>

-          <build>

-              <defaultGoal>eclipse:eclipse</defaultGoal>

-              <plugins>

-                  <plugin>

-                      <groupId>org.apache.maven.plugins</groupId>

-                      <artifactId>maven-eclipse-plugin</artifactId>

-                      <inherited>false</inherited>

-                      <executions>

-                          <execution>

-                              <id>setup.eclipse.workspace</id>

-                              <phase>process-test-sources</phase>

-                              <goals>

-                                  <goal>add-maven-repo</goal>

-                              </goals>

-                              <configuration>

-                                  <workspace>${eclipse.workspace.dir}</workspace>

-                              </configuration>

-                          </execution>

-                      </executions>

-                  </plugin>

-              </plugins>

-          </build>

-      </profile>

-      <profile>

-          <id>deploy</id>

-          <build>

-              <defaultGoal>deploy</defaultGoal>

-              <plugins>

-                  <plugin>

-                      <groupId>org.apache.maven.plugins</groupId>

-                      <artifactId>maven-source-plugin</artifactId>

-                      <version>2.0.4</version>

-                      <executions>

-                          <execution>

-                              <id>attach-sources</id>

-                              <goals>

-                                  <goal>jar</goal>

-                              </goals>

-                          </execution>

-                      </executions>

-                  </plugin>

-                  <plugin>

-                      <groupId>org.apache.maven.plugins</groupId>

-                      <artifactId>maven-javadoc-plugin</artifactId>

-                      <executions>

-                          <execution>

-                              <id>attach-javadocs</id>

-                              <goals>

-                                  <goal>jar</goal>

-                              </goals>

-                          </execution>

-                      </executions>

-                  </plugin>

-              </plugins>

-          </build>

-      </profile>

-  </profiles>

-

-</project>

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+  <!--
+
+      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</groupId>
+    <artifactId>apache</artifactId>
+    <version>4</version>
+  </parent>
+
+  <groupId>org.apache.servicemix.nmr</groupId>
+  <artifactId>nmr-parent</artifactId>
+  <packaging>pom</packaging>
+  <version>1.0-m1</version>
+  <name>Apache ServiceMix NMR</name>
+
+  <modules>
+      <module>bundles</module>
+      <module>nmr</module>
+      <module>jbi</module>
+      <module>bundle</module>
+      <module>assembly</module>
+  </modules>
+
+  <scm>
+      <connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/smx4/nmr/tags/nmr-1.0-m1</connection>
+      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/servicemix/smx4/nmr/tags/nmr-1.0-m1</developerConnection>
+      <url>http://svn.apache.org/viewvc/servicemix/smx4/nmr/tags/nmr-1.0-m1</url>
+  </scm>
+
+  <issueManagement>
+      <system>jira</system>
+      <url>http://issues.apache.org/activemq/browse/SM</url>
+  </issueManagement>
+
+  <prerequisites>
+      <maven>2.0.8</maven>
+  </prerequisites>
+
+  <properties>
+      <ant.version>1.7.0</ant.version>
+      <aopalliance.version>1.0</aopalliance.version>
+      <asm.version>2.2.3</asm.version>
+      <cglib.version>2.1_3</cglib.version>
+      <camel.version>1.2.0</camel.version>
+      <commons.io.version>1.3.2</commons.io.version>
+      <commons.logging.version>1.1.1</commons.logging.version>
+      <felix.configadmin.version>1.0.0</felix.configadmin.version>
+      <felix.main.version>1.0.3</felix.main.version>
+      <felix.plugin.version>1.4.0</felix.plugin.version>
+      <felix.framework.version>1.1.0-r631613</felix.framework.version>
+      <felix.osgi.version>1.0.0</felix.osgi.version>
+      <felix.compendium.version>1.0.0</felix.compendium.version>
+      <felix.bundlerepository.version>1.0.2</felix.bundlerepository.version>
+      <felix.prefs.version>1.0.2</felix.prefs.version>
+      <geronimo.activation.version>1.0.2</geronimo.activation.version>
+      <geronimo.javamail.version>1.2</geronimo.javamail.version>
+      <geronimo.jta.version>1.1.1</geronimo.jta.version>
+      <geronimo.servlet.version>1.1.2</geronimo.servlet.version>
+      <geronimo.stax.version>1.0.1</geronimo.stax.version>
+      <gshell.version>1.0-alpha-1</gshell.version>
+      <junit.version>4.4</junit.version>
+      <jline.version>0.9.93</jline.version>
+      <log4j.version>1.2.14</log4j.version>
+      <mina.version>1.1.6</mina.version>
+      <pax.logging.version>1.0</pax.logging.version>
+      <smx3.version>3.2.1</smx3.version>
+      <smx.kernel.version>1.0-m2</smx.kernel.version>
+      <spring.osgi.version>1.0</spring.osgi.version>
+      <spring.version>2.5.1</spring.version>
+      <woodstox.version>3.2.3</woodstox.version>
+      <xbean.version>3.3.1-r631610</xbean.version>
+      <xstream.version>1.2.2</xstream.version>
+  </properties>
+
+   <repositories>
+       <!-- Default repository -->
+       <repository>
+           <id>central</id>
+           <name>Default maven repo</name>
+           <url>http://repo1.maven.org/maven2</url>
+       </repository>
+       <!-- ServiceMix repo -->
+       <repository>
+           <id>servicemix</id>
+           <name>ServiceMix Repository</name>
+           <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
+       </repository>
+       <!-- Apache snapshot -->
+       <repository>
+           <id>apache-snapshots</id>
+           <name>Apache Snapshot repository</name>
+           <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+           <releases>
+               <enabled>false</enabled>
+           </releases>
+           <snapshots>
+               <enabled>true</enabled>
+           </snapshots>
+       </repository>
+   </repositories>
+
+  <pluginRepositories>
+      <!-- Apache snapshot -->
+      <pluginRepository>
+          <id>apache-snapshots</id>
+          <name>Apache Snapshot repository</name>
+          <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+          <releases>
+              <enabled>false</enabled>
+          </releases>
+          <snapshots>
+              <enabled>true</enabled>
+          </snapshots>
+      </pluginRepository>
+  </pluginRepositories>
+
+  <dependencyManagement>
+    <dependencies>
+      <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-core</artifactId>
+          <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.springframework</groupId>
+          <artifactId>spring-context</artifactId>
+          <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.springframework.osgi</groupId>
+          <artifactId>spring-osgi-test</artifactId>
+          <version>${spring.osgi.version}</version>
+          <exclusions>
+              <exclusion>
+                  <groupId>org.springframework.osgi</groupId>
+                  <artifactId>asm.osgi</artifactId>
+              </exclusion>
+          </exclusions>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.mina</groupId>
+          <artifactId>mina-core</artifactId>
+          <version>${mina.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.mina</groupId>
+          <artifactId>mina-filter-ssl</artifactId>
+          <version>${mina.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>junit</groupId>
+          <artifactId>junit</artifactId>
+          <version>${junit.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>log4j</groupId>
+          <artifactId>log4j</artifactId>
+          <version>${log4j.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>jline</groupId>
+          <artifactId>jline</artifactId>
+          <version>${jline.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+          <version>${commons.logging.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.geronimo.specs</groupId>
+          <artifactId>geronimo-servlet_2.5_spec</artifactId>
+          <version>${geronimo.servlet.version}</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.geronimo.specs</groupId>
+          <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+          <version>${geronimo.stax.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <build>
+      <defaultGoal>install</defaultGoal>
+
+      <pluginManagement>
+          <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+                <configuration>
+                    <tagBase>https://svn.apache.org/repos/asf/servicemix/smx4/nmr/tags</tagBase>
+                    <useReleaseProfile>false</useReleaseProfile>
+                    <preparationGoals>clean install</preparationGoals>
+                    <goals>deploy</goals>
+                    <arguments>-Prelease,deploy</arguments>
+                    <autoVersionSubmodules>true</autoVersionSubmodules>
+                </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-eclipse-plugin</artifactId>
+              <version>2.4</version>
+              <configuration>
+                <outputDirectory>${basedir}/eclipse-classes</outputDirectory>
+                <downloadSources>true</downloadSources>
+                <downloadJavadocs>true</downloadJavadocs>
+              </configuration>
+            </plugin>              
+              <plugin>
+                  <groupId>org.apache.felix</groupId>
+                  <artifactId>maven-bundle-plugin</artifactId>
+                  <version>${felix.plugin.version}</version>
+                  <extensions>true</extensions>
+              </plugin>
+              <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-compiler-plugin</artifactId>
+                  <version>2.0.2</version>
+                  <configuration>
+                      <source>1.5</source>
+                      <target>1.5</target>
+                      <maxmem>256M</maxmem>
+                      <fork>${compiler.fork}</fork>
+                  </configuration>
+              </plugin>
+              <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-idea-plugin</artifactId>
+                  <version>2.1</version>
+                  <configuration>
+                      <downloadSources>true</downloadSources>
+                      <downloadJavadocs>true</downloadJavadocs>
+                  </configuration>
+              </plugin>
+              <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-surefire-plugin</artifactId>
+                  <version>2.4.2</version>
+                  <configuration>
+                      <failIfNoTests>false</failIfNoTests>
+                  </configuration>
+              </plugin>
+          </plugins>
+      </pluginManagement>
+      <plugins>
+          <plugin>
+              <artifactId>maven-remote-resources-plugin</artifactId>
+              <version>1.0-beta-2</version>
+              <executions>
+                  <execution>
+                      <goals>
+                          <goal>process</goal>
+                      </goals>
+                      <configuration>
+                          <resourceBundles>
+                              <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
+                          </resourceBundles>
+                          <properties>
+                              <addLicense>true</addLicense>
+                              <projectName>Apache ServiceMix</projectName>
+                          </properties>
+                      </configuration>
+                  </execution>
+              </executions>
+          </plugin>
+      </plugins>
+  </build>
+
+  <reporting>
+      <plugins>
+          <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-javadoc-plugin</artifactId>
+              <version>2.3</version>
+          </plugin>
+          <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-jxr-plugin</artifactId>
+              <version>2.0</version>
+          </plugin>
+          <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>cobertura-maven-plugin</artifactId>
+              <version>2.2</version>
+          </plugin>
+      </plugins>
+  </reporting>
+
+  <profiles>
+      <profile>
+          <id>fastinstall</id>
+          <properties>
+              <maven.test.skip>true</maven.test.skip>
+          </properties>
+      </profile>
+      <profile>
+          <id>rat</id>
+          <build>
+              <plugins>
+                  <plugin>
+                      <groupId>org.codehaus.mojo</groupId>
+                      <artifactId>rat-maven-plugin</artifactId>
+                      <version>1.0-alpha-3</version>
+                      <executions>
+                          <execution>
+                              <phase>verify</phase>
+                              <goals>
+                                  <goal>check</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                      <configuration>
+                          <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
+                          <excludes>
+                              <exclude>**/target/**/*</exclude>
+                              <!-- IDEA files -->
+                              <exclude>**/*.iml</exclude>
+                              <exclude>**/*.ipr</exclude>
+                              <exclude>**/*.iws</exclude>
+                              <!-- Eclipse files -->
+                              <exclude>**/.*</exclude>
+                              <exclude>**/eclipse-classes/**/*</exclude>
+                          </excludes>
+                      </configuration>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+      <profile>
+          <id>release</id>
+          <build>
+              <plugins>
+                  <!-- We want to deploy the artifact to a staging location for perusal -->
+                  <plugin>
+                      <inherited>true</inherited>
+                      <artifactId>maven-deploy-plugin</artifactId>
+                      <version>2.3</version>
+                      <configuration>
+                          <updateReleaseInfo>true</updateReleaseInfo>
+                      </configuration>
+                  </plugin>
+                  <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+                  <plugin>
+                      <artifactId>maven-gpg-plugin</artifactId>
+                      <version>1.0-alpha-4</version>
+                      <executions>
+                          <execution>
+                              <goals>
+                                  <goal>sign</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+      <profile>
+          <id>setup.eclipse</id>
+          <modules>
+              <module>assembly</module>
+          </modules>
+          <properties>
+              <eclipse.workspace.dir>${basedir}/../workspace</eclipse.workspace.dir>
+          </properties>
+          <build>
+              <defaultGoal>eclipse:eclipse</defaultGoal>
+              <plugins>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-eclipse-plugin</artifactId>
+                      <inherited>false</inherited>
+                      <executions>
+                          <execution>
+                              <id>setup.eclipse.workspace</id>
+                              <phase>process-test-sources</phase>
+                              <goals>
+                                  <goal>add-maven-repo</goal>
+                              </goals>
+                              <configuration>
+                                  <workspace>${eclipse.workspace.dir}</workspace>
+                              </configuration>
+                          </execution>
+                      </executions>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+      <profile>
+          <id>deploy</id>
+          <build>
+              <defaultGoal>deploy</defaultGoal>
+              <plugins>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-source-plugin</artifactId>
+                      <version>2.0.4</version>
+                      <executions>
+                          <execution>
+                              <id>attach-sources</id>
+                              <goals>
+                                  <goal>jar</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                  </plugin>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-javadoc-plugin</artifactId>
+                      <executions>
+                          <execution>
+                              <id>attach-javadocs</id>
+                              <goals>
+                                  <goal>jar</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+  </profiles>
+
+</project>
\ No newline at end of file