ngrinder 编译安装报错如下:
Downloading from central: https://repo.maven.apache.org/maven2/grinder/grinder-patch/3.9.1-patch/grinder-patch-3.9.1-patch.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ngrinder 3.4.1-SNAPSHOT ............................ SUCCESS [0.377 s]
[INFO] ngrinder-starter ................................... FAILURE [02:03 min]
[INFO] ngrinder-runtime ................................... SKIPPED
[INFO] ngrinder-groovy .................................... SKIPPED
[INFO] ngrinder-core ...................................... SKIPPED
[INFO] ngrinder-sh ........................................ SKIPPED
[INFO] ngrinder-controller 3.4.1-SNAPSHOT ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:04 min
[INFO] Finished at: 2018-06-12T20:15:39+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ngrinder-starter: Could not resolve dependencies for project org.ngrinder:ngrinder-starter:jar:3.4.1-SNAPSHOT: Could not find artifact grinder:grinder-patch:jar:3.9.1-patch in maven-repo (http://repo1.maven.org/maven2) -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :ngrinder-starter
解决方法:
sh install_maven_lib.sh 安装maven依赖