Hello,

I'm facing a problem and would like a help to figure it out.

I'm developing a mojo (maven 3.3) that contains the following:

@Parameter(required=true)
    private ManifestConfiguration manifest;

and in the bean (in the same package) I have:

@Parameter(defaultValue = "${project.name}")
    private String name;

What is happen is that the default value is not being injected into the
name field, when executing the mojo I'm getting null for it.

The strange is that for other values that I've set in a test POM they are
being injected properly.

Is this supposed to work, right?

thanks,

Cristiano

Reply via email to