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

Examples of com.redhat.rcm.maven.plugin.buildmetadata.io.AdditionalLocationsSupport.handle()


        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)
    {
View Full Code Here


      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);
    }
  }

  private void provideMavenMetaData(final Properties buildMetaDataProperties)
View Full Code Here

        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)
    {
View Full Code Here

      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);
    }
  }

  private void provideMavenMetaData(final Properties buildMetaDataProperties)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.