Program: 10062
Project: 10062
Buggy source:
/** 
 * Setup before compilation of source
 */
@SuppressWarnings("String_Node_Str") @Override public void setUp() throws MojoExecutionException, MojoFailureException {
  if (sourcePaths == null) {
    sourcePaths=MavenUtils.getSourcePaths(build);
    if (mergeResourceBundle != null && mergeResourceBundle) {
      List<File> paths=new ArrayList<File>(Arrays.asList(sourcePaths));
      paths.add(new File(resourceBundlePath));
      sourcePaths=paths.toArray(new File[paths.size()]);
    }
  }
  if (configFile == null) {
    List<Resource> resources=build.getResources();
    for (    Resource resource : resources) {
      File cfg=new File(resource.getDirectory(),"String_Node_Str");
      if (cfg.exists()) {
        configFile=cfg;
        break;
      }
    }
  }
  if (configFile == null) {
    getLog().debug("String_Node_Str");
    configFile=MavenUtils.getConfigFile(build);
  }
  if (!configFile.exists()) {
    throw new MojoExecutionException("String_Node_Str" + configFile);
  }
 else {
    getLog().info("String_Node_Str" + configFile);
  }
  if (services == null) {
    List<Resource> resources=build.getResources();
    for (    Resource resource : resources) {
      File cfg=new File(resource.getDirectory(),"String_Node_Str");
      if (cfg.exists()) {
        services=cfg;
        break;
      }
    }
  }
  if (rslUrls == null) {
    rslUrls=new String[]{"String_Node_Str"};
  }
  if (policyFileUrls == null) {
    policyFileUrls=new String[]{"String_Node_Str"};
  }
  if (metadata == null) {
    metadata=new Metadata();
    if (project.getDevelopers() != null && !project.getDevelopers().isEmpty()) {
      List<Developer> developers=project.getDevelopers();
      for (      Developer d : developers) {
        metadata.setCreator(d.getName());
        break;
      }
    }
    if (project.getContributors() != null && !project.getContributors().isEmpty()) {
      List<Contributor> contributors=project.getContributors();
      for (      Contributor c : contributors) {
        metadata.setContributor(c.getName());
        break;
      }
    }
    metadata.setDate(new Date());
    if (locales != null) {
      metadata.setLanguage(locales[0]);
      metadata.addDescription(locales[0],project.getDescription());
      metadata.addTitle(locales[0],project.getName());
    }
  }
  if (licenses == null) {
    licenses=getLicenses();
  }
  configuration=builder.getDefaultConfiguration();
  configure();
  compilationData=new File(build.getDirectory(),build.getFinalName() + "String_Node_Str");
  setMavenPathResolver();
}

Fixed version (ground truth):
/** 
 * Setup before compilation of source
 */
@SuppressWarnings("String_Node_Str") @Override public void setUp() throws MojoExecutionException, MojoFailureException {
  if (sourcePaths == null) {
    sourcePaths=MavenUtils.getSourcePaths(project,build);
    if (mergeResourceBundle != null && mergeResourceBundle) {
      List<File> paths=new ArrayList<File>(Arrays.asList(sourcePaths));
      paths.add(new File(resourceBundlePath));
      sourcePaths=paths.toArray(new File[paths.size()]);
    }
  }
  if (configFile == null) {
    List<Resource> resources=build.getResources();
    for (    Resource resource : resources) {
      File cfg=new File(resource.getDirectory(),"String_Node_Str");
      if (cfg.exists()) {
        configFile=cfg;
        break;
      }
    }
  }
  if (configFile == null) {
    getLog().debug("String_Node_Str");
    configFile=MavenUtils.getConfigFile(build);
  }
  if (!configFile.exists()) {
    throw new MojoExecutionException("String_Node_Str" + configFile);
  }
 else {
    getLog().info("String_Node_Str" + configFile);
  }
  if (services == null) {
    List<Resource> resources=build.getResources();
    for (    Resource resource : resources) {
      File cfg=new File(resource.getDirectory(),"String_Node_Str");
      if (cfg.exists()) {
        services=cfg;
        break;
      }
    }
  }
  if (rslUrls == null) {
    rslUrls=new String[]{"String_Node_Str"};
  }
  if (policyFileUrls == null) {
    policyFileUrls=new String[]{"String_Node_Str"};
  }
  if (metadata == null) {
    metadata=new Metadata();
    if (project.getDevelopers() != null && !project.getDevelopers().isEmpty()) {
      List<Developer> developers=project.getDevelopers();
      for (      Developer d : developers) {
        metadata.setCreator(d.getName());
        break;
      }
    }
    if (project.getContributors() != null && !project.getContributors().isEmpty()) {
      List<Contributor> contributors=project.getContributors();
      for (      Contributor c : contributors) {
        metadata.setContributor(c.getName());
        break;
      }
    }
    metadata.setDate(new Date());
    if (locales != null) {
      metadata.setLanguage(locales[0]);
      metadata.addDescription(locales[0],project.getDescription());
      metadata.addTitle(locales[0],project.getName());
    }
  }
  if (licenses == null) {
    licenses=getLicenses();
  }
  configuration=builder.getDefaultConfiguration();
  configure();
  compilationData=new File(build.getDirectory(),build.getFinalName() + "String_Node_Str");
  setMavenPathResolver();
}