Manifest manifest;
try
{
if ( "bundle".equals( project.getPackaging() ) )
{
<BUG>manifest = buildOSGiBundle( project, instructions, properties, classpath ).getJar().getManifest();

}</BUG>
else
{

Manifest manifest;
try
{
if ( "bundle".equals( project.getPackaging() ) )
{
Builder builder = buildOSGiBundle( project, instructions, properties, classpath );
manifest = builder.getJar().getManifest();
builder.close();
}
else
{
