Do you realize that what you are asking now is very different from what
you asked earlier? Last time, you mixed a build related problem with my
response to your NPE issue.
I think your problem is that you are using bundle goal of bundle plugin.
I suggest you follow the approach followed in our sample to have lot
less problems. If you keep ignoring this suggestion, I can't be of much
help, as I can't go through your pom.xml to figure out what's going wrong.
Sahoo
On Tuesday 24 January 2012 06:37 PM, forums_at_java.net wrote:
> I will ask this way:
>
> I have this source code:
>
> http://www.2shared.com/file/MR64Xagm/SH_27.html
>
> when I try to compile it I get this error message:
>
> http://pastebin.com/GZ7VH3T6
>
> Then you write this: "Bundle plugin is unable to see
> javax.annotation and javax.activation classes while trying to compute
> OSGi manifest of your bundle and decide what to package in your jar. You
> have to fix your pom.xml"
>
> What I need to fix in my POM file?
>
> p.s I suppose that I need to add a plugin but whichone?
>
>
> --
>
> [Message sent by forum member 'rcbandit']
>
> View Post: http://forums.java.net/node/882924
>
>