This is an example configuration to use with the hbmtemplate goal.
<project>
...
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.1</version>
<configuration>
<componentProperties>
<template>src/main/resources/CustomPojo.ftl</template>
</componentProperties>
</configuration>
</plugin>
</plugins>
</build>
...
</project>