public static void writeModelToPOM(Model model, File pom, Log logger) throws IOException {
		FileOutputStream fos = new FileOutputStream(pom);
		
		new MavenXpp3Writer().write(fos, model);

		try {
			fos.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
public static void writeModelToPOM(Model model, File pom, Log logger) throws IOException {
		FileOutputStream fos = new FileOutputStream(pom);
		
		new MavenXpp3Writer().write(fos, model);

		try {
			fos.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
public static void writeModelToPOM ( Model model , File pom , Log logger ) throws IOException { FileOutputStream fos = new FileOutputStream ( pom ) ; new MavenXpp3Writer ( ) . write ( fos , model ) ; try { fos . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
Write a Maven {@link Model} object to a POM file.

@param model
@param pom
@param logger
@throws IOException
Write a Maven { @link Model } object to a POM file .