drools-compiler is optionally importing org.kie.scanner package as that is needed to work with the kie-ci in OSGi. The package import is, however, incorrect: =org.kie.scanner.*;resolution:=optional will not get transformed into the actual package name, but rather stays as org.kie.scanner.*, which is not valid. This needs to be changed to just org.kie.scanner.