I am replying to my own post... I believe this issue is closely related to https://issues.apache.org/jira/browse/KARAF-1067.
It appears that the referenced org.osgi.core-4.3.0 library must have been compiled with JDK1.4 support which breaks compilation as reported in this JIRA. I have identified a "fix", aka workaround, for this issue. Instead of referencing the org.osg.core-4.3.0 library in the package/core and package/command sub-projects, I removed the osgi.core bundle as dependency and added the org.apache.karaf.main package as dependency since this has the proper osgi.core classes. That way, the build works also on JDK7. I will also send a message to the apparent maintainer of this bundle, Peter Kriens, and ask how to fix this issue. Question: should I also create a JIRA ticket for this issue or is this post to the message board enough? -- View this message in context: http://karaf.922171.n3.nabble.com/Trunk-not-building-on-JDK-7-tp3878598p3879215.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
