[ 
http://jira.codehaus.org/browse/MGROOVY-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dillon closed MGROOVY-172.
--------------------------------

    Resolution: Fixed

I've updated the project adapter to delegate methods to the original, 
overriding the needed bits for property handling still.  You can use 
getDelegate() to get the original, though I don't think that will be needed 
anymore.

> It is not possible to attach an artifact using gmaven-plugin:execute
> --------------------------------------------------------------------
>
>                 Key: MGROOVY-172
>                 URL: http://jira.codehaus.org/browse/MGROOVY-172
>             Project: GMaven
>          Issue Type: Bug
>          Components: execute
>    Affects Versions: 1.0-rc-3
>            Reporter: peter royal
>            Assignee: Jason Dillon
>             Fix For: 1.0-rc-4
>
>
> the {{GroovyMavenProjectAdapter}} prevents one from doing something like:
> {code}
> helper = session.lookup("org.apache.maven.project.MavenProjectHelper")
> helper.attachArtifact( project, "jar", "jar", jarFile )
> {code}
> because the {{project}} is the throwaway copy of the real project.
> a workaround is to make the private *original* field accessible and use that 
> with the MavenProjectHelper

-- 
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