0

これは、私の .ear ファイルの pom.xml の一部です

<plugin>

    <groupId>com.oracle.weblogic</groupId>
    <artifactId>wls-maven-plugin</artifactId>
    <version>12.1.1.0</version>
    <configuration>
    <adminurl>${adminURL}</adminurl>
    <user>${username}</user>
    <password>${pswrd}</password>
    <upload>true</upload>
    <remote>false</remote>
    <verbose>true</verbose>
                    <source>${project.build.directory}/${project.build.finalName}.${project.packaging}</source>
    <name>${project.build.finalName}</name>
    <targets>${serverName}</targets>
    <noExit>true</noExit>
    <middlewareHome>${middlewareH}</middlewareHome>
    <domainHome>${domainH}</domainHome>
    </configuration>
    <executions>
    <execution>
    <id>stopserver</id>
    <phase>install</phase>
    <goals>
    <goal>stop-server</goal>
    </goals>
    <configuration>
    <action>stopserver</action>
    <workingDir>${stopScriptDirectory}</workingDir>
    <command>stopScript.sh</command>

    </configuration>
    </execution>

    </executions>

</plugin>

stopScript.sh を実行してサーバーを停止しようとしています

これは、stop-server ゴールを実行しようとしたときに発生するエラーです。

org.apache.maven.lifecycle.LifecycleExecutionException: プロジェクト OventusEAR2 でゴール com.oracle.weblogic:wls-maven-plugin:12.1.1.0:stop-server (stopserver) を実行できませんでした: mojo com.oracle の構成を解析できません。 weblogic:wls-maven-plugin:12.1.1.0:stop-server for parameter command: java.lang.String 型の値 'stopScript.sh' を持つコンフィグレーション エントリ 'command' を java.lang.String 型のプロパティに割り当てることができません[ ]

何か案は?

4

1 に答える 1