Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Maven plugin issue #46

Open
MikeThomsen opened this issue Jun 30, 2014 · 0 comments
Open

Maven plugin issue #46

MikeThomsen opened this issue Jun 30, 2014 · 0 comments

Comments

@MikeThomsen
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant