ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Larsson <kent.lars...@gmail.com>
Subject Re: Problem retrieving Hibernate 3.2.1.ga
Date Tue, 03 Feb 2009 10:52:55 GMT
On Tue, Feb 3, 2009 at 10:33 AM, <paul.newport@targetgroup.net> wrote:

> Try getting hibernat from here instead:
>
> http://www.springsource.com/repository/app/bundle/version/detail?name=com.springsource.org.hibernate&version=3.3.1.GA
> The Springsource repository is an excellent resource - all the jars are
> OSGI versions of normal jars, but 100% compatible.


Thanks for the tip! I was just about to post an update myself.

I was including hibernate when in reality I only needed hibernate-core. I
don't really know the whole difference between them, but hibernate wanted
JTA as a dependency and core did not. I could use hibernate too, if I
exclude the JTA dependency as I won't be using JTA, at the moment anyway.

I don't know what OSGI is, but it's quite a popular abbreviation, I should
check it out. :-) At the moment I'm trying to keep it as simple as possible
(I don't have any ivysettings.xml where I could specify anothe repository
than the default), but I'll certainly have the springsource repository in
mind. I didn't even know they had a repository.



> Hi,
> When I try to download Hibernate 3.2.1.ga using Ivy I get:
>
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]         ::              FAILED DOWNLOADS            ::
> [ivy:retrieve]         :: ^ see resolution messages for details  ^ ::
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]         :: javax.transaction#jta;1.0.1B!jta.jar
> [ivy:retrieve]         :: javax.security#jacc;1.0!jacc.jar
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
>
> The ONLY thing I do in my "download-dependencies" target in my build.xml
> is:
>
> <ivy:retrieve sync="true"
> pattern="${ivy.lib.dir}/[conf]/[artifact]-[revision].[ext]"/>
>
> I have reduced my ivy.xml to a minimal version:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ivy-module version="2.0"  xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="
> http://ant.apache.org/ivy/schemas/ivy.xsd">
>    <dependencies>
>        <dependency org="org.hibernate" name="hibernate" rev="3.2.1.ga"/>
>    </dependencies>
> </ivy-module>
>
> I don't know what to do and I really need Hibernate. :-/
>
> My complete output follows. I really hope someone can help me out!
>
> Best regards, Kent
>
> ----
>
> Buildfile: build.xml
>
> install-ivy:
>
> download-dependencies:
> No ivy:settings found for the default reference 'ivy.instance'.  A default
> instance will be used
> no settings file found, using default...
> [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 ::
> http://ant.apache.org/ivy/::
> :: loading settings :: url =
>
> jar:file:/home/kent/.ivy2/jar/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
>
> [ivy:retrieve] :: resolving dependencies ::
> net.companyname#projectname;working@rat
> [ivy:retrieve]     confs: [default]
> [ivy:retrieve]     found org.hibernate#hibernate;3.2.1.ga in public
> [ivy:retrieve]     found net.sf.ehcache#ehcache;1.2.3 in public
> [ivy:retrieve]     found commons-logging#commons-logging;1.0.4 in public
> [ivy:retrieve]     found javax.transaction#jta;1.0.1B in public
> [ivy:retrieve]     found asm#asm-attrs;1.5.3 in public
> [ivy:retrieve]     found dom4j#dom4j;1.6.1 in public
> [ivy:retrieve]     found antlr#antlr;2.7.6 in public
> [ivy:retrieve]     found cglib#cglib;2.1_3 in public
> [ivy:retrieve]     found asm#asm;1.5.3 in public
> [ivy:retrieve]     found commons-collections#commons-collections;2.1.1 in
> public
> [ivy:retrieve]     found ant#ant;1.6.5 in public
> [ivy:retrieve]     found swarmcache#swarmcache;1.0RC2 in public
> [ivy:retrieve]     found jgroups#jgroups-all;2.2.8 in public
> [ivy:retrieve]     found jboss#jboss-cache;1.2.2 in public
> [ivy:retrieve]     found jboss#jboss-system;4.0.2 in public
> [ivy:retrieve]     found jboss#jboss-common;4.0.2 in public
> [ivy:retrieve]     found slide#webdavlib;2.0 in public
> [ivy:retrieve]     found xerces#xercesImpl;2.6.2 in public
> [ivy:retrieve]     found jboss#jboss-minimal;4.0.2 in public
> [ivy:retrieve]     found jboss#jboss-j2se;200504122039 in public
> [ivy:retrieve]     found concurrent#concurrent;1.3.4 in public
> [ivy:retrieve]     found c3p0#c3p0;0.9.0 in public
> [ivy:retrieve]     found javax.security#jacc;1.0 in public
> [ivy:retrieve]     found opensymphony#oscache;2.1 in public
> [ivy:retrieve]     found proxool#proxool;0.8.3 in public
> [ivy:retrieve] downloading
>
> http://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga.jar
> ..
> .
> [ivy:retrieve] ...................................
> [ivy:retrieve] .........................................................
> [ivy:retrieve] ..................................................
> [ivy:retrieve] ...........................
> [ivy:retrieve] ......... (2146kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ]
> org.hibernate#hibernate;3.2.1.ga!hibernate.jar
> (7044ms)
> [ivy:retrieve] downloading
>
> http://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga-sources.jar
> ..
> .
> [ivy:retrieve] ..........................................
> [ivy:retrieve] ....................................................
> [ivy:retrieve] ........................ (1441kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ]
> org.hibernate#hibernate;3.2.1.ga!hibernate.jar(source)
> (4308ms)
> [ivy:retrieve] downloading
>
> http://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.1.ga/hibernate-3.2.1.ga-javadoc.jar
> ..
> .
> [ivy:retrieve] ...........................................
> [ivy:retrieve] ..........................................
> [ivy:retrieve] .............................................
> [ivy:retrieve] ................................
> [ivy:retrieve] ......................................
> [ivy:retrieve] .....................................
> [ivy:retrieve] .............................................
> [ivy:retrieve] ...........................
> [ivy:retrieve] ......................................
> [ivy:retrieve] ....................................
> [ivy:retrieve] ........................................
> [ivy:retrieve] .......................................
> [ivy:retrieve] ..................................................
> [ivy:retrieve]
> ..............................................................
> [ivy:retrieve] . (7129kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ]
> org.hibernate#hibernate;3.2.1.ga!hibernate.jar(javadoc)
> (21950ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/net/sf/ehcache/ehcache/1.2.3
> /ehcache-1.2.3.jar.<http://repo1.maven.org/maven2/net/sf/ehcache/ehcache/1.2.3%0A/ehcache-1.2.3.jar.>
> ..
> [ivy:retrieve] ...................... (203kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] net.sf.ehcache#ehcache;1.2.3!ehcache.jar
> (1930ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4
> /commons-logging-1.0.4.jar.<http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4%0A/commons-logging-1.0.4.jar.>
> ..
> [ivy:retrieve] ......... (37kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ]
> commons-logging#commons-logging;1.0.4!commons-logging.jar (687ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar ...
> [ivy:retrieve] . (16kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] asm#asm-attrs;1.5.3!asm-attrs.jar (551ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar ...
> [ivy:retrieve] ...........................
> [ivy:retrieve] ......... (306kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] dom4j#dom4j;1.6.1!dom4j.jar (2072ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/antlr/antlr/2.7.6/antlr-2.7.6.jar ...
> [ivy:retrieve] .....................
> [ivy:retrieve] ............ (433kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] antlr#antlr;2.7.6!antlr.jar (2935ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/cglib/cglib/2.1_3/cglib-2.1_3.jar ...
> [ivy:retrieve] ...................
> [ivy:retrieve] ..... (275kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] cglib#cglib;2.1_3!cglib.jar (2200ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/asm/asm/1.5.3/asm-1.5.3.jar ...
> [ivy:retrieve] .. (25kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] asm#asm;1.5.3!asm.jar (686ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/commons-collections/commons-collections/2.1.1
> /commons-collections-2.1.1.jar.<http://repo1.maven.org/maven2/commons-collections/commons-collections/2.1.1%0A/commons-collections-2.1.1.jar.>
> ..
> [ivy:retrieve] ................ (171kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ]
> commons-collections#commons-collections;2.1.1!commons-collections.jar
> (1657ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/ant/ant/1.6.5/ant-1.6.5.jar ...
> [ivy:retrieve] .....................
> [ivy:retrieve] .......................
> [ivy:retrieve] .......................
> [ivy:retrieve] ....................... (1009kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] ant#ant;1.6.5!ant.jar (6198ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/swarmcache/swarmcache/1.0RC2/swarmcache-1.0
> RC2.jar...
> [ivy:retrieve] .... (29kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] swarmcache#swarmcache;1.0
> RC2!swarmcache.jar
> (710ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/jboss/jboss-cache/1.2.2
> /jboss-cache-1.2.2.jar.<http://repo1.maven.org/maven2/jboss/jboss-cache/1.2.2%0A/jboss-cache-1.2.2.jar.>
> ..
> [ivy:retrieve] ..........................
> [ivy:retrieve] ......... (365kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] jboss#jboss-cache;1.2.2!jboss-cache.jar
> (2623ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/jgroups/jgroups-all/2.2.8
> /jgroups-all-2.2.8.jar.<http://repo1.maven.org/maven2/jgroups/jgroups-all/2.2.8%0A/jgroups-all-2.2.8.jar.>
> ..
> [ivy:retrieve] ...........................
> [ivy:retrieve] ..........................
> [ivy:retrieve] .............................
> [ivy:retrieve] ................................
> [ivy:retrieve] ............... (1573kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] jgroups#jgroups-all;2.2.8!jgroups-all.jar
> (7217ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/c3p0/c3p0/0.9.0/c3p0-0.9.0.jar ...
> [ivy:retrieve] .....................
> [ivy:retrieve] ................. (475kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] c3p0#c3p0;0.9.0!c3p0.jar (3166ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/opensymphony/oscache/2.1/oscache-2.1.jar ...
> [ivy:retrieve] ............ (111kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] opensymphony#oscache;2.1!oscache.jar
> (1103ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/proxool/proxool/0.8.3/proxool-0.8.3.jar ...
> [ivy:retrieve] .......................
> [ivy:retrieve] ..................... (464kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] proxool#proxool;0.8.3!proxool.jar (2893ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/jboss/jboss-system/4.0.2
> /jboss-system-4.0.2.jar.<http://repo1.maven.org/maven2/jboss/jboss-system/4.0.2%0A/jboss-system-4.0.2.jar.>
> ..
> [ivy:retrieve] ....................... (227kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] jboss#jboss-system;4.0.2!jboss-system.jar
> (1518ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/jboss/jboss-common/4.0.2
> /jboss-common-4.0.2.jar.<http://repo1.maven.org/maven2/jboss/jboss-common/4.0.2%0A/jboss-common-4.0.2.jar.>
> ..
> [ivy:retrieve] ...........................
> [ivy:retrieve] ............... (457kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] jboss#jboss-common;4.0.2!jboss-common.jar
> (2763ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/jboss/jboss-minimal/4.0.2
> /jboss-minimal-4.0.2.jar.<http://repo1.maven.org/maven2/jboss/jboss-minimal/4.0.2%0A/jboss-minimal-4.0.2.jar.>
> ..
> [ivy:retrieve] .................. (163kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ]
> jboss#jboss-minimal;4.0.2!jboss-minimal.jar
> (1245ms)
> [ivy:retrieve] downloading
>
> http://repo1.maven.org/maven2/jboss/jboss-j2se/200504122039/jboss-j2se-200504122039.jar
> ..
> .
> [ivy:retrieve] .............................
> [ivy:retrieve] ..... (350kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ]
> jboss#jboss-j2se;200504122039!jboss-j2se.jar (2079ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/concurrent/concurrent/1.3.4
> /concurrent-1.3.4.jar.<http://repo1.maven.org/maven2/concurrent/concurrent/1.3.4%0A/concurrent-1.3.4.jar.>
> ..
> [ivy:retrieve] ................... (184kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] concurrent#concurrent;1.3.4!concurrent.jar
> (1514ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/slide/webdavlib/2.0/webdavlib-2.0.jar ...
> [ivy:retrieve] ......... (128kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] slide#webdavlib;2.0!webdavlib.jar (1255ms)
> [ivy:retrieve] downloading
> http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.2
> /xercesImpl-2.6.2.jar.<http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.2%0A/xercesImpl-2.6.2.jar.>
> ..
> [ivy:retrieve] .......................
> [ivy:retrieve] .....................
> [ivy:retrieve] ....................
> [ivy:retrieve] ......................... (986kB)
> [ivy:retrieve] .. (0kB)
> [ivy:retrieve]     [SUCCESSFUL ] xerces#xercesImpl;2.6.2!xercesImpl.jar
> (6257ms)
> [ivy:retrieve] :: resolution report :: resolve 29822ms :: artifacts dl
> 86637ms
> [ivy:retrieve]     :: evicted modules:
> [ivy:retrieve]     commons-collections#commons-collections;2.1 by
> [commons-collections#commons-collections;2.1.1] in [default]
> [ivy:retrieve]     commons-logging#commons-logging;1.0.2 by
> [commons-logging#commons-logging;1.0.4] in [default]
> [ivy:retrieve]     jgroups#jgroups-all;2.2.7 by [jgroups#jgroups-all;2.2.8]
> in [default]
>    ---------------------------------------------------------------------
>    |                  |            modules            ||   artifacts   |
>    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
>    ---------------------------------------------------------------------
>    |      default     |   28  |   25  |   25  |   3   ||   27  |   25  |
>    ---------------------------------------------------------------------
> [ivy:retrieve]
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve]         [FAILED     ] javax.transaction#jta;1.0.1B!jta.jar:
> (0ms)
> [ivy:retrieve]     ==== shared: tried
> [ivy:retrieve]
> /home/kent/.ivy2/shared/javax.transaction/jta/1.0.1B/jars/jta.jar
> [ivy:retrieve]     ==== public: tried
> [ivy:retrieve]
> http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
> [ivy:retrieve]         [FAILED     ] javax.security#jacc;1.0!jacc.jar:
> (0ms)
> [ivy:retrieve]     ==== shared: tried
> [ivy:retrieve]
> /home/kent/.ivy2/shared/javax.security/jacc/1.0/jars/jacc.jar
> [ivy:retrieve]     ==== public: tried
> [ivy:retrieve]
> http://repo1.maven.org/maven2/javax/security/jacc/1.0/jacc-1.0.jar
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]         ::              FAILED DOWNLOADS            ::
> [ivy:retrieve]         :: ^ see resolution messages for details  ^ ::
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]         :: javax.transaction#jta;1.0.1B!jta.jar
> [ivy:retrieve]         :: javax.security#jacc;1.0!jacc.jar
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>

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