Hi!

I've looked at your example and we should imo add a description about that to 
the documentation on the plugins usage page.

Guess there are a few people out there who like/need to use different versions 
of hibernate with that plugin. (Had the same with the openjpa-maven-plugin).

LieGrue,
strub

--- On Sat, 1/22/11, Ed Bras <z...@debrasjes.com> wrote:

> From: Ed Bras <z...@debrasjes.com>
> Subject: RE: [mojo-user] hibernate 3.6.0.Final usage ?
> To: user@mojo.codehaus.org
> Date: Saturday, January 22, 2011, 5:03 PM
> 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
> 
> 
> 




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to