@Test public void testNoClassesDirectory() throws Exception { File basedir = resources.getBasedir("exportpackage/basic"); mojos.executeMojo(basedir, "export-package"); mojos.assertBuildOutputs(basedir, "target/classes/" + ExportPackageMojo.PATH_EXPORT_PACKAGE); assertExportedPackages(basedir, new String[0]); }
@Override protected void executeMojo() throws MojoExecutionException { try { classesDirectory = classesDirectory.getCanonicalFile(); generateOutput(); } catch (IOException e) { throw new MojoExecutionException("Could not generate export-package file", e); } }
ExportPackageMojo extends TakariLifecycleMojo { @Override protected void executeMojo() throws MojoExecutionException { try { classesDirectory = classesDirectory.getCanonicalFile(); generateOutput(); } catch (IOException e) { throw new MojoExecutionException("Could not generate export-package file", e); } } }
ExportPackageMojo extends TakariLifecycleMojo { @Override protected void executeMojo() throws MojoExecutionException { try { classesDirectory = classesDirectory.getCanonicalFile(); generateOutput(); } catch (IOException e) { throw new MojoExecutionException("Could not generate export-package file", e); } }  }
ExportPackageMojo extends TakariLifecycleMojo { @Override protected void executeMojo() throws MojoExecutionException { try { classesDirectory = classesDirectory.getCanonicalFile(); generateOutput(); } catch (IOException e) { throw new MojoExecutionException("Could not generate export-package file", e); } }   }
ExportPackageMojo extends TakariLifecycleMojo { @Override protected void executeMojo() throws MojoExecutionException { try { classesDirectory = classesDirectory.getCanonicalFile(); generateOutput(); } catch (IOException e) { throw new MojoExecutionException("Could not generate export-package file", e); } }   static final String PATH_EXPORT_PACKAGE; static final char EOL; }