throw new MojoExecutionException("EDI Specification file '" + src.getAbsolutePath() + "' not found.");
}
// Currently supports UN/EDIFACT only...
if(srcType.equals("UNEDIFACT")) {
ECTUnEdifactExecutor ect = new ECTUnEdifactExecutor();
try {
ect.setUnEdifactZip(src);
ect.setUrn(project.getGroupId() + ":" + project.getArtifactId() + ":" + project.getVersion());
ect.setMappingModelFolder(destDir);
ect.execute();
Resource resource = new Resource();
resource.setDirectory(destDir.getPath());
project.addResource(resource);