On 20.12.10 16:38, "Pierre Henry Perret" <[email protected]> wrote:

>Hello,
>
>I have a maven project that uses maven bundle plugin - to write meta data,
>and which incidentally  uses org.apache.felix.log service.
>
>When I build with packaging type = 'bundle'  - install - maven complains
>'unresolved reference to org.osgi.service.log'
>when I build with the packaging type 'jar' the build succeeds.

Well, by default the packaging jar do NOT use the maven-bundle-plugin.
The packaging 'bundle' uses the maven-bundle-plugin (it defines this type
of packaging).

So to fix your issue, I will recommend to not depend on the specific
implementation and just rely on org.osgi.service.log.
If you really need to depend on this implementation, you must add to your
pom file a (maven) dependency on the felix log service.

Regards,

Clement

>
>What is the fact ?
>
>Pierre



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to