I\'m writing a maven plugin that has a parameter that\'s a String[].
Like this:
/**
* @parameter expression=\"${args}\"
*/
protected String[] args;
<
According to Sonatype's blog here, if you are a plugin developer and
use Maven 3
and annotate your array/collection type plugin parameter using annotation like:
/** @parameter expression="${args}" */
In this way, the plugin parameter can be processed by Maven automatically and plugin users can provide the plugin array/collection type parameters via CLI using a comma separated system property like mvn myplugin:mygoal -Dargs=a,b,c