project.addCompileSourceRoot(destDir.getPath());
Resource resource = new Resource();
resource.setDirectory(destDir.getPath());
resource.addInclude("**/*.xml");
resource.addInclude("**/*.lst");
project.addResource(resource);
} catch (EJCException e) {
throw new MojoExecutionException("Error Executing EJC Maven Plugin. See chained cause.", e);
} catch (SAXException e) {
throw new MojoExecutionException("Error Executing EJC Maven Plugin. See chained cause.", e);