Hi,

I derived a class from another plugin but the parameter were not initialized. 
What is the trick to get it initialized?

Example: this is the super class:

abstract public class AbstractAjcMojo extends AbstractMojo
{
    /**
     * The maven project.
     * 
     * @parameter expression="${project}"
     * @required @readonly
     */
    protected MavenProject project;
    ...

and this is my class:

public class XAjcCompileMojo extends AbstractAjcMojo {
    /**
     * The maven project.
     * 
     * @parameter expression="${project}"
     * @required @readonly
     */
    private MavenProject xproject;
    ...

"xproject" of the derived class is initialized by Plexus but not "project" from 
the super class. Why?

regards,
Oliver

Reply via email to