Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
Description
It looks like MNG-674 fixed @parameter aliasing for simple types, but not for Map.
I declare this in the plugin:
/**
- The environment variables.
* - @parameter alias="environment"
- @required
*/
private Map<String, String> environmentVariables;
and this in the POM:
<environment>
<FOO>bar</FOO>
</environment>
This fails, but using a simple type works:
/**
- The environment variables.
* - @parameter alias="environment"
- @required
*/
private String environmentVariables;
[...]
<environment>bar</environment>
Attachments
Issue Links
- is related to
-
MNG-674 Plugin @parameter alias does not seem to work
- Closed