Improved logging
----------------

                 Key: MHIBERNATE-62
                 URL: http://jira.codehaus.org/browse/MHIBERNATE-62
             Project: Maven 2.x Hibernate Plugin
          Issue Type: Improvement
          Components: hbm2ddl
    Affects Versions: 2.0-alpha-2
            Reporter: Anthony Whitford
            Assignee: Johann Reyes


It is frustrating to have the plugin fail inexplicably.  I see the stack trace, 
such as the following, but it is unclear which class is being processed, or 
what exactly is wrong.  I would like to see improved logging so that if I run 
{{mvn -X}}, I could see more details as to what is being processed.

{noformat}
Caused by: java.lang.NullPointerException
        at 
org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecondPass.java:135)
        at 
org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1054)
        at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:296)
        at 
org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1039)
        at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1211)
        at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154)
        at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:847)
        at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:178)
        at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:235)
{noformat}

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