You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Marcel Reutegger <mr...@adobe.com> on 2017/04/19 12:08:02 UTC

[OSGi][m12n] Missing Import-Package in oak-core

Hi,

I'm facing a strange problem with the oak-core bundle after the m12n. 
The Import-Package for 'org.apache.jackrabbit.oak.plugins.blob' is missing even though the class DocumentNodeStoreService has imports for interfaces/classes in this package.

I can fix it by explicitly specifying that package in the maven bundle plugin configuration in the pom.xml, but I'm sure there must be a nicer solution to this problem.

Anyone seen this before?

Regards
 Marcel 


Re: [OSGi][m12n] Missing Import-Package in oak-core

Posted by Marcel Reutegger <mr...@adobe.com>.
OK, I think, I figured it out. oak-core contains a resource in that 
package. This probably confused the bundle plugin.

I guess 
oak-core/src/main/resources/org/apache/jackrabbit/oak/plugins/blob 
should be moved to oak-blob-plugins as well.

With this move, the Import-Package directives for oak-core are correct.

I'll run tests and commit this change when successful.

Regards
  Marcel

On 19/04/17 14:08, Marcel Reutegger wrote:
> I'm facing a strange problem with the oak-core bundle after the m12n.
>  The Import-Package for 'org.apache.jackrabbit.oak.plugins.blob' is
> missing even though the class DocumentNodeStoreService has imports
> for interfaces/classes in this package.
>
> I can fix it by explicitly specifying that package in the maven
> bundle plugin configuration in the pom.xml, but I'm sure there must
> be a nicer solution to this problem.