Bug in hibernate3-maven-plugin configuration documentation
----------------------------------------------------------

                 Key: MHIBERNATE-56
                 URL: http://jira.codehaus.org/browse/MHIBERNATE-56
             Project: Maven 2.x Hibernate Plugin
          Issue Type: Bug
          Components: hbm2java
    Affects Versions: 2.0-alpha-2
            Reporter: Andreas Wuest
            Assignee: Johann Reyes
            Priority: Minor


Hi all,

I doubt that the example shown on page
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/examples/phase_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 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email

Reply via email to