@Override public CompileResult compile() throws CompilerException, MavenInvocationException {
  Set<String> messages=new HashSet<>();
  List<String> classpath=pathResolver.getClasspath();
  InvocationRequest request=setupInvocationRequest(pathResolver.getPomFile(),classpath,messages);
  return execute(request,messages,classpath);
}

@ Override public CompileResult compile ( ) throws CompilerException , MavenInvocationException { Set < String > messages = new HashSet < > ( ) ; List < String > classpath = pathResolver . getClasspath ( ) ; InvocationRequest request = setupInvocationRequest ( pathResolver . getPomFile ( ) , classpath , messages ) ; return execute ( request , messages , classpath ) ; }
compile the maven project , returning the list of classpath paths as reported by maven
