みんな私はmaven(Eclipse)でtomcat7プラグインを実行するのが非常に簡単であることを知っていますが、私はmaven構造に慣れていないので、「tomcat:run」でmavenビルドを実行していて機能していたことがわかりませんが、切り替えましたpom.xml で構成された maven プラグイン tomcat7 を起動して停止し、ビルド成功のメッセージを表示します。どのように私はそれを聞き続けますか?
ここに私のTomcateプラグイン設定
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<addContextWarDependencies>true</addContextWarDependencies>
<fork>true</fork>
<path>/</path>
<port>8080</port>
<httpsPort>8443</httpsPort>
<keystoreFile>C:/Users/Sohail Haider/.keystore</keystoreFile>
<keystorePass>apexsohail</keystorePass>
</configuration>
<executions>
<execution>
<id>start-tomcat</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run-war</goal>
</goals>
</execution>
<execution>
<id>stop-tomcat</id>
<phase>post-integration-test</phase>
<goals>
<goal>shutdown</goal>
</goals>
</execution>
</executions>
</plugin>