[
https://jira.codehaus.org/browse/MHIBERNATE-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297165#comment-297165
]
Piotr Sobczyk commented on MHIBERNATE-119:
------------------------------------------
I think it's still not OK. Should it really take THAT long? My first thought
was too that Maven hanged. I thought that maybe the problem is size of project
(number of entities) or project classpath's to search, so I tried it on minimal
project and it took very long too!
> Maven 2.x Hibernate Plugin hangs
> --------------------------------
>
> Key: MHIBERNATE-119
> URL: https://jira.codehaus.org/browse/MHIBERNATE-119
> Project: Maven 2.x Hibernate Plugin
> Issue Type: Bug
> Components: hbm2ddl
> Affects Versions: 2.2
> Environment: Maven 2.2.0
> Reporter: AntonSirotinkin
> Assignee: Johann Reyes
>
> During execution of
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>hibernate3-maven-plugin</artifactId>
> <version>2.2</version>
> <executions>
> <execution>
> <phase>process-classes</phase>
> <goals>
> <goal>hbm2ddl</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <components>
> <component>
> <name>hbm2ddl</name>
> <implementation>jpaconfiguration</implementation>
> </component>
> </components>
> <componentProperties>
>
> <persistenceunit>custis-shop-model-production</persistenceunit>
> <outputfilename>schema.ddl</outputfilename>
> <drop>false</drop>
> <create>true</create>
> <export>false</export>
> <format>true</format>
> </componentProperties>
> </configuration>
> </plugin>
> All hangs after
> [INFO] [hibernate3:hbm2ddl {execution: default}]
> 12:38:14,500 INFO org.hibernate.cfg.annotations.Version - Hibernate
> Annotations 3.4.0.GA
> 12:38:14,516 INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA
> 12:38:14,516 INFO org.hibernate.cfg.Environment - hibernate.properties not
> found
> 12:38:14,516 INFO org.hibernate.cfg.Environment - Bytecode provider name :
> javassist
> 12:38:14,516 INFO org.hibernate.cfg.Environment - using JDK 1.4
> java.sql.Timestamp handling
> 12:38:14,547 INFO org.hibernate.annotations.common.Version - Hibernate
> Commons Annotations 3.1.0.GA
> 12:38:14,547 INFO org.hibernate.ejb.Version - Hibernate EntityManager
> 3.4.0.GA
> No exception, maven is still doing something..
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.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