Maven plugin issue
Opened this issue · 0 comments
MikeThomsen commented
I'm not at a place where I can send you a pull request, so this is the best I can do. I found a bug in AbstractGrailsMojo.java around line 705. Your code is looking for the artifactId and groupId for groovy backward (artifact in the group, and vice versa):
Here's the corrected code:
String groupId = artifact.getGroupId();
String artifactId = artifact.getArtifactId();
if (groupId.equals("org.codehaus.groovy") &&
(artifactId.equals("groovy-all") || artifactId.equals("groovy"))) {
return artifact;
}
Otherwise, on Grails 2.4.2 it looks for Groovy 2.4.2.