Achilleas Voutsas created TIKA-2612:
---------------------------------------
Summary: Build fails
Key: TIKA-2612
URL: https://issues.apache.org/jira/browse/TIKA-2612
Project: Tika
Issue Type: Bug
Components: general
Affects Versions: 1.17
Environment: Tika 1.17 on mac OS High Sierra (10.13.3), with Java
1.8.0_162 and maven 3.5.3.
$ gdalinfo --version
GDAL 2.2.3, released 2017/11/20
Reporter: Achilleas Voutsas
Dear all,
I have tried to build tika 1.17 on mac OS High Sierra (10.13.3), with Java
1.8.0_162 and maven 3.5.3.
The build stops when building the tike-parsers, with the following error
*Failed to execute goal*
*org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test* *(default-test)*
on project tika-parsers: *There are test failures.*
The test cases that fail are the following:
<testcase name="testParseBasicInfo"
classname="org.apache.tika.parser.gdal.TestGDALParser" time="0.165">
<failure type="java.lang.AssertionError:">java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:712)
at org.junit.Assert.assertNotNull(Assert.java:722)
at
org.apache.tika.parser.gdal.TestGDALParser.testParseBasicInfo(TestGDALParser.java:79)
</failure>
</testcase>
<testcase name="testParseMetadata"
classname="org.apache.tika.parser.gdal.TestGDALParser" time="0.057">
<failure type="java.lang.AssertionError:">java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:712)
at org.junit.Assert.assertNotNull(Assert.java:722)
at
org.apache.tika.parser.gdal.TestGDALParser.testParseMetadata(TestGDALParser.java:117)
</failure>
$ gdalinfo
Usage: gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp] [-nomd]
[-norat] [-noct] [-nofl] [-checksum] [-proj4]
[-listmdd] [-mdd domain|`all`]*
[-sd subdataset] [-oo NAME=VALUE]* datasetname
FAILURE: No datasource specified.
Does the build depend on the gdal installation on my workstation?
Does anybody have any hints on how to resolve this issue?
Thanks in advance for your help,
Achilleas Voutsas
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)