throws ManifestException, IOException, ArchiverException {
Manifest manifest = new Manifest();
Manifest.Attribute attr = new Manifest.Attribute("Created-By", "Apache Maven");
manifest.addConfiguredAttribute(attr);
attr = new Manifest.Attribute("Implementation-Title", project.getName());
manifest.addConfiguredAttribute(attr);
attr = new Manifest.Attribute("Implementation-Version", project.getVersion());
manifest.addConfiguredAttribute(attr);
attr = new Manifest.Attribute("Implementation-Vendor-Id", project.getGroupId());
manifest.addConfiguredAttribute(attr);
if (project.getOrganization() != null) {