You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jay Ken <ja...@gmail.com> on 2015/04/21 23:49:25 UTC

Error while building from source code

Hi,

I am trying to build a project the source bundled downloaded from

http://apache.arvixe.com/cassandra/2.1.4/apache-cassandra-2.1.4-src.tar.gz

but when I run "ant build" I get following error during build. Any idea why
I am getting build Failed? Seems looking for dependencies
org.apache.cassandra:cassandra-coverage-deps:jar:2.1.4-SNAPSHOT




BUILD FAILED

/Users/user1/apache-cassandra-2.1.4-src/build.xml:572: Unable to resolve
artifact: Missing:

----------

1) com.sun:tools:jar:0


  Try downloading the file manually from the project website.


  Then, install it using the command:

      mvn install:install-file -DgroupId=com.sun -DartifactId=tools
-Dversion=0 -Dpackaging=jar -Dfile=/path/to/file


  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools
-Dversion=0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]


  Path to dependency:

  1) org.apache.cassandra:cassandra-coverage-deps:jar:2.1.4-SNAPSHOT

  2) net.sourceforge.cobertura:cobertura:jar:2.0.3

  3) com.sun:tools:jar:0


----------

1 required artifact is missing.


for artifact:

  org.apache.cassandra:cassandra-coverage-deps:jar:2.1.4-SNAPSHOT


from the specified remote repositories:

  central (http://repo1.maven.org/maven2)

Thanks,
Jay