You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Florian Scholz <f....@arics.de> on 2009/08/03 19:45:23 UTC

Problem building tika-0.4 with maven

Hello,

I try to build tika-0.4 with 'mvn install' and get the following build
error:

...
[WARNING] Warning building bundle org.apache.tika:tika-app:bundle:0.4 :
Split package org/apache/tika/parser
Use directive -split-package:=3D(merge-first|merge-last|error|first) on
Export/Private Package instruction to get rid of this warning
Package found in   [Jar:tika-parsers, Jar:tika-core]
Reference from
\apache-maven-2.2.0\repository\org\apache\tika\tika-core\0.4\tika-core-0.=
4.j
ar
Classpath          [Jar:., Jar:tika-parsers, Jar:tika-core,
Jar:commons-compress, Jar:pdfbox, Jar:fontbox, Jar:jempbox,
Jar:bcmail-jdk14, Jar:bcprov-jdk14, Jar:poi, Jar:c ommons-logging,
Jar:log4j, Jar:poi-scratchpad, Jar:poi-ooxml, Jar:ooxml-schemas,
Jar:xmlbeans, Jar:dom4j, Jar:xml-apis, Jar:geronimo-stax-api_1.0_spec,
Jar:nekohtml, Jar:
xercesImpl, Jar:asm]
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\poi\poi\3.5-beta6\poi-3.5-beta6=
.ja
r
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\commons\commons-compress\1.0\co=
mmo
ns-c
ompress-1.0.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\tika\tika-parsers\0.4\tika-pars=
ers
-0.4
.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\xerces\xercesImpl\2.8.1\xercesImpl-2.8.1.j=
ar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\poi\ooxml-schemas\1.0\ooxml-sch=
ema
s-1.
0.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.j=
ar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\bouncycastle\bcprov-jdk14\136\bcprov-jdk14=
-13
6.ja
r
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\net\sourceforge\nekohtml\nekohtml\1.9.9\ne=
koh
tml-
1.9.9.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\tika\tika-core\0.4\tika-core-0.=
4.j
ar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\xmlbeans\xmlbeans\2.3.0\xmlbean=
s-2
.3.0
.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\jempbox\jempbox\0.2.0\jempbox-0.2.0.ja=
r
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\pdfbox\pdfbox\0.7.3\pdfbox-0.7.3.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file \apache-maven-2.2.0\repository\asm\asm\3.1\asm-3.1.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\poi\poi-scratchpad\3.5-beta6\po=
i-s
crat
chpad-3.5-beta6.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\commons-logging\commons-logging\1.1.1\comm=
ons
-log
ging-1.1.1.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\bouncycastle\bcmail-jdk14\136\bcmail-jdk14=
-13
6.ja
r
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\fontbox\fontbox\0.1.0\fontbox-0.1.0.ja=
r
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\geronimo\specs\geronimo-stax-ap=
i_1
.0_s
pec\1.0\geronimo-stax-api_1.0_spec-1.0.jar
[ERROR] Error building bundle org.apache.tika:tika-app:bundle:0.4 : Can =
not find JAR file
\apache-maven-2.2.0\repository\org\apache\poi\poi-ooxml\3.5-beta6\poi-oox=
ml-
3.5-
beta6.jar
[ERROR] Error(s) found in bundle configuration [INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error(s) found in bundle configuration ...

Is there a problem in the configuration of maven (maven 2.2.0) =
respectively my build environment?

Thanks in advance,
Florian


Re: Problem building tika-0.4 with maven

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

On Mon, Aug 3, 2009 at 7:45 PM, Florian Scholz<f....@arics.de> wrote:
> I try to build tika-0.4 with 'mvn install' and get the following build
> error:
> [...]
> Is there a problem in the configuration of maven (maven 2.2.0) =
> respectively my build environment?

The repository paths in the error messages look a bit strange, but it
could also be that you're hitting some variation of the
maven-bundle-plugin issue that we just encountered with our Hudson
build.

Can you try checking out and compiling Tika trunk? There's a fix at
least for the bundle plugin problem.

BR,

Jukka Zitting