It's likely one of the embedded dependencies have class files in the
default package.  If these classes are not being used they could just be
removed as suggested here:

https://techotom.wordpress.com/2014/10/21/fixing-the-default-package-is-not-permitted-by-the-import-package-syntax-with-maven-bundle-plugin/

Do we know which dependency this might be?  I agree that it would be better
if this all worked in Intellij with the Osmorc plugin.

- Bob

On Thu, Sep 3, 2015 at 10:10 AM, Allison, Timothy B. <[email protected]>
wrote:

> All,
>
> I'm able to build via Maven without any problem.  However, within
> Intellij, I'm not able to run any individual unit tests in tika-parsers or
> tika-xmp because of this error:
>
> Error:osgi: [tika-parsers] The default package '.' is not permitted by the
> Import-Package syntax.
>  This can be caused by compile errors in Eclipse because Eclipse creates
> valid class files regardless of compile errors.
> The following package(s) import from the default package null
>
> If I remove Osmorc (the OSGi plugin), all is ok, but that seems like a
> really bad idea.  Is this something we should fix, or is this something
> that I should ignore?
>
>          Best,
>
>                   Tim
>
>

Reply via email to