Hibernate 3.6.0 and Maven
Does anyone have a working pom file for Hibernate 3.5.x or 3.6.x? This is what I have now: dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.5.3-Final/version /dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-entitymanager/artifactId version3.5.3-Final/version /dependency [ERROR] Failed to execute goal on project ctjava: Could not resolve dependencies for project net.cuprak.web:ctjava:war:1.0-SNAPSHOT: Could not find artifact org.hibernate:hibernate:jar:3.5.3-Final in jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/) - [Help 1] I look at the repository and it looks to me like that dependency exists. I am trying to get off of Hibernate 3.2.5. Thanks, -Ryan - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Hibernate 3.6.0 and Maven
Hello Ryan You just need this: dependency groupIdorg.hibernate/groupId artifactIdhibernate-entitymanager/artifactId version3.6.0.Final/version /dependency Johann On Tue, Jan 18, 2011 at 11:25 AM, Ryan Cuprak rcup...@me.com wrote: Does anyone have a working pom file for Hibernate 3.5.x or 3.6.x? This is what I have now: dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.5.3-Final/version /dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-entitymanager/artifactId version3.5.3-Final/version /dependency [ERROR] Failed to execute goal on project ctjava: Could not resolve dependencies for project net.cuprak.web:ctjava:war:1.0-SNAPSHOT: Could not find artifact org.hibernate:hibernate:jar:3.5.3-Final in jboss-public-repository-group ( https://repository.jboss.org/nexus/content/groups/public-jboss/) - [Help 1] I look at the repository and it looks to me like that dependency exists. I am trying to get off of Hibernate 3.2.5. Thanks, -Ryan - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Hibernate 3.6.0 and Maven
version3.5.3-Final/version 3.5.3-Final is really terrible name for a version. [ERROR] Failed to execute goal on project ctjava: Could not resolve dependencies for project net.cuprak.web:ctjava:war:1.0-SNAPSHOT: Could not find artifact org.hibernate:hibernate:jar:3.5.3-Final in jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/) - [Help 1] Pay special attention to the error -- could not find find artifact ...:jar:... And sure enough, the jar file for this version does not exist in that repo -- they just have a pom and signature files. Look for yourself: https://repository.jboss.org/nexus/content/groups/public-jboss/org/hibernate/hibernate/3.5.3-Final/ That appears to simply be an aggregator pom used for the build. I think you probably want to have a dependency on org.hibernate/hibernate-core or something. That has a jar for version 3.5.3-Final, and a pom with proper dependencies etc. But I'm not an expert on Hibernate so I can't be certain. PS- Probably these questions should be directed to the Hibernate Users list in the future. They ARE experts on Hibernate, and I bet a bunch of them are also using Maven. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org