Hi,

I think I have encountered a bug (with Maven 3.6.3). While
${project.baseUri} is available during for POM interpolation, it is not
injected into mojos:

Neither

>   @Parameter(defaultValue = "${project.baseUri}", readonly = true, required = 
> true)
>   private String projectBaseUri;

nor

>   @Parameter(defaultValue = "${project.baseUri}", readonly = true, required = 
> true)
>   private URI projectBaseUri;

work, which is (at least to me) surprising.

Is this expected behavior, a bug, or am I simply doing something wrong
in my @Parameter expressions?

Best wishes,

Andreas

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to