[
https://issues.apache.org/jira/browse/MPLUGIN-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567699#comment-14567699
]
Robert Scholte commented on MPLUGIN-271:
----------------------------------------
[[email protected]], are you sure? I would expect this to work:
{code:xml}
<compileSourceRoots>
<compileSourceRoot>root1</compileSourceRoot>
</compileSourceRoots>
{code}
I've seen issues where a {{List}} doesn't work, but a {{String[]}} does,
probably because for an array it is simple to determine the type. IIRC plexus
doesn't respect the type for a List, it was designed in the JDK1.4 era, see the
generated configuration.
> Usage of defaultValues for a List<..> Parameter seemed not to be working
> ------------------------------------------------------------------------
>
> Key: MPLUGIN-271
> URL: https://issues.apache.org/jira/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.3.4#6332)