Open jakubklimek opened 7 years ago
See #38.
Thanks. That moved me one step closer. Could this be mentioned in README for those of us not so skilled with maven?
Nevertheless, building https://github.com/rdfhdt builds hdt-jena-2.0-SNAPSHOT, not 2.0. So then I changed the required version in pom.xml to 2.0-SNAPSHOT from 2.0 and the build went a bit further, but still failed with:
[INFO] Compiling 4 source files to /opt/ldf/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/TestSuite.java:[3,24] package org.junit.runner does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/TestSuite.java:[4,25] package org.junit.runners does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/TestSuite.java:[13,2] cannot find symbol
symbol: class RunWith
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/TestSuite.java:[14,7] package Suite does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/DataSourceTest.java:[12,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/DataSourceTest.java:[13,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/HdtDataSourceTest.java:[7,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/HdtDataSourceTest.java:[8,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/HdtDataSourceTest.java:[9,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/HdtDataSourceTest.java:[10,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/JenaTDBDataSourceTest.java:[16,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/JenaTDBDataSourceTest.java:[17,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/JenaTDBDataSourceTest.java:[19,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/JenaTDBDataSourceTest.java:[20,17] package org.junit does not exist
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/DataSourceTest.java:[99,6] cannot find symbol
symbol: class Test
location: class org.linkeddatafragments.test.datasource.DataSourceTest<ConstantTermType,NamedVarType,AnonVarType>
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/DataSourceTest.java:[127,6] cannot find symbol
symbol: class Test
location: class org.linkeddatafragments.test.datasource.DataSourceTest<ConstantTermType,NamedVarType,AnonVarType>
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/HdtDataSourceTest.java:[44,6] cannot find symbol
symbol: class BeforeClass
location: class org.linkeddatafragments.test.datasource.HdtDataSourceTest
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/HdtDataSourceTest.java:[76,6] cannot find symbol
symbol: class AfterClass
location: class org.linkeddatafragments.test.datasource.HdtDataSourceTest
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/HdtDataSourceTest.java:[87,6] cannot find symbol
symbol: class Before
location: class org.linkeddatafragments.test.datasource.HdtDataSourceTest
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/HdtDataSourceTest.java:[96,6] cannot find symbol
symbol: class After
location: class org.linkeddatafragments.test.datasource.HdtDataSourceTest
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/JenaTDBDataSourceTest.java:[52,6] cannot find symbol
symbol: class BeforeClass
location: class org.linkeddatafragments.test.datasource.JenaTDBDataSourceTest
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/JenaTDBDataSourceTest.java:[86,6] cannot find symbol
symbol: class AfterClass
location: class org.linkeddatafragments.test.datasource.JenaTDBDataSourceTest
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/JenaTDBDataSourceTest.java:[101,6] cannot find symbol
symbol: class Before
location: class org.linkeddatafragments.test.datasource.JenaTDBDataSourceTest
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/JenaTDBDataSourceTest.java:[109,6] cannot find symbol
symbol: class After
location: class org.linkeddatafragments.test.datasource.JenaTDBDataSourceTest
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/DataSourceTest.java:[120,9] cannot find symbol
symbol: variable Assert
location: class org.linkeddatafragments.test.datasource.DataSourceTest<ConstantTermType,NamedVarType,AnonVarType>
[ERROR] /opt/ldf/src/test/java/org/linkeddatafragments/test/datasource/DataSourceTest.java:[156,9] cannot find symbol
symbol: variable Assert
location: class org.linkeddatafragments.test.datasource.DataSourceTest<ConstantTermType,NamedVarType,AnonVarType>
[INFO] 26 errors
Hi @jakubklimek, did you build the release branch? https://github.com/rdfhdt/hdt-java/releases
No, I built the master branch. Building the v2.0 release indeed solved this. May I suggest you include this info in the README?
I could, but not sure if that's good practice. See https://github.com/rdfhdt/hdt-java/issues/32
I understand. The README could be changed back once the 2.0 version is published in maven though...
Maven build fails with