[ 
http://jira.codehaus.org/browse/MHIBERNATE-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234151#action_234151
 ] 

Dieter König commented on MHIBERNATE-87:
----------------------------------------

I think that hbm2ddl is also bound in a wrong way on the lifecycle. The 
execution of hbm2ddl in fact generates resources namely the ddl-file. IMHO this 
plugin should just bound to "generate-resources" (or if you like to 
"process-resources") phase in a normal way not requiring any phase to execute 
before.

> unwanted multiple executions of hbmtemplate
> -------------------------------------------
>
>                 Key: MHIBERNATE-87
>                 URL: http://jira.codehaus.org/browse/MHIBERNATE-87
>             Project: Maven 2.x Hibernate Plugin
>          Issue Type: Bug
>          Components: hbmtemplate
>    Affects Versions: 2.2
>            Reporter: Ulrich Roell
>            Assignee: Johann Reyes
>             Fix For: 3.0
>
>
> Hi,
> i'm working on a project, where we want to run multiple executions of the 
> goals hbmtemplate and hbm2java with many different hibernate configurations 
> together in the same phase (generate-sources). This works not like we want: 
> the fact, that goal hbm2java always executes phase "process-resources" prior 
> to its own execution, results in unwanted additional executions of 
> hbmtemplate goals, which make the duration of the entire execution too long.
> Is it really essential to execute phase "process-resources" in goal hbm2java 
> or could we make this optional somehow? our solution was to remove @execute 
> phase="process-resources" in class Hbm2JavaGeneratorMojo.java.

-- 
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