Steve White created IGNITE-4012:
-----------------------------------

             Summary: Compile issues with v1.7.0/1.8.0 - missing dependency & H2
                 Key: IGNITE-4012
                 URL: https://issues.apache.org/jira/browse/IGNITE-4012
             Project: Ignite
          Issue Type: Bug
          Components: build
    Affects Versions: 1.7, 1.8
            Reporter: Steve White


Hi, I'd just like to mention a couple of build issues - not sure if you're 
aware. 

If I build Apache Ignite tags/1.7.0 (1.7.0-SNAPSHOT) & master (1.8.0-SNAPSHOT) 
I get:
{code}
Missing dependencies:
[ERROR] Failed to execute goal on project ignite-core: Could not resolve 
dependencies for project org.apache.ignite:ignite-core:jar:1.7.0-SNAPSHOT: The 
following artifacts could not be resolved: 
org.apache.ignite.binary:test1:jar:1.1, org.apache.ignite.binary:test2:jar:1.1:
{code}
If I comment the ignite-core:test1,test2 dependencies out I get a bunch of 
compile time errors in the indexing module referencing h2, just to mention a 
couple:
{code}
GridMergeIndex.java:[298,16] method getCostRangeIndex in class 
org.h2.index.BaseIndex cannot be applied to given types;
[ERROR] required: 
int[],long,org.h2.table.TableFilter[],int,org.h2.result.SortOrder,boolean,java.util.HashSet<org.h2.table.Column>
[ERROR] found: 
int[],long,org.h2.table.TableFilter[],int,org.h2.result.SortOrder,boolean
[ERROR] reason: actual and formal argument lists differ in length

GridH2TreeIndex.java:[49,8] 
org.apache.ignite.internal.processors.query.h2.opt.GridH2TreeIndex is not 
abstract and does
 not override abstract method 
getCost(org.h2.engine.Session,int[],org.h2.table.TableFilter[],int,org.h2.result.SortOrder,java.util.HashSet<org.h2.table.Column>)
 in org.h2.index.Index
{code}
Restricting building a subset of modules works, e.g:
{code}
mvn clean install -DskipTests -Dmaven.javadoc.skip=true -pl 
modules/apache-license-gen,modules/tools,modules/core,modules/osgi,modules/spring,modules/slf4j
{code}

But I really need indexing. My next step is to be drop the pom to an earlier 
version of H2 to try get it built. My reasons for building from source are to 
include a number of additional OSGi package imports (TBC).




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to