Why are you trying to build an ivy file for hibernate? The latest versions of hibernate are in the red hat/jboss maven repository here:
http://repository.jboss.org/nexus/content/groups/public-jboss/ When you import hibernate into your own ivy repository (you can reuse the build.xml in the build-a-ivy-repository example), the pom.xml is converted to an ivy.xml file. Note if you need to import a lot of libraries from maven, you may need to search across multiple repositories: - Netty/JBoss (above) - projects sponsored by Red Hat - Java/Oracle (http://download.java.net/maven/2/) - for J2EE jars (such as mail) because the Oracle license bars the other maven repositories from distributing the jars - Apache nightly (https://repository.apache.org/content/repositories/snapshots/) - if you need to work off nightly apache code because a feature you require hasn't been released yet. - Jetty (http://oss.sonatype.org/content/groups/jetty/) - if you cannot find a specific jetty jar version in the main maven repository (most likely not necessary) - Maven main (http://repo1.maven.org/maven2/) - everything else. Hope this is helpful. regards, Gareth Adib-5 wrote: > > Hi, > > I am trying to figure out how to add a complex project such as > hibernate to a private ivy repository. I am starting with a > hibernate.zip file downloaded from hibernate.org and it contains > hibernate3.jar and the jpa jar should i be creating a single ivy.xml > for all or hibernate in the repo with multiple configuration or should > I be creating multiple modules one module for jpa api and one module > for the hibernate3.jar ... etc. > > In the case of spring should be creating a single organization called > springframework.org with multiple modules one module for each spring > part or should be creating a single module called springframework and > add all the various .jar files to it. > > Any advice on the ivy way is greatly appreciated. I know that ivy can > use a maven repo but my goal is not create a maven repo, i want to > create an ivy repo optimized for ivy. What are are the differences > between an ivy repo and a maven repo? > > Cheers > Adib > > -- View this message in context: http://old.nabble.com/How-to-add-a-complex-project-such-as-Spring-or-Hibernate-to-an-ivy-private-Repository--tp31085266p31391845.html Sent from the ivy-user mailing list archive at Nabble.com.
