} catch (IOException e) {
throw new MoxieException(e);
}
// create javadoc jar
Zip jar = new Zip();
jar.setProject(getProject());
jar.setBasedir(destDir);
jar.setDestFile(new File(build.getConfig().getTargetDirectory(),
MessageFormat.format("{0}-{1}-javadoc.jar",
build.getPom().artifactId, build.getPom().version)));
jar.execute();
}