@Override
 public void exportArtifact(
     List<ArtifactData> artifactList,
     Map<IProject, Map<String, IResource>> resourceProjectList,
     IFolder splitESBResources,
     DependencyData dependencyData,
     Object parent,
     Object self)
     throws Exception {
   IProject resProject = (IProject) parent;
   if (!resourceProjectList.containsKey(resProject)) {
     Map<String, IResource> artifacts = new HashMap<String, IResource>();
     List<IResource> buildProject =
         ExportUtil.buildProject(resProject, dependencyData.getCApptype());
     for (IResource res : buildProject) {
       if (res instanceof IFolder) {
         artifacts.put(res.getName(), res);
       }
     }
     resourceProjectList.put(resProject, artifacts);
   }
   if (resourceProjectList.containsKey(resProject)) {
     Map<String, IResource> artifacts = resourceProjectList.get(resProject);
     if (artifacts.containsKey(getArtifactDir(dependencyData))) {
       ArtifactData artifactData = new ArtifactData();
       artifactData.setDependencyData(dependencyData);
       artifactData.setFile("registry-info.xml");
       artifactData.setResource(artifacts.get(getArtifactDir(dependencyData)));
       artifactList.add(artifactData);
     }
   }
 }
 public void exportArtifact(
     List<ArtifactData> artifactList,
     Map<IProject, Map<String, IResource>> graphicalSynapseProjectList,
     IFolder splitESBResources,
     DependencyData dependencyData,
     Object parent,
     Object self)
     throws Exception {
   if (self instanceof IProject) {
     List<IResource> buildProject =
         ExportUtil.buildProject((IProject) self, dependencyData.getCApptype());
     if (buildProject.size() == 1) {
       ArtifactData artifactData = new ArtifactData();
       artifactData.setDependencyData(dependencyData);
       artifactData.setFile(distProjectUtils.getFileName(dependencyData));
       artifactData.setResource(buildProject.get(0));
       artifactList.add(artifactData);
     } else {
       throw new Exception(
           "No resource found that matches the given type: " + dependencyData.getCApptype());
     }
   }
 }