Error while building from source code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error while building from source code

Jay Svc
Hi,

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


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