Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sisu-users] Comma inside CMD parameter

Hello everyone,

I came accross the sisu project as it's part of Maven.

Mojos can be called via command line, passing parameters prefix by "-D". The parameters value is parsed based on the Mojo parameters type, automatically handling e.g. strings and array. When using an array of strings, the item are separated by comma.

I noticed, that there seems to be no way to pass a comma to an items value that way. In the code I ended up at https://github.com/eclipse/sisu.plexus/blob/master/org.eclipse.sisu.plexus/src/org/codehaus/plexus/component/configurator/converters/composite/AbstractCollectionConverter.java#L121 .

Is that a planned behavior?

-- 
Best regards,
Lars Knickrehm

www.lars-sh.de

Back to the top