たとえば、Maven コンパイラ プラグインのannotationProcessorsパラメータには、パラメータとして String[] が必要です。
Mavenの文字列配列の構文は何ですか?
たとえば、Maven コンパイラ プラグインのannotationProcessorsパラメータには、パラメータとして String[] が必要です。
Mavenの文字列配列の構文は何ですか?
私の頭の上にある配列は、次のように処理されます。
<annotationProcessors>
<annotationProcessor>com.example.AP1</annotationProcessor>
<annotationProcessor>com.example.AP2</annotationProcessor>
</annotationProcessors>
( apache maven-users メーリング リストの古い投稿がこれをサポートしています)。