should be using JavaSE-1.6 VM, and .classpath, codegen.targetPlatform, compliance and source should also all be 1.6;
making these changes requires the project to have custom compiler settings in order to continue to import XPathAPI
from its original location com.sun.org.apache.xpath.internal, which is still in JavaSE-1.6 rt.jar .
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="com.nokia.carbide.cpp">
<implementation class="com.nokia.carbide.cpp.p2.CarbideP2Policy"/>
<service>
<provide interface="org.eclipse.equinox.p2.ui.Policy"/>
</service>
<property name="service.ranking" type="Integer" value="2147483647"/>
</scr:component>