我已经配置了以下 Maven 战争插件,但我只创建了一个输出目录:
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
<configuration>
<outputDirectory>C:\EclipseWorkspace\my_path\myPath2</outputDirectory>
</configuration>
<executions>
<execution>
<id>default-war</id>
<phase>package</phase>
<goals>
<goal>war</goal>
</goals>
</execution>
</executions>
</plugin>
Run Code Online (Sandbox Code Playgroud)
例如,如何配置此 pligin 以创建两个输出目录?