[ https://jira.codehaus.org/browse/MPLUGIN-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354637#comment-354637 ]
Robert Scholte commented on MPLUGIN-271: ---------------------------------------- And I think that's correct. This would suggest that you can set Lists from cmdline. How would you add 2 items? Comma separated? I don't think so: {code} @Parameter( defaultValue = "Hello Duke, how are you?" ) private List<String> welcomeSentences; {code} AFAIK this only works for primitives, Strings, Numbers and Objects with a single String constructor. > Usage of defaultValues for a List<..> Parameter seemed not to be working > ------------------------------------------------------------------------ > > Key: MPLUGIN-271 > URL: https://jira.codehaus.org/browse/MPLUGIN-271 > Project: Maven Plugin Tools > Issue Type: Bug > Components: maven-plugin-annotations > Affects Versions: 3.3 > Reporter: Karl-Heinz Marbaise > Priority: Critical > > Currently the following seemed to be not working: > {code:java} > @Parameter( defaultValue = "*/pom.xml" ) > private List<String> pomIncludes; > {code} -- This message was sent by Atlassian JIRA (v6.1.6#6162)