Hello,
I'm developing an application using Maven2 and I wanted to extend it with Hibernate. I was using Ant before to achieve the same, but since Maven suits my needs better, I decided not to use Ant anymore.
The thing is, that I'm not sure if I can achieve the same effect in Maven, as the one I achieved using Ant.
This is what I am aiming for:
- using Hibernate Annotations
- loading and saving DB content into XML file
The thing is that after searching web a little, I have found some examples of Maven-Hibernate integration but none of those examples used Annotations. So I searched more and I have found "hibernate3:hbm2hbmxml" plugin. This can be found
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/.
After that I've stopped searching and decided to ask people with more experience for help. The things is, that I DON'T want to add additional dependencies to some 3rd party plugins if this can be avoided. This is because I don't want to waste my time digging thru more tutorials and documentation. I want to focus on Maven and Hibernate only. So, since I haven't found anything on hibernate.org, I'm asking You guys for help.
Just tell me if those 2 prerequisites can be fulfilled using Hibernate only, or do I have to look up for some external tools. Some guides, hints, tutorials, links would be appreciated.
Thanks in advance.
Łukasz Bachman
P.S. I hope this post doesn't violate any of forum rules, even though maybe this question was already answered (couldn't find it in search results).