I can't seem to build a project and it can't seem to find the <propertyFile> for hibernate3 plugin.  The error I get is hibernate dialect not set.  It's set in the <propertyFile> given.  Does anyone know if I'm supposed to set anything up in $MAVEN_HOME/conf for this to work.

Could I be missing the install of the hibernate3 plugin.  I'm fairly new to maven2.  Also I get the error on schema-update.  I'm in eclipse using the maven eclipse plugin.

Here's the pom snippet ....

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>hibernate3-maven-plugin</artifactId>
                <configuration>
                    <hibernate>
                        <propertyFile>src/test/resources/database.properties</propertyFile>
                    </hibernate>
                </configuration>
                <executions>
                    <execution>
                        <phase>test-compile</phase>
                        <goals>
                            <goal>schema-update</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>${jdbc.groupId}</groupId>
                        <artifactId>${jdbc.artifactId}</artifactId>
                        <version>${ jdbc.version}</version>
                    </dependency>
                </dependencies>
            </plugin>


Reply via email to