build success is reported but no schema is generated.
-----------------------------------------------------

                 Key: MHIBERNATE-123
                 URL: https://jira.codehaus.org/browse/MHIBERNATE-123
             Project: Maven 2.x Hibernate Plugin
          Issue Type: Bug
          Components: hbm2ddl
    Affects Versions: 3.0
            Reporter: Dmitry Zemnitskiy
            Assignee: Johann Reyes


mvn  hibernate3:hbm2ddl reports success but no *.sql file is created neither 
database is modified

it is not possible to see what happens, due to suppressed logging, but probably 
this is also a reason why task fails

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/C:/Users/User/.m2/repository/org/slf4j/slf4j-nop/1.6.1/slf4j-nop-1.6.1.jar!/org/slf4j
/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/C:/Users/User/.m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar!/org/s
lf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS


configuration is following:

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>hibernate3-maven-plugin</artifactId>
                                <version>3.0-SNAPSHOT</version>
                                <configuration>
                                        <hibernatetool>
                                                <annotationconfiguration
                                                        
configurationfile="${basedir}/hibernate.xml" />
                                                <hbm2ddl export="true" 
update="true" console="true" outputfilename="schema.sql"
                                                        format="true" />
                                        </hibernatetool>
                                </configuration>
                        </plugin>

actually what was a reason that slf4j-nop added to dependencies? due to 
http://jira.codehaus.org/browse/MNG-2448 it is not possible to exclude it in 
project's pom


--
This message is automatically generated by JIRA.
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