You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jonathan S Fisher (JIRA)" <ji...@apache.org> on 2018/07/16 20:09:00 UTC
[jira] [Created] (MNG-6446) @Parameters Annotation does not
function
Jonathan S Fisher created MNG-6446:
--------------------------------------
Summary: @Parameters Annotation does not function
Key: MNG-6446
URL: https://issues.apache.org/jira/browse/MNG-6446
Project: Maven
Issue Type: Bug
Components: Plugin API
Reporter: Jonathan S Fisher
If you create a plugin with the following code:
{code:java}
@Named
@Singleton
public class FileKeysCache implements KeysCache {
@Inject
private Logger logger;
@Inject
@Parameters
private Map<String, String> parameters;
}
{code}
The `parameters` field is always a blank map. The doc here says is should be a map of parameters: https://wiki.eclipse.org/Sisu/PlexusMigration#.40Configuration
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)