Package com.redhat.rcm.maven.plugin.buildmetadata.io

Examples of com.redhat.rcm.maven.plugin.buildmetadata.io.AdditionalLocationsSupport


    final AdditionalLocationsSupport.Config config =
        new AdditionalLocationsSupport.Config();
    config.setAddToGeneratedSources(addToGeneratedSources).setAddToLocations(
        addToLocations);
    final AdditionalLocationsSupport additionalLocations =
        new AdditionalLocationsSupport(project, config);
    additionalLocations.handle(propertiesFile);
    final boolean writable = !writeProtectFiles;
    propertiesFile.setWritable(writable);

    if (createXmlReport)
    {
      final String projectRootPath = project.getBasedir().getAbsolutePath();
      final BuildXmlFileHelper xmlHelper =
          new BuildXmlFileHelper(projectRootPath, getLog(), xmlOutputFile,
              properties);
      final File xmlFile = xmlHelper.writeXmlFile(buildMetaDataProperties);
      additionalLocations.handle(xmlFile);
      xmlFile.setWritable(writable);
    }
  }
View Full Code Here


    final AdditionalLocationsSupport.Config config =
        new AdditionalLocationsSupport.Config();
    config.setAddToGeneratedSources(addToGeneratedSources).setAddToLocations(
        addToLocations);
    final AdditionalLocationsSupport additionalLocations =
        new AdditionalLocationsSupport(project, config);
    additionalLocations.handle(propertiesFile);
    final boolean writable = !writeProtectFiles;
    propertiesFile.setWritable(writable);

    if (createXmlReport)
    {
      final String projectRootPath = project.getBasedir().getAbsolutePath();
      final BuildXmlFileHelper xmlHelper =
          new BuildXmlFileHelper(projectRootPath, getLog(), xmlOutputFile,
              properties);
      final File xmlFile = xmlHelper.writeXmlFile(buildMetaDataProperties);
      additionalLocations.handle(xmlFile);
      xmlFile.setWritable(writable);
    }
  }
View Full Code Here

TOP

Related Classes of com.redhat.rcm.maven.plugin.buildmetadata.io.AdditionalLocationsSupport

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.