bndProperties.store( out, " Merged BND Instructions" );
IOUtil.close( out );
String buildXml = IOUtil.toString( getClass().getResourceAsStream( BUILD_XML ) );
buildXml = StringUtils.replace( buildXml, "BND_VERSION", builder.getVersion() );
buildXml = StringUtils.replace( buildXml, "ARTIFACT_ID", artifactId );
<BUG>FileUtils.fileWrite( baseDir + BUILD_XML, buildXml );
}</BUG>
catch ( Exception e )
{
throw new MojoExecutionException( "Problem creating Ant script", e );

bndProperties.store( out, " Merged BND Instructions" );
IOUtil.close( out );
String buildXml = IOUtil.toString( getClass().getResourceAsStream( BUILD_XML ) );
buildXml = StringUtils.replace( buildXml, "BND_VERSION", builder.getVersion() );
buildXml = StringUtils.replace( buildXml, "ARTIFACT_ID", artifactId );
FileUtils.fileWrite( baseDir + BUILD_XML, buildXml );
builder.close();
}
catch ( Exception e )
{
throw new MojoExecutionException( "Problem creating Ant script", e );
