【一】Pinpoint1.8.4编译

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

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

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

【一】Pinpoint1.8.4编译_第1张图片

【一】Pinpoint1.8.4编译_第2张图片

3.【一】Pinpoint1.8.4编译_第3张图片

4. mvn install -DskipTests=true

5.结果

【一】Pinpoint1.8.4编译_第4张图片

 

采坑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 (拒绝访问。) 

问题正在找

你可能感兴趣的:(pinpoint)