tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52381] Please add OSGi metadata
Date Wed, 21 Mar 2012 06:18:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52381

--- Comment #9 from pan4o <ssku4eto@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message