jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Hibernate3 Maven Plugin
  • Hibernate3 Maven Plugin
  • MHIBERNATE-119

Maven 2.x Hibernate Plugin hangs

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not A Bug
  • Affects Version/s: 2.2
  • Fix Version/s: None
  • Component/s: hbm2ddl
  • Labels:
    None
  • Environment:
    Maven 2.2.0
  • Number of attachments :
    0

Description

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

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
AntonSirotinkin added a comment - 25/Jul/11 3:59 AM

Sorry, it works fine, but very slow

Show
AntonSirotinkin added a comment - 25/Jul/11 3:59 AM Sorry, it works fine, but very slow
Hide
Permalink
Piotr Sobczyk added a comment - 25/Apr/12 1:41 AM

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!

Show
Piotr Sobczyk added a comment - 25/Apr/12 1:41 AM 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!

People

  • Assignee:
    Johann Reyes
    Reporter:
    AntonSirotinkin
Vote (0)
Watch (1)

Dates

  • Created:
    25/Jul/11 3:58 AM
    Updated:
    25/Apr/12 1:41 AM
    Resolved:
    25/Jul/11 3:59 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.