New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling with maven a generated pom with Grails v2.5.0 it does not compile (but it does work with Grails v2.4.5) #67
Comments
We have noticed the same issue with 2.5.0 and have reverted back to 2.4.4. |
this looks like 2 versions of Groovy on the classpath, can you post the output of |
$ mvn dependency:tree Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0 |
Any updates on this issue? |
I can see that the 2.4.5 version of the plugin on Github was updated to use the new Groovy version, but it's not available through the central Maven repository yet? |
It would be really nice if a newer version of the plugin could be released to fix that issue. Thanks. |
I have released 2.4.6 which addresses this and works with 2.5.1 It may take a little while to sync with Maven central. |
$ mvn package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.twintags:bpmn-webapp:grails-app:1.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 160, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building bpmn-webapp 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- grails-maven-plugin:2.4.4:validate (default-validate) @ bpmn-webapp ---
[INFO]
[INFO] --- grails-maven-plugin:2.4.4:init (default-init) @ bpmn-webapp ---
[INFO]
[INFO] --- grails-maven-plugin:2.4.4:config-directories (default-config-directories) @ bpmn-webapp ---
[INFO]
[INFO] --- grails-maven-plugin:2.4.4:maven-compile (default-maven-compile) @ bpmn-webapp ---
|Loading Grails 2.5.0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.182 s
[INFO] Finished at: 2015-04-22T16:52:26+02:00
[INFO] Final Memory: 23M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.grails:grails-maven-plugin:2.4.4:maven-compile (default-maven-compile) on project bpmn-webapp: Execution default-maven-compile of goal org.grails:grails-maven-plugin:2.4.4:maven-compile failed: java.lang.reflect.InvocationTargetException: org.codehaus.groovy.runtime.DefaultGroovyMethods.each(Ljava/util/Collection;Lgroovy/lang/Closure;)Ljava/util/Collection; -> [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/PluginExecutionException
The text was updated successfully, but these errors were encountered: