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-514455528 Hi, @Myasuka, when I use 1.7.5 version, things ok. ``` dcadmin-imac:flink-runtime-web dcadmin$ mvn clean package -Dfast -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Drat.skip=true -Dskip.npm -DskipTests [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.flink:flink-runtime-web_2.11:jar:1.10-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.apache.flink:flink-runtime-web_${scala.binary.version}:[unknown-version], /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/pom.xml, line 32, column 14 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building flink-runtime-web 1.10-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ flink-runtime-web_2.11 --- [INFO] Deleting /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ flink-runtime-web_2.11 --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ flink-runtime-web_2.11 --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven) @ flink-runtime-web_2.11 --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ flink-runtime-web_2.11 --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- directory-maven-plugin:0.1:highest-basedir (directories) @ flink-runtime-web_2.11 --- [INFO] Highest basedir set to: /work/projects/BigDataArtisans/flink-projects/flink [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ flink-runtime-web_2.11 --- [INFO] [INFO] --- frontend-maven-plugin:1.7.5:install-node-and-npm (install node and npm) @ flink-runtime-web_2.11 --- [INFO] Node v10.9.0 is already installed. [INFO] [INFO] --- frontend-maven-plugin:1.7.5:npm (npm install) @ flink-runtime-web_2.11 --- [INFO] Skipping execution. [INFO] [INFO] --- frontend-maven-plugin:1.7.5:npm (npm run build) @ flink-runtime-web_2.11 --- [INFO] Skipping execution. [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ flink-runtime-web_2.11 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] Copying 27 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ flink-runtime-web_2.11 --- [INFO] Compiling 38 source files to /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/classes [INFO] /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/utils/JarHandlerUtils.java: 某些输入文件使用或覆。 [INFO] /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/utils/JarHandlerUtils.java: 有关详细信息, 请使用eprecation 重新编译。 [INFO] /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServer.java: /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServer.java使用了未经检查或不安全的操作。 [INFO] /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServer.java: 有关详细信息, 请使用 -Xlint:u重新编译。 [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ flink-runtime-web_2.11 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ flink-runtime-web_2.11 --- [INFO] Compiling 30 source files to /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/test-classes [INFO] /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/testutils/HttpTestClient.java: /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/testutils/HttpTestClient.java使用或覆盖了已过时的 API。 [INFO] /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/testutils/HttpTestClient.java: 有关详细信息, 请使用 -Xlintion 重新编译。 [INFO] /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/LeaderRetrievalHandlerTest.java: 某些输入文件使用了未经检查或不安全的操作。 [INFO] /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/LeaderRetrievalHandlerTest.java: 有关详细信息, 请使用 -Xlcked 重新编译。 [INFO] [INFO] --- maven-jar-plugin:2.4:jar (test-program-jar) @ flink-runtime-web_2.11 --- [INFO] Building jar: /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/test-program.jar [INFO] [INFO] --- maven-jar-plugin:2.4:jar (test-parameter-program-jar) @ flink-runtime-web_2.11 --- [INFO] Building jar: /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/parameter-program.jar [INFO] [INFO] --- maven-jar-plugin:2.4:jar (test-parameter-program-jar-without-manifest) @ flink-runtime-web_2.11 --- [INFO] Building jar: /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/parameter-program-without-manifest.jar [INFO] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ flink-runtime-web_2.11 --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ flink-runtime-web_2.11 --- [INFO] Building jar: /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/flink-runtime-web_2.11-1.10-SNAPSHOT.jar [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ flink-runtime-web_2.11 --- [INFO] Building jar: /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/flink-runtime-web_2.11-1.10-SNAPSHOT-tests.jar [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ flink-runtime-web_2.11 --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- maven-shade-plugin:3.0.0:shade (shade-flink) @ flink-runtime-web_2.11 --- [INFO] Excluding org.apache.flink:flink-runtime_2.11:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding org.apache.flink:flink-core:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding org.apache.flink:flink-annotations:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding org.apache.flink:flink-metrics-core:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding com.esotericsoftware.kryo:kryo:jar:2.24.0 from the shaded jar. [INFO] Excluding com.esotericsoftware.minlog:minlog:jar:1.2 from the shaded jar. [INFO] Excluding commons-collections:commons-collections:jar:3.2.2 from the shaded jar. [INFO] Excluding org.apache.commons:commons-compress:jar:1.18 from the shaded jar. [INFO] Excluding org.apache.flink:flink-java:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding org.apache.commons:commons-math3:jar:3.5 from the shaded jar. [INFO] Excluding org.apache.flink:flink-queryable-state-client-java:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding org.apache.flink:flink-hadoop-fs:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding commons-io:commons-io:jar:2.4 from the shaded jar. [INFO] Excluding org.apache.flink:flink-shaded-asm-6:jar:6.2.1-7.0 from the shaded jar. [INFO] Excluding org.apache.commons:commons-lang3:jar:3.3.2 from the shaded jar. [INFO] Excluding commons-cli:commons-cli:jar:1.3.1 from the shaded jar. [INFO] Excluding org.scala-lang:scala-library:jar:2.11.12 from the shaded jar. [INFO] Excluding com.typesafe.akka:akka-actor_2.11:jar:2.5.21 from the shaded jar. [INFO] Excluding com.typesafe:config:jar:1.3.0 from the shaded jar. [INFO] Excluding org.scala-lang.modules:scala-java8-compat_2.11:jar:0.7.0 from the shaded jar. [INFO] Excluding com.typesafe.akka:akka-stream_2.11:jar:2.5.21 from the shaded jar. [INFO] Excluding org.reactivestreams:reactive-streams:jar:1.0.2 from the shaded jar. [INFO] Excluding com.typesafe:ssl-config-core_2.11:jar:0.3.7 from the shaded jar. [INFO] Excluding org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.1 from the shaded jar. [INFO] Excluding com.typesafe.akka:akka-protobuf_2.11:jar:2.5.21 from the shaded jar. [INFO] Excluding com.typesafe.akka:akka-slf4j_2.11:jar:2.5.21 from the shaded jar. [INFO] Excluding org.clapper:grizzled-slf4j_2.11:jar:1.3.2 from the shaded jar. [INFO] Excluding com.github.scopt:scopt_2.11:jar:3.5.0 from the shaded jar. [INFO] Excluding org.xerial.snappy:snappy-java:jar:1.1.4 from the shaded jar. [INFO] Excluding com.twitter:chill_2.11:jar:0.7.6 from the shaded jar. [INFO] Excluding com.twitter:chill-java:jar:0.7.6 from the shaded jar. [INFO] Excluding org.apache.flink:flink-clients_2.11:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding org.apache.flink:flink-optimizer_2.11:jar:1.10-SNAPSHOT from the shaded jar. [INFO] Excluding org.apache.flink:flink-shaded-netty:jar:4.1.32.Final-7.0 from the shaded jar. [INFO] Excluding org.apache.flink:flink-shaded-guava:jar:18.0-7.0 from the shaded jar. [INFO] Excluding org.apache.flink:flink-shaded-jackson:jar:2.9.8-7.0 from the shaded jar. [INFO] Excluding org.javassist:javassist:jar:3.19.0-GA from the shaded jar. [INFO] Including org.apache.flink:force-shading:jar:1.10-SNAPSHOT in the shaded jar. [INFO] Excluding org.slf4j:slf4j-api:jar:1.7.15 from the shaded jar. [INFO] Excluding com.google.code.findbugs:jsr305:jar:1.3.9 from the shaded jar. [INFO] Excluding org.objenesis:objenesis:jar:2.1 from the shaded jar. [INFO] No artifact matching filter io.netty:netty [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/flink-runtime-web_2.11-1.10-SNAPSHOT.jar with /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/flink-runtime-web_2.11-1.10-SNAPSHOT-shaded.jar [INFO] Replacing original test artifact with shaded test artifact. [INFO] Replacing /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/flink-runtime-web_2.11-1.10-SNAPSHOT-tests.jar with /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/flink-runtime-web_2.11-1.10-SNAPSHOT-shaded-tests.jar [INFO] Dependency-reduced POM written at: /work/projects/BigDataArtisans/flink-projects/flink/flink-runtime-web/target/dependency-reduced-pom.xml [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.015 s [INFO] Finished at: 2019-07-24T10:34:00+08:00 [INFO] Final Memory: 54M/3402M [INFO] ------------------------------------------------------------------------ ```
---------------------------------------------------------------- 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