You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/03/01 13:05:45 UTC

[jira] [Updated] (OAK-5867) Oak Lucene depends on 'org.junit' OSGi package

     [ https://issues.apache.org/jira/browse/OAK-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu updated OAK-5867:
---------------------------------
    Attachment: 0001-OAK-5867-Oak-Lucene-depends-on-org.junit-OSGi-packag.patch

[~alex.parvulescu] - this patch makes sure that only the needed classes are picked up.

{noformat}$ jar tf oak-lucene/target/oak-lucene-1.8-SNAPSHOT.jar | grep CacheStats
org/apache/jackrabbit/oak/cache/CacheStats.class
$ grep -c junit oak-lucene/target/classes/META-INF/MANIFEST.MF 
0{noformat}

> Oak Lucene depends on 'org.junit' OSGi package
> ----------------------------------------------
>
>                 Key: OAK-5867
>                 URL: https://issues.apache.org/jira/browse/OAK-5867
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.7.0
>            Reporter: Alex Parvulescu
>            Priority: Critical
>         Attachments: 0001-OAK-5867-Oak-Lucene-depends-on-org.junit-OSGi-packag.patch
>
>
> It seems that the {{oak-lucene}} bundle has a package dependency on {{org.junit}}. This happens on trunk only, but the weird thing is that all the changes on oak-lucene bundle have been backported to 1.6 branch and this one doesn't have the issue.
> I think this might come from oak-parent, but I'm not sure yet.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)