【一】Pinpoint1.8.4编译

  • Post author:
  • Post category:其他


1.从github上拉取源码,切换分支到tag 1.8.4

2.下载安装java6 java7 java8 java9 (下不到9,就下11,但是JAVA_9_HOME的环境变量名字不能变)

设置环境变量,并且要设置到path中

3.

4. mvn install -DskipTests=true

5.结果

采坑1

报错

【ERROR】Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:compile (default) on project pinpoint-grpc: protoc did not exit cleanly.Review output for more information.

maven的版本问题,我用3.5.2就会报这个错。用3.6.1就不会报这个错。

采坑2

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (default) on project pinpoint-websphere-plugin: Error creating shaded jar: E:\git_repo\pinpoint\plugins\websphere\targ

et\dependency-reduced-pom.xml (拒绝访问。)

问题正在找



版权声明:本文为jy02268879原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。