繁体   English   中英

使用 sencha 构建项目失败

[英]Failed build project with sencha

当我使用 maven 构建项目时,出现错误

Failed to execute goal org.codehaus.mojo: exec-maven-plugin: 1.3.2: java (default-cli) on project project-name: The parameters 'mainClass' for goal org.codehaus. mojo: exec-maven-plugin: 1.3.2: java are missing or invalid

尝试单独组装模块。 在终端 intelij idea 中运行 --> sencha app build --clean --environment testing --destination project-client\\target\\project

C:\Users\bin\Sencha\Cmd\6.5.3.6\plugin.xml:325: The following error occurred while executing this line:
C:\Users\bin\Sencha\Cmd\6.5.3.6\ant\build\app\build-impl.xml:387: The following error occurred while executing this line:
C:\Users\bin\Sencha\Cmd\6.5.3.6\ant\build\app\init-impl.xml:436: com.sencha.exceptions.ExBuild: Failed to find any files for C:\Users\eduard.farkhutdinov\Desktop\project-MAVEN\project\project-client\ui-app\ext\classic\classic\src\fx\Manager.js::ClassRequire::Ext.fx.target.Element
     at com.sencha.ant.AntScript.execute(AntScript.java:121

)

     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
    <groupId>com.project</groupId>
    <artifactId>project</artifactId>
    <version>5.0.37</version>
</parent>
<artifactId>project-client</artifactId>
<packaging>war</packaging>
<version>${project.version}</version>

<build>
    <finalName>project</finalName>
    <plugins>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>${exec-plugin.version}</version>
            <executions>
                <execution>
                    <id>generate-resources</id>
                    <phase>generate-resources</phase>
                    <goals>
                        <goal>exec</goal>
                    </goals>
                    <configuration>
                        <executable>sencha</executable>
                        <arguments>
                            <argument>app</argument>
                            <argument>build</argument>
                            <argument>--clean</argument>
                            <argument>--environment</argument>
                            <argument>testing</argument>
                            <argument>--destination</argument>
                            <argument>${basedir}/target/project</argument>
                        </arguments>
                        <workingDirectory>${basedir}/ui-app</workingDirectory>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM