private static boolean writeBarePlanFile(Plan planEntity, String planFileFullName,  String outputDirectory){
		// Write the plan JAXB to a file
		try {
			JAXBContext context = JAXBContext.newInstance("com.hesham.maven.virgo.jaxb.plan");
			Marshaller marshaller = context.createMarshaller();
			marshaller.setProperty("jaxb.formatted.output",Boolean.TRUE);
			marshaller.setProperty("jaxb.schemaLocation","http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd");
			JAXBElement<Plan> planElemWrapper = new ObjectFactory().createPlan(planEntity);
			
			String filePath = outputDirectory + SEP + planFileFullName;
			
			// By default, this should be the target directory
			File outputDir = new File(outputDirectory);
			if ( ! outputDir.exists())
			{
				logger.info("Didn't find a target directory, creating one...");
				outputDir.mkdir();
			}
			
			FileWriter fileWriter = new FileWriter(new File(filePath));
			marshaller.marshal(planElemWrapper, fileWriter);
			fileWriter.close();
			return true;
			
		} catch (JAXBException e) {
			e.printStackTrace();
			return false;
		} catch (IOException e) {
			e.printStackTrace();
			return false;
		}
	}