What is the syntax for a Maven parameter of type String[]
arrays, maven, parameter-passing, syntax
Solution
Off the top of my head arrays are handled this way:
<annotationProcessors>
<annotationProcessor>com.example.AP1</annotationProcessor>
<annotationProcessor>com.example.AP2</annotationProcessor>
</annotationProcessors>
(an old post on the apache maven-users mailing list supports this).
Problem
For example the annotationProcessors parameter in the Maven Compiler Plugin needs a String[] as a parameter. What is the syntax for a String Array in Maven?