protected boolean isDependentLib(File libFile, Set<String> libs) {
		if (libFile.getName().contains("grinder-3.9.1.jar")) {
			return false;
		}

		// Replace release types (-SNAPSHOT, -GA, -p1, ...)
		String name = replaceLast(libFile.getName(), "-[a-zA-Z][a-zA-Z1-9]+\\.", ".");
		final int libVersionStartIndex = name.lastIndexOf("-");
		name = name.substring(0, (libVersionStartIndex == -1) ? name.lastIndexOf(".") : libVersionStartIndex);
		return libs.contains(name);
	}
Check if this given lib file in the given lib set.

@param libFile lib file
@param libs    lib set
@return true if dependent lib
ngrinder-controller/src/main/java/org/ngrinder/agent/service/AgentPackageService.java