Hello :-)

Installing Tika 0.9 (on Debian Squeeze 64 bit) using Maven resulted in a build failure because of failed tests as shown below:

===== Build failure screen scrape starts =====
Results :

Failed tests:
  testBMP(org.apache.tika.parser.image.ImageParserTest)
  testJPEG(org.apache.tika.parser.image.ImageParserTest)
  testPNG(org.apache.tika.parser.image.ImageParserTest)

Tests run: 213, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Tika parent ................................ SUCCESS [2.340s]
[INFO] Apache Tika core .................................. SUCCESS [27.028s]
[INFO] Apache Tika parsers ............................... FAILURE [51.719s]
[INFO] Apache Tika application ........................... SKIPPED
[INFO] Apache Tika OSGi bundle ........................... SKIPPED
[INFO] Apache Tika ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:24.124s
[INFO] Finished at: Sun Jun 19 14:12:26 IST 2011
[INFO] Final Memory: 18M/188M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project tika-parsers: There are test failures.
[ERROR]
[ERROR] Please refer to /opt/apache/tika/apache-tika-0.9/tika-parsers/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :tika-parsers
===== Build failure screen scrape ends =====

Netsearching for solutions I stumbled on http://repo2.maven.org/maven2/org/apache/tika/tika-parsers/0.9/. Which of the several (.jar?) files should be used? Is the installation procedure documented anywhere?

Best

Charles


Reply via email to