lamber-ken commented on issue #9104: [HOTFIX][mvn] upgrade
frontend-maven-plugin version to 1.7.5
URL: https://github.com/apache/flink/pull/9104#issuecomment-514569039
Hi, @Myasuka, the main cause is `org.apache.httpcomponents` version
conflicts. Just need to clean
`${mvn_repository}/repos/org/apache/httpcomponents/*`, things will ok.
btw, if compile
[frontend-maven-plugin-1.6](https://github.com/eirslett/frontend-maven-plugin/tree/frontend-plugins-1.6),
will meet same error.
```
dcadmin-imac:frontend-maven-plugin dcadmin$ mvn clean package install
-DskipTests
[INFO] Scanning for projects...
[INFO]
[INFO] Reactor Build Order:
[INFO]
[INFO] Frontend Plugins
[INFO] frontend-plugin-core
[INFO] Maven Frontend Plugin
[INFO]
[INFO]
[INFO] Building Frontend Plugins 1.6
[INFO]
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ frontend-plugins
---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
frontend-plugins ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
frontend-plugins ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @
frontend-plugins ---
[INFO] Installing
/work/projects/BigDataArtisans/frontend-maven-plugin/pom.xml to
/work/JAVA_WORK/mvn_repo/repos/com/github/eirslett/frontend-plugins/1.6/frontend-plugins-1.6.pom
[INFO]
[INFO]
[INFO] Building frontend-plugin-core 1.6
[INFO]
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
frontend-plugin-core ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
frontend-plugin-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
frontend-plugin-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
frontend-plugin-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 33 source files to
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/target/classes
[INFO] -
[WARNING] COMPILATION WARNING :
[INFO] -
[WARNING]
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NPMInstaller.java:
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NPMInstaller.java使用了未经检查或不安全的操作。
[WARNING]
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/NPMInstaller.java:
有关详细信息, 请使用nchecked 重新编译。
[INFO] 2 warnings
[INFO] -
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/FileDownloader.java:[14,23]
程序包org.apa.http不存在
[ERROR]
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/FileDownloader.java:[66,42]
无法访问org.ae.http.HttpResponse
找不到org.apache.http.HttpResponse的类文件
[ERROR]
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/FileDownloader.java:[71,71]
找不到符号
符号: 方法 getEntity()
位置: 类型为org.apache.http.client.methods.CloseableHttpResponse的变量 response
[ERROR]
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/FileDownloader.java:[102,64]
无法访问org.he.http.message.AbstractHttpMessage
找不到org.apache.http.message.AbstractHttpMessage的类文件
[ERROR]
/work/projects/BigDataArtisans/frontend-maven-plugin/frontend-plugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/FileDownloader.java:[104,49]