bw-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/maven/packaging/GenerateXMLFromPropertiesMojo.java
private void init() throws MojoExecutionException {
		try {
			FileUtils.copyFile(deploymentDescriptor, deploymentDescriptorFinal);
		} catch (IOException e) {
			throw new MojoExecutionException(APPLICATION_MANAGEMENT_COPY_FAILURE + " '" + deploymentDescriptor + "' to '" + deploymentDescriptorFinal + "'", e);
		}
		try {
			application = new ApplicationManagement(deploymentDescriptorFinal);
		} catch (JAXBException e) {
			throw new MojoExecutionException(APPLICATION_MANAGEMENT_LOAD_FAILURE + " '" + deploymentDescriptorFinal + "'", e);
		}
	}
private void init() throws MojoExecutionException {
		try {
			FileUtils.copyFile(deploymentDescriptor, deploymentDescriptorFinal);
		} catch (IOException e) {
			throw new MojoExecutionException(APPLICATION_MANAGEMENT_COPY_FAILURE + " '" + deploymentDescriptor + "' to '" + deploymentDescriptorFinal + "'", e);
		}
		try {
			application = new ApplicationManagement(deploymentDescriptorFinal);
		} catch (JAXBException e) {
			throw new MojoExecutionException(APPLICATION_MANAGEMENT_LOAD_FAILURE + " '" + deploymentDescriptorFinal + "'", e);
		}
	}
<p>
First we will copy the XML file extracted from the EAR to the final file
to be produced after merging all the properties files.
</p>

<p>
Then we will initialize the {@link ApplicationType} by unmarshalling
this final file.
</p>

@throws MojoExecutionException