Hi,
Did I misunderstand how @parameter alias is supposed to work, or is this a
legitimate bug?
My plugin contains:
/**
* The environment variables.
*
* @parameter alias="environment"
* @required
*/
@SuppressWarnings("UWF_UNWRITTEN_FIELD")
private Map<String, String> environmentVariables;
The referencing POM contains:
<configuration>
<environment>
<FOO>bar</FOO>
</environment>
</configuration>
This fails, as does:
<configuration>
<environmentVariables>
<FOO>bar</FOO>
</environmentVariables>
</configuration>
but if I remove "alias" from the plugin and use the second POM variation
then it works. What am I doing wrong?
Thanks,
Gili
--
View this message in context:
http://maven.40175.n5.nabble.com/parameter-alias-does-not-seem-to-work-tp3360329p3360329.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]