maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Pemberton (JIRA)" <>
Subject [jira] (MNG-5422) Plexus Components not Injected to AntMojoWrapper
Date Fri, 11 Jan 2013 03:33:13 GMT
Andy Pemberton created MNG-5422:

             Summary: Plexus Components not Injected to AntMojoWrapper
                 Key: MNG-5422
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Plugins and Lifecycle
    Affects Versions: 3.0.3
         Environment: OS X 10.7.5
            Reporter: Andy Pemberton

I am attempting to build a Maven plugin written in Ant, using the AntMojoWrapper API.

Upon configuring the MavenProjectHelper in *.mojos.xml as follows:

   <name>projectHelper</name>   <expression>${}</expression>
   <description>maven project helper object</description>

I see where the requirements entry is written to the plugin.xml:


But when executing the plugin, I don't believe the component is added as an Ant reference.
I believe this should happen in org.codehaus.plexus.component.factory.ant.AntScriptInvoker
but I never see the addComponentRequirement get called.

I am using:




This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message