Matej Novotny I think it should be explicitly marked as:
Import-Package: javax.ejb;resolution:=optional
in weld/core/bundles/osgi/pom.xml and maven-bundle-plugin configuration