zeppelin 패키지 실패'Failed to execute goal com.github.eirslett:frontend-maven-plugin'

4694 단어 Spark
zeppelin 홈페이지에서 제공하는binary 패키지는 yarn을 지원하지 않습니다. 직접 포장해야 합니다.

문제


zeppelin 패키지: ~/apache-maven-3.3.1/bin/mvn clean install -DskipTests계속 빌드 실패: [ERROR] 목표 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

복구 방법


수정zeppelin-0.6.1/zeppelin-web/pom.xml 파일:
123           <execution>
124             <id>grunt buildid>
126             <goals>
127               <goal>gruntgoal>
128             goals>
129             <configuration>
130               <arguments>build --forcearguments> 
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] ------------------------------------------------------------------------

좋은 웹페이지 즐겨찾기