Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant