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


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