Oeppss, just reread your email and notice you talk about the pluginManagement maven part. Just added it, and that seem that work... But strange that it doesnt' work when I add the dependency to the configuration part. This works, thanks: <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>hibernate3-maven-plugin</artifactId> <version>2.2</version> <dependencies> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>3.6.0.Final</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement>
> -----Original Message----- > From: Stevo Slavic [mailto:ssla...@gmail.com] > Sent: zaterdag 22 januari 2011 15:20 > To: user@mojo.codehaus.org > Subject: Re: [mojo-user] hibernate 3.6.0.Final usage ? > > Couldn't you have defined hibernate 3.6.0.Final as plugin dependency > in plugin management section? > > Regards, > Stevo. > > On Sat, Jan 22, 2011 at 3:16 PM, Ed Bras <z...@debrasjes.com> wrote: > > I upgraded to hibernate version 3.6.0.Final and version 2.2 of the > plugin > > didn't work anymore as it uses an older hibernate version and throw > an > > exception. > > I solved this by changing the hibernate-core dependency version in > the > > pom.xml plugin from 3.3.1.GA to 3.6.0.Final (in my local repo). > > > > What are the plans on solving this issue? > > I tried to look in the mailing list archive but can't find it as the > link is > > incorrect, sorry. > > Ed > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list, please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email