Maven 3.0.3을 사용하고 있습니다. 임베디드 Tomcat 서버를 구동하기 위해 Maven Cargo 플러그인을 사용할 수있는 방법이 있습니까? 지금 당장은 직접 설치해야 할 것 같습니다. 나는 시도하고 "포함"할 수있는 컨테이너 유형을 변경할 때 나는임베디드 Tomcat 서버를 사용하려면 Maven Cargo를 어떻게 설정해야합니까?
[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>
어떤 도움에 감사드립니다 ...이 오류가 발생합니다. 메이븐 임베디드 Tomcat 플러그인을 사용하지 않는 이유는 다중 배포 아티팩트를 지원하지 않기 때문입니다. 감사합니다. - Dave