I just created a project with an interesting dependency situation: my
existing code uses jetty 7, while hector from cassandra-land uses
jetty 6.

This should be fine; the group IDs are different.

However, my build fails as follows below. The actual cassandra-all pom
in my local repo, on the other hand, says:

    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>jetty</artifactId>
      <version>6.1.21</version>
    </dependency>


I expected to find a property reference in here and that the problem
was that two poms were accidently sharing something like
${jetty.version}. But, no. Cassandra's dep is as above, so I cannot
explain how I get the error below.

This is with 2.2.0. Anybody got a clue?

1) org.mortbay.jetty:jetty:jar:7.2.0.v20101020

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.mortbay.jetty
-DartifactId=jetty -Dversion=7.2.0.v20101020 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.mortbay.jetty
-DartifactId=jetty -Dversion=7.2.0.v20101020 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) com.basistech.jug:dcs-cassandra-store:jar:4-SNAPSHOT
        2) org.apache.cassandra:cassandra-all:jar:0.7.2
        3) org.mortbay.jetty:jetty:jar:7.2.0.v20101020

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to