zeppelin打包失败 'Failed to execute goal com.github.eirslett:frontend-maven-plugin'
2016-08-18 14:21
531 查看
zeppelin 官网提供的binary包不支持yarn,需要自己打包。
一直build failure:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:grunt (grunt build) on project zeppelin-web: Failed to run task: ‘grunt build –no-color’ failed. (error code 3) -> [Help 1]
问题
zeppelin打包:~/apache-maven-3.3.1/bin/mvn clean install -DskipTests
一直build failure:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:grunt (grunt build) on project zeppelin-web: Failed to run task: ‘grunt build –no-color’ failed. (error code 3) -> [Help 1]
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:56 min [INFO] Finished at: 2016-08-18T13:45:01+08:00 [INFO] Final Memory: 37M/1931M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:grunt (grunt build) on project zeppelin-web: Failed to run task: 'grunt build --no-color' failed. (error code 3) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[/code]修复方法
修改zeppelin-0.6.1/zeppelin-web/pom.xml文件:123 <execution> 124 <id>grunt build</id> 126 <goals> 127 <goal>grunt</goal> 128 </goals> 129 <configuration> 130 <arguments>build --force</arguments> <!--修改 build 为 build --force --> 131 </configuration> 132 </execution>
重新执行打包命令,问题修复:[INFO] [INFO] --- maven-checkstyle-plugin:2.13:checkstyle-aggregate (checkstyle-gen-html-report) @ zeppelin-web --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:54 min [INFO] Finished at: 2016-08-18T14:07:17+08:00 [INFO] Final Memory: 36M/1931M [INFO] ------------------------------------------------------------------------
相关文章推荐
- maven打包的时候报错:Failed to execute goalcom.google.code.maven-svn-revision-number-plugin:svn-revision-num
- Failed to execute goal com.github.wvengen:proguard-maven-plugin:2.0.10:proguard (default) on project
- maven打包报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
- maven打包报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
- maven 构建编译失败:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:
- maven打包报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
- maven 打包【error】Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
- maven打包工程出现错误 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
- docker maven 出错:Failed to execute goal com.spotify:docker-maven-plugin:...: Request error: POST https://192.168.99.100:2376/build?t=
- maven 打包错误解决:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
- maven打包报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
- maven打包报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
- [转]maven打包报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
- maven Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-com
- 关于Springboot打包错误的问题 | Failed to execute goal org.springframework.boot:spring-boot-maven-plugin
- maven 构建编译失败:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:
- 【Exception】[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.14:build (default-cli)
- Failed to execute goal com.mycila:license-maven-plugin:3.0
- maven打包报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin