Ich versuche gerade ein Grails Projekt mit Maven aufzusetzen. Maven bietet dafür einen eigenen Archetype an. Das anlegen der POM funktioniert auch und mvn initialise funktioniert auch. Wenn ich dann allerdings ein mvn clean ausführe, bricht das Skript mit folgendem Build Failure ab.
[INFO] --- grails-maven-plugin:1.3.6:maven-clean (default) @ SoapServiceTester --- [INFO] Using Grails 1.3.6 Running pre-compiled script SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.243s [INFO] Finished at: Tue Feb 01 00:09:37 CET 2011 [INFO] Final Memory: 20M/124M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.grails:grails-maven-plugin:1.3.6:maven-clean (default) on project SoapServiceTester: Unable to start Grails: java.lang.reflect.InvocationTargetException: org/slf4j/impl/StaticLoggerBinder: org.slf4j.impl.StaticLoggerBinder -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException