@Test public void testBasic_symlinked() throws Exception { Assume.assumeTrue(Os.isFamily(Os.FAMILY_UNIX)); File basedir = resources.getBasedir(); File orig = new File(basedir, "orig"); create(orig, "target/classes/exported/Class.class"); File symlink = java.nio.file.Files.createSymbolicLink(new File(basedir, "symlink").toPath(), orig.toPath()).toFile(); mojos.executeMojo(symlink, "export-package"); assertExportedPackages(symlink, "exported"); }
@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; }