Hi all,

I doubt that the example shown on page
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/examples/p
hase_embedding.html
Really works. I just changed the example to generate the java source files
using the
Hbm2java goal. However it does not work, if i just copy the shown example. 
However it does work, if i place the executions tag NOT
Within the configuration tag. I guess this is a documentation bug, is it ?

Does not work (at least for me):

<plugin>
        ....
        <configuration>
                <executions>
                        <execution>
                                <phase>process-classes</phase>
                                <goals>
                                        <goal>hbm2java</goal>
                                </goals>
                        </execution>
                </executions>
        </configuration>
<plugin>

Does work for me:

<plugin>
        ....
        <executions>
                <execution>
                        <phase>process-classes</phase>
                        <goals>
                                <goal>hbm2java</goal>
                        </goals>
                </execution>
        </executions>
        <configuration>
                .....
        </configuration>
<plugin>


Cheers,
Andy 



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to