wu-sheng commented on pull request #5489: URL: https://github.com/apache/skywalking/pull/5489#issuecomment-692607585
`mvn clean package` is sensitive about the maven version, I used that too, but failed. ``` Wu-Sheng-s-MacBook-Pro:ehcache-2.x-plugin wusheng$ mvn package [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ehcache-2.x-plugin 8.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: https://repository.apache.org/snapshots/org/apache/skywalking/apm-sniffer/8.2.0-SNAPSHOT/maven-metadata.xml Downloading: https://repository.apache.org/snapshots/org/apache/skywalking/apm/8.2.0-SNAPSHOT/maven-metadata.xml Downloading: https://repository.apache.org/snapshots/org/apache/skywalking/apm-commons/8.2.0-SNAPSHOT/maven-metadata.xml Downloading: https://repository.apache.org/snapshots/org/apache/skywalking/apm-test-tools/8.2.0-SNAPSHOT/maven-metadata.xml [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ apm-ehcache-2.x-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java) @ apm-ehcache-2.x-plugin --- [INFO] [INFO] --- os-maven-plugin:1.6.2:detect (default) @ apm-ehcache-2.x-plugin --- [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: osx [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 10.15 [INFO] os.detected.version.major: 10 [INFO] os.detected.version.minor: 15 [INFO] os.detected.classifier: osx-x86_64 [INFO] [INFO] --- maven-checkstyle-plugin:3.1.0:check (validate) @ apm-ehcache-2.x-plugin --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.388 s [INFO] Finished at: 2020-09-15T16:24:45+08:00 [INFO] Final Memory: 18M/173M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (validate) on project apm-ehcache-2.x-plugin: Failed during checkstyle execution: Failed during checkstyle configuration: unable to parse configuration stream: Property ${import.control} has not been set -> [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/MojoExecutionException Wu-Sheng-s-MacBook-Pro:ehcache-2.x-plugin wusheng$ mvn package [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ehcache-2.x-plugin 8.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ apm-ehcache-2.x-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java) @ apm-ehcache-2.x-plugin --- [INFO] [INFO] --- os-maven-plugin:1.6.2:detect (default) @ apm-ehcache-2.x-plugin --- [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: osx [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 10.15 [INFO] os.detected.version.major: 10 [INFO] os.detected.version.minor: 15 [INFO] os.detected.classifier: osx-x86_64 [INFO] [INFO] --- maven-checkstyle-plugin:3.1.0:check (validate) @ apm-ehcache-2.x-plugin --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.672 s [INFO] Finished at: 2020-09-15T16:25:54+08:00 [INFO] Final Memory: 15M/253M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (validate) on project apm-ehcache-2.x-plugin: Failed during checkstyle execution: Failed during checkstyle configuration: unable to parse configuration stream: Property ${import.control} has not been set -> [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/MojoExecutionException Wu-Sheng-s-MacBook-Pro:ehcache-2.x-plugin wusheng$ mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00) Maven home: /Users/wusheng/Documents/applications/apache-maven-3.3.9 Java version: 1.8.0_91, vendor: Oracle Corporation Java home: /Users/wusheng/Documents/applications/jdk1.8.0_91.jdk/Contents/Home/jre Default locale: zh_CN, platform encoding: UTF-8 OS name: "mac os x", version: "10.15.6", arch: "x86_64", family: "mac" ``` That is also why, @kezhenxu94 said, you will face another deep path because `mvnw`. ---------------------------------------------------------------- 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: [email protected]
