[ 
http://jira.codehaus.org/browse/MGROOVY-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160660#action_160660
 ] 

Jason Dillon commented on MGROOVY-172:
--------------------------------------

I know its private ATM, but IIRC Groovy ignores access modifers (for better or 
worse).  I will add an accessor for clarity though.

> 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