You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Charles <ap...@catcons.co.uk> on 2011/06/19 11:24:13 UTC

How to install Tika 0.9?

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



Re: How to install Tika 0.9?

Posted by Charles <ap...@catcons.co.uk>.
On 19/06/11 17:34, Jukka Zitting wrote:
> Hi,
> Could you file a bug report at
> https://issues.apache.org/jira/browse/TIKA about this? Please attach
> the stack traces found in tika-parsers/target/surefire-reports after
> the failed build.
>
> See http://tika.apache.org/0.9/gettingstarted.html for basic
> instructions for getting started. The exact installation depends on
> how you want to use Tika, e.g. as a Maven/Ant dependency, a standalone
> runnable jar, or something else.
>
> BR,
>
> Jukka Zitting
Thanks Jukka :)  Both done.

Re: How to install Tika 0.9?

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Sun, Jun 19, 2011 at 11:24 AM, Charles <ap...@catcons.co.uk> wrote:
> 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)

Could you file a bug report at
https://issues.apache.org/jira/browse/TIKA about this? Please attach
the stack traces found in tika-parsers/target/surefire-reports after
the failed build.

> 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?

The jars under http://repo2.maven.org/maven2/org/apache/tika are
pre-built binaries of all the Tika releases. They are equivalent to
what you'd get by compiling the source release by yourself.

See http://tika.apache.org/0.9/gettingstarted.html for basic
instructions for getting started. The exact installation depends on
how you want to use Tika, e.g. as a Maven/Ant dependency, a standalone
runnable jar, or something else.

BR,

Jukka Zitting