Robert Munteanu created OAK-7263:
------------------------------------

             Summary: oak-lucene should not depend on oak-store-document
                 Key: OAK-7263
                 URL: https://issues.apache.org/jira/browse/OAK-7263
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: lucene
         Environment: {{oak-lucene}} has a hard dependency on 
{{oak-store-document}} and that looks wrong to me. 

{noformat}[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) 
on project oak-lucene: Compilation failure: Compilation failure: 
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneDocumentHolder.java:[31,54]
 package org.apache.jackrabbit.oak.plugins.document.spi does not exist
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneDocumentHolder.java:[37,46]
 cannot find symbol
[ERROR]   symbol: class JournalProperty
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyBuilder.java:[33,54]
 package org.apache.jackrabbit.oak.plugins.document.spi does not exist
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyBuilder.java:[34,54]
 package org.apache.jackrabbit.oak.plugins.document.spi does not exist
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyBuilder.java:[38,47]
 cannot find symbol
[ERROR]   symbol: class JournalPropertyBuilder
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyBuilder.java:[106,12]
 cannot find symbol
[ERROR]   symbol:   class JournalProperty
[ERROR]   location: class 
org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneJournalPropertyBuilder
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProviderService.java:[55,54]
 package org.apache.jackrabbit.oak.plugins.document.spi does not exist
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/IndexedPaths.java:[29,54]
 package org.apache.jackrabbit.oak.plugins.document.spi does not exist
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/IndexedPaths.java:[33,31]
 cannot find symbol
[ERROR]   symbol: class JournalProperty
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyService.java:[22,54]
 package org.apache.jackrabbit.oak.plugins.document.spi does not exist
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyService.java:[23,54]
 package org.apache.jackrabbit.oak.plugins.document.spi does not exist
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyService.java:[25,54]
 cannot find symbol
[ERROR]   symbol: class JournalPropertyService
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyService.java:[33,12]
 cannot find symbol
[ERROR]   symbol:   class JournalPropertyBuilder
[ERROR]   location: class 
org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.LuceneJournalPropertyService
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyBuilder.java:[50,5]
 method does not override or implement a method from a supertype
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyBuilder.java:[61,5]
 method does not override or implement a method from a supertype
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyBuilder.java:[78,5]
 method does not override or implement a method from a supertype
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyBuilder.java:[105,5]
 method does not override or implement a method from a supertype
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProviderService.java:[618,48]
 cannot find symbol
[ERROR]   symbol:   class JournalPropertyService
[ERROR]   location: class 
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyService.java:[32,5]
 method does not override or implement a method from a supertype
[ERROR] 
/home/robert/Documents/sources/apache/jackrabbit-oak/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/hybrid/LuceneJournalPropertyService.java:[37,5]
 method does not override or implement a method from a supertype
{noformat}

Looks like most of is it around the _JournalProperty_ concept but I'm not 
familiar enough with the codebase to evaluate the dependency.
            Reporter: Robert Munteanu
             Fix For: 1.9.0, 1.10






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to