i am trying to compile my OSGi bundle against OSGi specification 4.3 using OpenJDK7 but i am getting error:
[ERROR] Failed to execute goal org.apache.maven.p
You need to recompile the OSGi source code with javac from Java 7. OSGi compiled the code with Java 6 javac using -target jsr14. Java 7 javac removed support for compiling against such class files: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7078419
Starting with R5, OSGi will no longer ship -target jsr14 class files.
[Updated 31 Oct 2012]
OSGi has now provided recompiled 4.3 jar files for Java 7. See http://blog.osgi.org/2012/10/43-companion-code-for-java-7.html