【发布时间】:2020-11-06 19:08:06
【问题描述】:
我在generate-sources 阶段使用maven 插件来修改一些源文件。我总是得到例外:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (openapischema-model-description) on project profile-generation: Unable to parse configuration of mojo org.co
dehaus.mojo:exec-maven-plugin:3.0.0:java for parameter arguments: Cannot store value into array: ArrayStoreException -> [Help 1]
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>openapischema-model-description</id>
<goals>
<goal>java</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<mainClass>de.ohmesoftware.javadoctoopenapischema.Enricher</mainClass>
<includePluginDependencies>true</includePluginDependencies>
<arguments>
<argument>-sourcePath</argument>
<argument>src/main/java/com/gigsky/profile_generation/domain</argument>
</arguments>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>de.ohmesoftware</groupId>
<artifactId>javadoctoopenapischema</artifactId>
<version>0.0.1</version>
</dependency>
</dependencies>
</plugin>
【问题讨论】:
标签: maven micronaut exec-maven-plugin