ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Unknown fetching configuration for Ivy 2.2.0
Date Thu, 23 Feb 2012 13:54:25 GMT
Hi,

Since last posting I have now 'correctly' configured the resolvers in
ivysettings.xml to fetch Gora SNAPSHOT's from here [0]. However now I am
experiencing a really weird problme that left me scratching my head in a
confused state!

In my ivy.xml I have

        <!--Gora artifacts: -->

        <dependency org="org.apache.gora" name="gora-core"
rev="0.2-SNAPSHOT" conf="*->master" changing="true"/>
        <dependency org="org.apache.gora" name="gora-sql"
rev="0.2-SNAPSHOT" conf="*->default" changing="true"/>
        <dependency org="org.apache.gora" name="gora-hbase"
rev="0.2-SNAPSHOT" conf="*->default" changing="true" />
        <dependency org="org.apache.gora" name="gora-cassandra"
rev="0.2-SNAPSHOT" conf="*->default" changing="true" />

I get 3 out of 4 dependencies (gora-core being the problem). Unknown to me,
instead of picking up the actual gora-core-0.2-SNAPSHOT.jar [1] I somehow
pull the test jar [2] but it appears in my application /build/lib directory
packaged as gora-core-0.2-SNAPSHOT!!! When I look inside the jar, it is the
test jar, but the jar is named gora-core-0.2-SNAPSHOT.jar...

Additionally, and I think this is a separate issue altogether, when I try
to compile my application code, I get the following javac warnings

    [javac] Compiling 170 source files to
/home/lewis/ASF/nutchgora/build/classes
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/apache-cassandra-clientutil-1.0.2.jar":
no such file or directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/apache-cassandra-thrift-1.0.2.jar": no
such file or directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/bcel.jar": no such file or directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/dom4j-full.jar": no such file or
directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/findbugs.jar": no such file or
directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/plastic.jar": no such file or directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/jaxb-api.jar": no such file or
directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/activation.jar": no such file or
directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/jsr173_1.0_api.jar": no such file or
directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/jaxb1-impl.jar": no such file or
directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/xercesImpl.jar": no such file or
directory
    [javac] warning: [path] bad path element
"/home/lewis/ASF/nutchgora/build/lib/xml-apis.jar": no such file or
directory
    [javac]
/home/lewis/ASF/nutchgora/src/java/org/apache/nutch/api/DbReader.java:30:
package org.apache.gora.query does not exist
    [javac] import org.apache.gora.query.Query;
...
etc...

I think this is a separate issue so maybe I can solve this later on :0|

Any advice guys? I'm really quite stumped on this one.

Thank you

Lewis

[0]
https://repository.apache.org/content/repositories/snapshots/org/apache/gora/
[1]
https://repository.apache.org/content/repositories/snapshots/org/apache/gora/gora-core/0.2-SNAPSHOT/gora-core-0.2-SNAPSHOT.jar
[2]
https://repository.apache.org/content/repositories/snapshots/org/apache/gora/gora-core/0.2-SNAPSHOT/gora-core-0.2-SNAPSHOT-tests.jar

-- 
*Lewis*

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