getLog().warn("No proto files found in directory: " + sourceDirectory.getPath()); return; for (File file : recFiles) { try { getLog().info("Compiling: "+file.getPath()); if( "default".equals(type) ) { JavaGenerator generator = new JavaGenerator(); getLog().error("Protocol Buffer Compiler failed with the following error(s):"); for (String error : e.getErrors() ) { getLog().error(""); getLog().error(error); getLog().error(""); throw new MojoExecutionException("Compile failed. For more details see error messages listed above.", e);
getLog().warn("No proto files found in directory: " + sourceDirectory.getPath()); return; for (File file : recFiles) { try { getLog().info("Compiling: "+file.getPath()); if( "default".equals(type) ) { JavaGenerator generator = new JavaGenerator(); getLog().error("Protocol Buffer Compiler failed with the following error(s):"); for (String error : e.getErrors() ) { getLog().error(""); getLog().error(error); getLog().error(""); throw new MojoExecutionException("Compile failed. For more details see error messages listed above.", e);
getLog().warn("No proto files found in directory: " + sourceDirectory.getPath()); return; for (File file : recFiles) { try { getLog().info("Compiling: "+file.getPath()); if( "default".equals(type) ) { JavaGenerator generator = new JavaGenerator(); getLog().error("Protocol Buffer Compiler failed with the following error(s):"); for (String error : e.getErrors() ) { getLog().error(""); getLog().error(error); getLog().error(""); throw new MojoExecutionException("Compile failed. For more details see error messages listed above.", e);