title: pom.xml third party import issue
body: <p>I am using ServiceMix 4, and am trying to modify the cxf-jaxrs demo. The following is my pom.xml</p>
  
  <p>
  http://maven.apache.org/maven-v4_0_0.xsd"></p>
  
  <pre><code>&lt;!--
  
      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.
  --&gt;
  
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;parent&gt;
      &lt;groupId&gt;org.apache.servicemix.examples&lt;/groupId&gt;
      &lt;artifactId&gt;examples&lt;/artifactId&gt;
      &lt;version&gt;4.2.0&lt;/version&gt;
  &lt;/parent&gt;
  &lt;groupId&gt;com.demo&lt;/groupId&gt;
  &lt;artifactId&gt;calendar-service&lt;/artifactId&gt;
  &lt;packaging&gt;bundle&lt;/packaging&gt;
  &lt;name&gt;Calendar Api Demo :: CXF JAX-RS OSGI&lt;/name&gt;
  &lt;repositories&gt;
  &lt;repository&gt;
      &lt;id&gt;mandubian-mvn&lt;/id&gt;
      &lt;url&gt;http://mandubian-mvn.googlecode.com/svn/trunk/mandubian-mvn/repository&lt;/url&gt;
  &lt;/repository&gt;
  &lt;/repositories&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.collections&lt;/groupId&gt;
          &lt;artifactId&gt;google-collections&lt;/artifactId&gt;
          &lt;version&gt;1.0-rc5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;net.sourceforge.findbugs&lt;/groupId&gt;
          &lt;artifactId&gt;jsr305&lt;/artifactId&gt;
          &lt;version&gt;1.3.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.gdata&lt;/groupId&gt;
          &lt;artifactId&gt;gdata-client-1.0&lt;/artifactId&gt;
          &lt;version&gt;1.41.5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.gdata&lt;/groupId&gt;
          &lt;artifactId&gt;gdata-calendar-2.0&lt;/artifactId&gt;
          &lt;version&gt;1.41.5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.gdata&lt;/groupId&gt;
          &lt;artifactId&gt;gdata-core-1.0&lt;/artifactId&gt;
          &lt;version&gt;1.41.5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.gdata&lt;/groupId&gt;
          &lt;artifactId&gt;gdata-base-1.0&lt;/artifactId&gt;
          &lt;version&gt;1.41.5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.servicemix.specs&lt;/groupId&gt;
          &lt;artifactId&gt;org.apache.servicemix.specs.jsr311-api-1.0&lt;/artifactId&gt;
          &lt;version&gt;1.3.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.servicemix.specs&lt;/groupId&gt;
          &lt;artifactId&gt;org.apache.servicemix.specs.jaxb-api-${jaxb.api.version}&lt;/artifactId&gt;
          &lt;version&gt;${servicemix.specs.version}&lt;/version&gt;
      &lt;/dependency&gt;
     &lt;dependency&gt;
          &lt;groupId&gt;org.apache.servicemix.bundles&lt;/groupId&gt;
          &lt;artifactId&gt;org.apache.servicemix.bundles.commons-httpclient&lt;/artifactId&gt;
          &lt;version&gt;${commons-httpclient.version}&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
              &lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
              &lt;extensions&gt;true&lt;/extensions&gt;
              &lt;configuration&gt;
                  &lt;instructions&gt;
                      &lt;Bundle-SymbolicName&gt;${pom.artifactId}&lt;/Bundle-SymbolicName&gt;
                      &lt;Import-Package&gt;
                              javax.wsdl,
                              javax.xml.bind,
                              javax.xml.bind.annotation,
                              javax.ws.rs,
                              META-INF.cxf,
                              META-INF.cxf.osgi,
                              org.apache.cxf.bus,
                              org.apache.cxf.bus.spring,
                              org.apache.cxf.bus.resource,
                              org.apache.cxf.resource,
                              org.apache.cxf.configuration.spring,
                              org.apache.cxf.binding,
                              org.apache.cxf.jaxrs.utils,
                              org.apache.cxf.transport.http_osgi,
                              org.springframework.beans.factory.config,
                              org.apache.commons.httpclient, 
                              org.apache.commons.httpclient.methods,
                              com.google.gdata.client.calendar;resolution:=optional,
                              com.google.gdata.data;resolution:=optional,
                              com.google.gdata.data.calendar;resolution:=optional,
                              com.google.gdata.data.extensions;resolution:=optional,
                              com.google.gdata.util;resolution:=optional
                      &lt;/Import-Package&gt;
                      &lt;Require-Bundle&gt;org.apache.cxf.bundle&lt;/Require-Bundle&gt;
                      &lt;Export-Package&gt;com.demo.*;&lt;/Export-Package&gt;
                      &lt;DynamicImport-Package&gt;javax.ws.rs.*&lt;/DynamicImport-Package&gt;
                   &lt;/instructions&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;mainClass&gt;edu.berkeley.api.client.Client&lt;/mainClass&gt;
                  &lt;includePluginDependencies&gt;false&lt;/includePluginDependencies&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>
  
  <p>Maven builds successfully, but when I try to deploy it on servicemix, I get:</p>
  
  <p>Caused by: java.lang.ClassNotFoundException: com.google.gdata.data.calendar.CalendarEntry
      at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
      at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
      at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      ... 42 more</p>
  
  <p>Am I missing a step? Any insight is appreciated.</p>