Maven3.0.3を使用しています。Maven Cargoプラグインを使用して組み込みTomcatサーバーを起動する方法はありますか?今のところ、最初に自分でインストールする必要があるようです。コンテナタイプを「埋め込み」に変更しようとすると、このエラーが発生します...
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.2:run (default-cli) on project jx: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.2:run failed: Cannot create configuration. There's no registered configuration for the parameters (container [id = [tomcat6x], type = [embedded]], configuration type [standalone]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? -> [Help 1]
私が使用した構成は...
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<configuration>
<container>
<containerId>tomcat6x</containerId>
<type>embedded</type>
</container>
<configuration>
<properties>
<cargo.servlet.port>8080</cargo.servlet.port>
<cargo.logging>high</cargo.logging>
</properties>
どんな助けでも大歓迎です。Maven組み込みTomcatプラグインを使用していない理由は、複数のデプロイメントアーティファクトをサポートしていないためです。ありがとう、-デイブ