[ 
https://jira.codehaus.org/browse/MHIBERNATE-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283580#comment-283580
 ] 

Dmitry Zemnitskiy commented on MHIBERNATE-123:
----------------------------------------------

btw, these two slf4j bindings came from following dependencies:


[DEBUG] org.codehaus.mojo:hibernate3-maven-plugin:jar:3.0-20110910.032810-8:
...
[DEBUG]    org.slf4j:slf4j-nop:jar:1.6.1:runtime
...
[DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
...
[DEBUG]       org.slf4j:slf4j-jdk14:jar:1.5.6:runtime


> 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