try this

        <dependency>
            <groupId>org.hibernate.javax.persistence</groupId>
            <artifactId>hibernate-jpa-2.0-api</artifactId>
            <version>1.0.0.Final</version>
        </dependency>


with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org




2010/5/25 Ben Dotte <ben.do...@gmail.com>

> I had the same issue; I had to add a new Hibernate repository:
>
> <repository>
>            <id>hibernate</id>
>            <url>https://repository.jboss.org/nexus/content/groups/public/
> </url>
>        </repository>
>
> Using Hibernate Annotations I also had to add this for some reason:
>
> <dependency>
>            <groupId>javax.persistence</groupId>
>            <artifactId>persistence-api</artifactId>
>            <version>1.0</version>
>        </dependency>
>
> I found something at the time about Hibernate changing around their
> maven repo location, I guess that is why?
>
> Anyway hope that helps,
> Ben
>
> On Mon, May 24, 2010 at 7:46 PM, Greg Pagendam-Turner
> <g...@liftyourgame.com> wrote:
> > Hi,
> >
> > I'm trying to build my 5.1.0.5 application against 5.2.0-SNAPSHOT.
> >
> > When I switch versions tapestry-hibernate seems to want to pull in a
> version
> > of hibernate called 3.5.2-Final
> >
> > I've not been able to find a repository for this version of hibernate. Do
> I
> > need to add a further repository to the pom?
> >
> > I've tried creating a 5.2.0-SNAPSHOT application using the Quickstart.
> This
> > all works fine until I add:
> >
> > <dependency>
> > <groupId>org.apache.tapestry</groupId>
> > <artifactId>tapestry-hibernate</artifactId>
> > <version>${tapestry-release-version}</version>
> > </dependency>
> >
> > The tapestry release is defined as:
> > <tapestry-release-version>5.2.0-SNAPSHOT</tapestry-release-version>
> >
> > I'd appreciate any help.
> >
> > Regards,
> >
> > Greg.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to