Hi,

 

A question  about the configuration mappings… Does the mapping of Maven project properties to Mojo fields also

work for any complex objects used to configure the plugin?

 

In other words, in the following code, will the ‘project’ field of the ComplexObject parameter be assigned ?

 

 

 

public class SomeMojo extends AbstractMojo {

 

      /**

      * @parameter

      */

      private ComplexObject complexObject;

 

}

 

public class ComplexObject {

 

      /**

     * The maven project.

*

* @parameter _expression_="${project}"

* @required

* @readonly

*/

      private MavenProject project;

 

}

 

Thanks for your answer,

 

Christophe

 

 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to