tomcat6-maven-plugin
Web アプリケーションで統合テストを実行するために使用します。これにより、Tomcat が起動し、テストを実行する前に Web アプリケーションがデプロイされます。うまくいきます!
しかし、いくつかの新しい統合テストを機能させるために、 GeoServerという別の Web アプリケーションを同時に実行したいと考えています。最善のアプローチは何ですか?
を使用して開始された Tomcat インスタンスに GeoServer .war を追加することは可能tomcat6-maven-plugin
ですか? どのように?
ここに私の現在のtomcat6-maven-plugin
設定:
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat6-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
<port>8087</port>
<fork>true</fork>
<useTestClasspath>true</useTestClasspath>
</configuration>
<executions>
<execution>
<id>run</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>shutdown</id>
<phase>post-integration-test</phase>
<goals>
<goal>shutdown</goal>
</goals>
</execution>
</executions>
</plugin>