Maven 1.x Hibernate Plugin

maven-hibernate needs cglib when sending SQL directly to the database

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

I got "class not found" errors when running schema export commands
until I found out that Hibernate wants to access the cglib which is
not in the project.xml descriptor of the plugin.

I use the cglib-all-2.0.2.jar directly from sf.net which needs uploading
to ibiblio.org

The attached patch adds the dependency to the plugin.

Please apply.

Activity

Hide
David Eric Pugh added a comment -

I used a slightly different cglib jar that was already uploaded to ibiblio. The unit test test-hibernate-schema-export seems to work cleanly.

Show
David Eric Pugh added a comment - I used a slightly different cglib jar that was already uploaded to ibiblio. The unit test test-hibernate-schema-export seems to work cleanly.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: