calling a groovy plugin with -DgroupId
--------------------------------------

                 Key: MGROOVY-49
                 URL: http://jira.codehaus.org/browse/MGROOVY-49
             Project: Maven 2.x Groovy Plugin
          Issue Type: Bug
            Reporter: Raphaël Piéroni
            Assignee: Jason Dillon


When using a hand made groovy maven plugin, the option -DgroupId make the 
runnng fails.

I a plugin i created, whenever i got groupId (defined as a groovy mojo 
parameter)
or got by calling System.getProperty("groupId"), 
the running fails before the plugin is called by asking:

1) a.group.id:groovy-mojo-common:jar:1.0-beta-1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
[...]

  Path to dependency: 
        1) org.codehaus.mojo:myexample-maven-plugin:maven-plugin:1.0-SNAPSHOT
        2) org.codehaus.mojo.groovy:groovy-mojo-support:jar:1.0-beta-1-SNAPSHOT
        3) a.group.id:groovy-mojo-common:jar:1.0-beta-1-SNAPSHOT


I already seen this kind of bug when a dependency pom uses 
${CantRememeberTheExactProperty}
in dependencyManagement of its a parent pom 




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to