ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewis john mcgibbney <lewi...@apache.org>
Subject Configuration problem when pulling Gora SNAPSHOT's
Date Fri, 03 Feb 2012 22:34:43 GMT
Hi Ivy Community,

I've been working on publishing Apache Gora SNAPSHOT's [1] to
repository.apache.org and have been trying to pull them using Ivy 2.2.0
using the following in ivy.xml

<dependency org="org.apache.gora" name="gora-core" rev="0.2-SNAPSHOT"
conf="*->compile"/>
<dependency org="org.apache.gora" name="gora-cassandra" rev="0.2-SNAPSHOT"
conf="*->compile" />

My ivysettings.xml specifies the following

<property name="repo.maven.org"
    value="http://repo1.maven.org/maven2/"
    override="false"/>
  <property name="repository.apache.org"
    value="http://repository.apache.org/content/repositories/snapshots/"
    override="false"/>
  <property name="maven2.pattern"
    value="[organisation]/[module]/[revision]/[module]-[revision]"/>
  <property name="maven2.pattern.ext"
    value="${maven2.pattern}.[ext]"/>
  <!-- pull in the local repository -->
  <include url="${ivy.default.conf.dir}/ivyconf-local.xml"/>
  <settings defaultResolver="default"/>
  <resolvers>
    <ibiblio name="maven2"
      root="${repo.maven.org}"
      pattern="${maven2.pattern.ext}"
      m2compatible="true"
      />
    <ibiblio name="apache-repository"
      root="${repository.apache.org}"
      pattern="${maven2.pattern.ext}"
      m2compatible="true"
      />
...
    <chain name="default" dual="true">
      <resolver ref="local"/>
      <resolver ref="maven2"/>
      <resolver ref="apache-repository"/>
    </chain>

When I'm executing 'ant runtime' from the terminal I'm getting the
following failures.

[ivy:resolve] :::: WARNINGS
[ivy:resolve]         module not found:
org.apache.gora#gora-core;0.2-SNAPSHOT
[ivy:resolve]     ==== apache-repository: tried
[ivy:resolve]
http://repository.apache.org/content/repositories/snapshots/org/apache/gora/gora-core/0.2-SNAPSHOT/gora-core-0.2-SNAPSHOT.pom
[ivy:resolve]       -- artifact
org.apache.gora#gora-core;0.2-SNAPSHOT!gora-core.jar:<<<
[ivy:resolve]
http://repository.apache.org/content/repositories/snapshots/org/apache/gora/gora-core/0.2-SNAPSHOT/gora-core-0.2-SNAPSHOT.jar
[ivy:resolve]         module not found:
org.apache.gora#gora-cassandra;0.2-SNAPSHOT
[ivy:resolve]     ==== apache-repository: tried
[ivy:resolve]
http://repository.apache.org/content/repositories/snapshots/org/apache/gora/gora-cassandra/0.2-SNAPSHOT/gora-cassandra-0.2-SNAPSHOT.pom
[ivy:resolve]       -- artifact
org.apache.gora#gora-cassandra;0.2-SNAPSHOT!gora-cassandra.jar:<<<
[ivy:resolve]
http://repository.apache.org/content/repositories/snapshots/org/apache/gora/gora-cassandra/0.2-SNAPSHOT/gora-cassandra-0.2-SNAPSHOT.jar

N.B. I've added the <<<'s above myself to indicate that there is no such
.jar at either [2] or [3]. I've spent a good while trying to chop and
change ivysettings and the ivy.xml dependency conf= but to no avail...

Any suggestions would be greatly appreciated.

Kind Regards and thanks in advance for any suggestions.

Lewis

[1]
https://repository.apache.org/content/repositories/snapshots/org/apache/gora/
[2]
https://repository.apache.org/content/repositories/snapshots/org/apache/gora/gora-core/0.2-SNAPSHOT/
[3]
https://repository.apache.org/content/repositories/snapshots/org/apache/gora/gora-cassandra/0.2-SNAPSHOT/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message