Hi, I'm trying to build Apache Tika from the source, but when I run mvn -e clean install on the base directory, I get the following compile error message
error: error reading /home/park/.m2/repository/org/apache/poi/poi/3.8-beta5/poi-3.8-beta5.jar; error in opening zip file .... [INFO] Preparing clirr:check [WARNING] Removing: check from forked lifecycle, to prevent recursive invocation. [INFO] [remote-resources:process {execution: default}] [debug] execute contextualize [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 29 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [clirr:check {execution: default}] [WARNING] POM for 'biz.aQute:bndlib:pom:1.43.0:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] Succeeded with 0 errors; 0 warnings; and 0 other changes. [INFO] [failsafe:verify {execution: default}] [INFO] Failsafe report directory: /home/park/Downloads/apache-tika-1.1/tika-core/target/failsafe-reports [INFO] [install:install {execution: default-install}] [INFO] Installing /home/park/Downloads/apache-tika-1.1/tika-core/target/tika-core-1.1.jar to /home/park/.m2/repository/org/apache/tika/tika-core/1.1/tika-core-1.1.jar [INFO] [bundle:install {execution: default-install}] [INFO] Installing org/apache/tika/tika-core/1.1/tika-core-1.1.jar [INFO] Writing OBR metadata [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Tika parsers [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting /home/park/Downloads/apache-tika-1.1/tika-parsers/target [INFO] [remote-resources:process {execution: default}] [debug] execute contextualize [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 125 source files to /home/park/Downloads/apache-tika-1.1/tika-parsers/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] error: error reading /home/park/.m2/repository/org/apache/poi/poi/3.8-beta5/poi-3.8-beta5.jar; error in opening zip file [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure error: error reading /home/park/.m2/repository/org/apache/poi/poi/3.8-beta5/poi-3.8-beta5.jar; error in opening zip file [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure error: error reading /home/park/.m2/repository/org/apache/poi/poi/3.8-beta5/poi-3.8-beta5.jar; error in opening zip file at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure error: error reading /home/park/.m2/repository/org/apache/poi/poi/3.8-beta5/poi-3.8-beta5.jar; error in opening zip file at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13 seconds [INFO] Finished at: Wed Jul 11 20:38:21 KST 2012 [INFO] Final Memory: 55M/131M [INFO] ------------------------------------------------------------------------ I'm using java-6-sun-1.6.0.26 for Java I haven't change anything on the source itself. Any ideas fow to fix it? Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Tika-build-error-using-Maven-tp3994364.html Sent from the Apache Tika - Development mailing list archive at Nabble.com.