https://issues.apache.org/bugzilla/show_bug.cgi?id=52381

--- Comment #9 from pan4o <ssku4...@web.de> 2012-03-21 06:18:23 UTC ---
Very important for each bundle are the imports and exports sections in the
MANIFEST file. We do this so:

<plugin>
    <groupId>org.apache.felix</groupId>
    <artifactId>maven-bundle-plugin</artifactId>
    <version>2.3.4</version>
    <extensions>true</extensions>
    <configuration>
        <instructions>
        <Require-Bundle />
        <Export-Package>our.package;version="${pom.version}"
                </Export-Package>
       
<Import-Package>!our.package,org.springframework.aop;version="${spring.version}",org.springframework.aop.framework;version="${spring.version}",org.aopalliance.aop,
*               </Import-Package>
       
<Embed-Dependency>*;artifactId=postgresql,*;artifactId=tomcat-jdbc</Embed-Dependency>
    </instructions>
    </configuration>
</plugin>

Embed-Dependency because postgresql and tomcat-jdbs are not correct bundles.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to