Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed for chronos #68

Closed
priyolahiri opened this issue Jul 14, 2013 · 4 comments
Closed

build failed for chronos #68

priyolahiri opened this issue Jul 14, 2013 · 4 comments

Comments

@priyolahiri
Copy link

Using Sun Java 7. Mesos is already installed. This is the message I get:
Could not resolve dependencies for project com.airbnb:chronos:jar:1.0-SNAPSHOT: Could not find artifact org.apache.mesos:mesos:jar:0.14.0 in twitter-repo (http://maven.twttr.com/)

@buildscientist
Copy link
Contributor

I looked at Twitter's Maven repo and it doesn't look like a Mesos directory exists there.

Another thing to keep in mind is that Apache Mesos v0.14.0 has not yet been released. The download page refers to v0.12.0 as the the latest version.

@buildscientist
Copy link
Contributor

It's likely that Mesos 0.14.0 will be tagged from master of the Mesos source tree.

You can probably get the build working by matching the version of Mesos you have running with the jar that gets generated and modifying the Chronos dependency in the POM.

         <dependency>
            <groupId>org.apache.mesos</groupId>
            <artifactId>mesos</artifactId>
            <version>0.12.0-SNAPSHOT</version>
        </dependency>

For example I've got v0.12.0 running and I noticed that the Chronos build installs a SNAPSHOT build of the Mesos Java library.

@buildscientist
Copy link
Contributor

FYI - this issue has been resolved with the latest commit made to master. Maven now resolves the Apache Mesos dependency from a public Maven repo -

  <repository>
            <id>mesosphere-public-repo</id>
            <name>Mesosphere Public Snapshot Repo</name>
            <url>http://s3.amazonaws.com/mesosphere-maven-public/snapshot/</url>
  </repository>

@florianleibert
Copy link
Contributor

Yes, this should be fixed as of now. Sorry for the inconvenience. We restructured our maven repo!

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

No branches or pull requests

3 participants