SukitZhang / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

OSGi manifest entries are missing #237

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a bundle with classes requiring vt-password classes
2. deploy bundle and vt-password jar in an OSGi container
3. bundle remains in 'unresolved' state because vt packages aren't exported

What is the expected output? What do you see instead?

I'd like to see bundle specific manifest entries, at least the very basic ones.

What version of the product are you using? On what operating system?

3.1.2

Please provide any additional information below.

This issue is quite easy to solve, just add the maven-bundle-plugin to your 
project and set the packaging to bundle:

<packaging>bundle</packaging>

...

<plugin>
    <groupId>org.apache.felix</groupId>
    <artifactId>maven-bundle-plugin</artifactId>
    <version>2.5.3</version>
    <extensions>true</extensions>
</plugin>

It's also possible to create the manifest without changing the packaging type. 
It's described here: http://wiki.osgi.org/wiki/Maven_Bundle_Plugin

Original issue reported on code.google.com by commande...@gmail.com on 17 Mar 2015 at 1:35

GoogleCodeExporter commented 8 years ago
vt-password has moved out of incubation and can now be found here: 
www.passay.org

Moved this issue here:
https://github.com/vt-middleware/passay/issues/24

Original comment by dfis...@gmail.com on 18 Mar 2015 at 6:16