1 回答
TA贡献1757条经验 获得超7个赞
它现在对我有用。使用“插件”“配置”标签代替“执行”“配置”标签
<pluginManagement>
<plugins>
<plugin>
<groupId>com.example.groupid</groupId>
<artifactId>artifact-example-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<executions>
<execution>
<id>mojo-plugin-id</id>
<goals>
<goal>example-gole</goal>
</goals>
<phase>integration-test</phase>
</execution>
</executions>
<configuration>
<employee>
<firstName>MyFirstName</firstName>
<middleName>MyMiddleName</middleName>
<lastName>MyLastName</lastName>
</employee>
</configuration>
</plugin>
</plugins>
添加回答
举报