Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.1
-
None
Description
For a mojo parameter like
/** * @parameter default-value="${project.url}" * @required */ String url
Maven will not validate whether the default value actually evaluates to a non-null value.
This is a subtle difference from
/** * @parameter expression="${project.url}" * @required */ String url
where the non-null validation will be performed.
Attachments
Issue Links
- is related to
-
MNG-4615 [regression] @required plugin parameters are not validated
- Closed