code: ClassPool createClassPool(final List<String> classpathElements) throws MojoExecutionException {
          final ClassPool classPool = new ClassPool(ClassPool.getDefault());
          for (final String classPathElement : classpathElements) {
              try {
                  classPool.appendClassPath(classPathElement);
              } catch (final NotFoundException e) {
                  throw new MojoExecutionException("Unable to add class path to pool: " + classPathElement, e);
              }
          }
          return classPool;
      }
docs: /* package private