The following steps walk through the process of installing it manually. The last step contains a new pom file with the new freemarker dependencies. It's working great for me using the antrun plugin and hbm2java.
Download and unzip the tools distribution from hibernate.org.
Find
hibernate-tools.jar. It is located at:
Code:
UNZIP_DIR/plugins/org.hibernate.eclipse_3.1.0.beta5/lib/tools/hibernate-tools.jar
Rename it to
hibernate-tools-3.1.0.beta5.jar and move it to this location:
Code:
MAVEN_REPO_DIR/org/hibernate/hibernate-tools/3.1.0.beta5/hibernate-tools-3.1.0.beta5.jar
Create a file called
hibernate-tools-3.1.0.beta5.pom in the same directory you place the jar file. Use your favorite text editor and copy and paste the following into the file:
Code:
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-tools</artifactId>
<version>3.1.0.beta5</version>
<packaging>jar</packaging>
<name>Hibernate Tools</name>
<url>http://tools.hibernate.org</url>
<description>Forward- and reverse-engineering tools for Eclipse and Ant.</description>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
<version>3.2.0.cr2</version>
</dependency>
<dependency>
<groupId>freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.4</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>jtidy</artifactId>
<version>r8-21122004</version>
</dependency>
</dependencies>
</project>
It should now be all set.