if (jbiSourceDirectory.isDirectory()) {
jarArchiver.addDirectory(jbiSourceDirectory, null,
DirectoryScanner.DEFAULTEXCLUDES);
}
// create archive
archiver.createArchive(getProject(), archive);
} catch (ArchiverException e) {
throw new JbiPluginException("Error creating assembly: "
+ e.getMessage(), e);
} catch (ManifestException e) {