2

cargo-maven2-pluginGlassfish 4.1 のローカル インストールを開始するように を構成しようとしています。pom.xml で次のように構成しました

        <plugin>
            <groupId>org.codehaus.cargo</groupId>
            <artifactId>cargo-maven2-plugin</artifactId>
            <version>1.4.14</version>
            <executions>
                <execution>
                    <id>start-container</id>
                    <phase>pre-integration-test</phase>
                    <goals>
                        <goal>start</goal>
                    </goals>
                </execution>
                <execution>
                    <id>stop-container</id>
                    <phase>post-integration-test</phase>
                    <goals>
                        <goal>stop</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <container>
                    <containerId>glassfish4x</containerId>
                    <home>${glassfish.installDirectory}</home>
                </container>
                <configuration>
                    <type>existing</type>
                </configuration>
                <deployables>
                    <deployable>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>${project.artifactId}</artifactId>
                        <type>war</type>
                        <pingURL>${web.app.url}</pingURL>
                    </deployable>
                </deployables>
            </configuration>
        </plugin>

しかし、それは次のように失敗します

プロジェクト UsersJSFMavenApplication でゴール org.codehaus.cargo:cargo-maven2-plugin:1.4.14:start (start-container) を実行できませんでした: ゴール org.codehaus.cargo:cargo-maven2-plugin:1.4 の start-container を実行します。 14: 開始に失敗しました: 構成を作成できません。パラメーターの登録済み構成はありません (コンテナー [id = [glassfish4x]、タイプ = [インストール済み]]、構成タイプ [既存])。実際には、この構成に登録されている有効なタイプはありません。もしかしてスペル間違えた?→【ヘルプ1】

何か案は?

4

0 に答える 0