InputStream propertiesInputStream = BootstrapMojo.class.getResourceAsStream( "/bootstrap.properties" );  try { pluginProperties.load( propertiesInputStream ); } catch( IOException exception ) { throw new MojoExecutionException( "Cannot load plug-in properties." ); }  installFileProperties = new Properties();  installFileProperties.setProperty( "groupId", pluginProperties.getProperty( "woproject.convention.group" ) ); installFileProperties.setProperty( "version", WebobjectsUtils.getWebobjectsVersion( locator ) ); installFileProperties.setProperty( "packaging", "jar" );  installFileProperties.setProperty( "generatePom", "true" );
initialize();
	public BootstrapMojo() throws MojoExecutionException	{		super();		if( SystemUtils.IS_OS_MAC_OSX )		{			locator = new MacOsWebobjectsLocator();		}		else if( SystemUtils.IS_OS_WINDOWS )		{			locator = new WindowsWebobjectsLocator();		}		else if( SystemUtils.IS_OS_UNIX )		{			locator = new UnixWebobjectsLocator();		}		else		{			throw new MojoExecutionException( "Unsupported OS platform." );		}		InputStream propertiesInputStream = BootstrapMojo.class.getResourceAsStream( "/bootstrap.properties" );		try		{			pluginProperties.load( propertiesInputStream );		}		catch( IOException exception )		{			throw new MojoExecutionException( "Cannot load plug-in properties." );		}		installFileProperties = new Properties();		installFileProperties.setProperty( "groupId", pluginProperties.getProperty( "woproject.convention.group" ) );		installFileProperties.setProperty( "version", WebobjectsUtils.getWebobjectsVersion( locator ) );		installFileProperties.setProperty( "packaging", "jar" );			installFileProperties.setProperty( "generatePom", "true" );	}