1

以下を追加して元の質問を更新し、問題を解決しました。

<workingDirectory>src/main/extApps/usx</workingDirectory>

Maven で Sencha Cmd を実行していますが、ツールを実行する必要があるアプリケーション ディレクトリに pom ファイルがありません。

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>exec-maven-plugin</artifactId>
    <version>1.2</version>
    <configuration>
        <mainClass>com.atlantis.amc.AmcWebApp</mainClass>
    </configuration>
    <executions>
        <execution>
            <id>sencha-compile</id>
            <phase>compile</phase>
            <goals>
                <goal>exec</goal>
            </goals>
            <configuration>
                <executable>sencha</executable>
                <workingDirectory>src/main/extApps/usx</workingDirectory>
                <arguments>
                    <argument>app</argument>
                    <argument>build</argument>
                </arguments>
            </configuration>
        </execution>
    </executions>
</plugin>
4

1 に答える 1