-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Maven2 and hibernate tools
PostPosted: Wed Jan 04, 2006 2:44 pm 
Newbie

Joined: Wed Jan 04, 2006 2:29 pm
Posts: 8
The latest hibernate tools for maven2 at the moment is 3.1.0.alpha5, could anyone of the dev's contribute to ibiblio and the maven2 project in general the latest tools version when they come out?
http://www.ibiblio.org/maven2/org/hiber ... ate-tools/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 8:10 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
As answered many times before: No. We don't use Maven and thus cannot test nor verify it. This is a job for the Maven community.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Maven2 w/ Hibernate
PostPosted: Tue Jan 17, 2006 3:02 pm 
Newbie

Joined: Tue Jan 17, 2006 2:49 pm
Posts: 2
I'm struggling through the same issues.

It's not ideal; but when the official Maven repository doesn't contain a file you need, it is still possible to build.

You can obtain a copy of the right version of the right file by downloading normally.

The maven2 install:install-file goal will copy the jar file into your local Maven 2 repository, putting it in the right place with the right name.

One example of this is on my blog:

http://howardlewisship.com/blog/2006/01 ... n-api.html

I got the 3.1.0.beta2 distro of hibernate tools and extracted the hibernate-tools.jar to a temporary directory.

bash-3.00$ mvn install:install-file -Dfile=hibernate-tools.jar -DgroupId=org.hibernate -DartifactId=hibernate-tools -Dversion=3.1.0.beta2 -Dpackaging=jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building ePluribus Sample Application
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO] ----------------------------------------------------------------------------
[INFO] [install:install-file]
[INFO] Installing c:\workspace\epluribus\hibernate-tools.jar to C:\Documents and Settings\Howard\.m2\repository\org\hibe
rnate\hibernate-tools\3.1.0.beta2\hibernate-tools-3.1.0.beta2.jar
[INFO] ----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Jan 17 10:58:42 PST 2006
[INFO] Final Memory: 2M/4M
[INFO] ----------------------------------------------------------------------------
bash-3.00$

I'm still struggling to get the rest working; there's some kind of incompatibility between the tools and the version of Hibernate I'm using.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.