lamber-ken commented on issue #9104: [HOXFIX][mvn] upgrade 
frontend-maven-plugin version to 1.7.5
URL: https://github.com/apache/flink/pull/9104#issuecomment-514454791
 
 
   > Thanks for your contribution. However, are you sure bumping plugin version 
is the exact solution to your problem? Moreover, it seems no other guys 
including me ever come across this problem when building Flink before.
   
   Yes, My pc env is macOs 10.13.6, maven 3.2.5. I solved this as I mentioned 
https://github.com/eirslett/frontend-maven-plugin/issues/783. 
   
   ```
   [ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm (install 
node and npm) on project flink-runtime-web_2.11: Execution install node and npm 
of goal com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm 
failed: A required class was missing while executing 
com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm: 
org/apache/http/protocol/HttpContext
   [ERROR] -----------------------------------------------------
   [ERROR] realm =    plugin>com.github.eirslett:frontend-maven-plugin:1.6
   [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
   [ERROR] urls[0] = 
file:/work/JAVA_WORK/mvn_repo/repos/com/github/eirslett/frontend-maven-plugin/1.6/frontend-maven-plugin-1.6.jar
   [ERROR] urls[1] = 
file:/work/JAVA_WORK/mvn_repo/repos/com/github/eirslett/frontend-plugin-core/1.6/frontend-plugin-core-1.6.jar
   [ERROR] urls[2] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar
   [ERROR] urls[3] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar
   [ERROR] urls[4] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/apache/commons/commons-compress/1.5/commons-compress-1.5.jar
   [ERROR] urls[5] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/tukaani/xz/1.2/xz-1.2.jar
   [ERROR] urls[6] = 
file:/work/JAVA_WORK/mvn_repo/repos/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar
   [ERROR] urls[7] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar
   [ERROR] urls[8] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/apache/httpcomponents/httpclient/4.5.1/httpclient-4.5.1.jar
   [ERROR] urls[9] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
   [ERROR] urls[10] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
   [ERROR] urls[11] = 
file:/work/JAVA_WORK/mvn_repo/repos/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
   [ERROR] urls[12] = 
file:/work/JAVA_WORK/mvn_repo/repos/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
   [ERROR] urls[13] = 
file:/work/JAVA_WORK/mvn_repo/repos/javax/inject/javax.inject/1/javax.inject-1.jar
   [ERROR] urls[14] = 
file:/work/JAVA_WORK/mvn_repo/repos/com/google/guava/guava/10.0.1/guava-10.0.1.jar
   [ERROR] urls[15] = 
file:/work/JAVA_WORK/mvn_repo/repos/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
   [ERROR] urls[16] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
   [ERROR] urls[17] = 
file:/work/JAVA_WORK/mvn_repo/repos/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
   [ERROR] urls[18] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M2a/org.eclipse.sisu.inject-0.0.0.M2a.jar
   [ERROR] urls[19] = 
file:/work/JAVA_WORK/mvn_repo/repos/asm/asm/3.3.1/asm-3.3.1.jar
   [ERROR] urls[20] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
   [ERROR] urls[21] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/apache/maven/plugin-tools/maven-plugin-annotations/3.2/maven-plugin-annotations-3.2.jar
   [ERROR] urls[22] = 
file:/work/JAVA_WORK/mvn_repo/repos/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
   [ERROR] Number of foreign imports: 1
   [ERROR] import: Entry[import  from realm 
ClassRealm[project>org.apache.flink:flink-runtime-web_2.11:1.10-SNAPSHOT, 
parent: ClassRealm[maven.api, parent: null]]]
   [ERROR] 
   [ERROR] -----------------------------------------------------: 
org.apache.http.protocol.HttpContext
   [ERROR] -> [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/PluginContainerException
   
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to