Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Error while installation #112

Closed
shreyjairath opened this issue Mar 31, 2014 · 4 comments
Closed

Error while installation #112

shreyjairath opened this issue Mar 31, 2014 · 4 comments

Comments

@shreyjairath
Copy link

I am following the install instructions in readme but it fails at step -
mvn install -DskipTests=true
inside titan repo, with following error:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-cli) on project titan-berkeleyje: Compilation failure: Compilation failure:
[ERROR] error: error reading /Users/sjairath/.m2/repository/com/thinkaurelius/titan/titan-core/0.4.1-Lab41-SNAPSHOT/titan-core-0.4.1-Lab41-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /Users/sjairath/.m2/repository/com/sleepycat/je/5.0.73/je-5.0.73.jar; error in opening zip file

I am on Mac OS X 10.8.4.
Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530)
Java version: 1.7.0_60-ea

@shreyjairath
Copy link
Author

Its repeatedly trying to download these files just before it fails:
Downloading: http://download.oracle.com/maven/com/thinkaurelius/titan/titan-core/0.4.1-Lab41-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/thinkaurelius/titan/titan-core/0.4.1-Lab41-SNAPSHOT/maven-metadata.xml

both downloaded files are failing checksum validation

@cglewis
Copy link
Member

cglewis commented Mar 31, 2014

@shreyjairath the Lab41 fork of titan is not published, so you have to build it locally yourself. Did you follow these instructions and it led you to this error?
% git clone https://github.com/Lab41/titan.git % cd titan % git checkout dendrite % mvn install -DskipTests=true

you may also need to clean out your .m2

@shreyjairath
Copy link
Author

@cglewis yes, the steps mentioned by you led to this error. Also, I didn't have a local maven repo when I started out- so a new one must have been created.

@shreyjairath
Copy link
Author

I removed .m2 and the cloned titan repo and did the installation steps from scratch again - and it finished successfully this time. Can't say why it failed before.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants