[ 
https://issues.apache.org/jira/browse/CAMEL-3435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Charles Moulliard reassigned CAMEL-3435:
----------------------------------------

    Assignee: Willem Jiang

> Bad import-package reference added in project (org.apache.camel.core.osgi 
> instead of org.apache.camel.osgi)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3435
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3435
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Charles Moulliard
>            Assignee: Willem Jiang
>
> Hi,
> I have created a Camel OSGI Servlet as a Servlet activator and when the osgi 
> dependencies are calculated then, a  bad package is added in the header of 
> the bundle :  org.apache.camel.core.osgi instead of org.apache.camel.osgi
> {code}
>                 <groupId>org.apache.felix</groupId>
>                 <artifactId>maven-bundle-plugin</artifactId>
>                 <extensions>true</extensions>
>                 <configuration>
>                     <instructions>
>                         
> <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
>                         
> <Bundle-Activator>org.apache.camel.osgi.ServletActivator</Bundle-Activator>
>                         <Import-Package>*
>                         </Import-Package>
>                         
> <Private-Package>org.apache.camel.osgi</Private-Package>
>                     </instructions>
>                 </configuration>
> {code}
> GENERATED
> {code}
> CAMEL :: OSGI :: Servlet (96)
> -----------------------------
> Manifest-Version = 1.0
> Bnd-LastModified = 1292482613881
> Tool = Bnd-0.0.357
> Built-By = charlesmoulliard
> Build-Jdk = 1.6.0_22
> Created-By = Apache Maven Bundle Plugin
> Bundle-Activator = org.apache.camel.osgi.ServletActivator
> Bundle-Name = CAMEL :: OSGI :: Servlet
> Bundle-SymbolicName = osgi-servlet
> Bundle-Version = 1.0.0
> Bundle-ManifestVersion = 2
> Import-Package = 
>       javax.servlet,
>       javax.xml.bind.annotation,
>       org.apache.camel;version=2.5,
>       org.apache.camel.component.servlet;version=2.5,
>       org.apache.camel.core.osgi,
>       org.apache.camel.impl;version=2.5,
>       org.apache.camel.model;version=2.5,
>       org.apache.camel.model.config;version=2.5,
>       org.apache.camel.model.dataformat;version=2.5,
>       org.apache.camel.model.language;version=2.5,
>       org.apache.camel.model.loadbalancer;version=2.5,
>       org.apache.camel.osgi;version=2.5,
>       org.apache.camel.spi;version=2.5,
>       org.apache.camel.spring;version=2.5,
>       org.apache.camel.spring.handler;version=2.5,
>       org.apache.commons.logging,
>       org.osgi.framework;version=1.3,
>       org.osgi.service.http;version=1.2,
>       org.springframework.beans.factory.xml;version=3.0,
>       org.springframework.context;version=3.0,
>       org.springframework.osgi.context;version=1.2
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to