【发布时间】:2012-12-16 17:32:16
【问题描述】:
例如Maven编译器插件中的annotationProcessors参数需要一个String[]作为参数。
Maven 中字符串数组的语法是什么?
【问题讨论】:
标签: maven syntax parameter-passing arrays
例如Maven编译器插件中的annotationProcessors参数需要一个String[]作为参数。
Maven 中字符串数组的语法是什么?
【问题讨论】:
标签: maven syntax parameter-passing arrays
我的头顶数组是这样处理的:
<annotationProcessors>
<annotationProcessor>com.example.AP1</annotationProcessor>
<annotationProcessor>com.example.AP2</annotationProcessor>
</annotationProcessors>
(apache maven-users 邮件列表上的一个旧的post 支持这一点)。
【讨论】: