Plugin @Parameter alias does not work for Maps ----------------------------------------------
Key: MNG-4997 URL: http://jira.codehaus.org/browse/MNG-4997 Project: Maven 2 & 3 Issue Type: Bug Components: Plugin API Affects Versions: 2.2.1 Reporter: Gili 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> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira