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

Examples of com.redhat.rcm.maven.plugin.buildmetadata.util.FilePathNormalizer


    if (!skip)
    {
      super.execute();

      final String baseDir = project.getBasedir().getAbsolutePath();
      final FilePathNormalizer filePathNormalizer =
          new FilePathNormalizer(baseDir);
      final BuildPropertiesFileHelper helper =
          new BuildPropertiesFileHelper(getLog(), propertiesOutputFile,
              filePathNormalizer);
      final Properties projectProperties = helper.getProjectProperties(project);
      if (!isBuildPropertiesAlreadySet(projectProperties))
View Full Code Here


    if (propertiesOutputFile.exists())
    {
      final Properties buildMetaDataProperties = new Properties();
      final String baseDir = project.getBasedir().getAbsolutePath();
      final FilePathNormalizer filePathNormalizer =
          new FilePathNormalizer(baseDir);
      final BuildPropertiesFileHelper helper =
          new BuildPropertiesFileHelper(getLog(), propertiesOutputFile,
              filePathNormalizer);
      helper.readBuildPropertiesFile(buildMetaDataProperties);
View Full Code Here

      final OutputStream out) throws ParserConfigurationException, IOException,
    TransformerException
  {
    final Document document = createDocument();
    final SdocBuilder builder =
        new SdocBuilder(new FilePathNormalizer(projectRootPath), document,
            buildMetaDataProperties, selectedProperties);
    builder.writeDocumentContent();
    MojoIoUtils.serialize(document, out);
  }
View Full Code Here

    final Sink sink = getSink();
    final ResourceBundle messages = getBundle(locale);
    final String baseDir = project.getBasedir().getAbsolutePath();
    final BuildReportRenderer renderer =
        new BuildReportRenderer(new FilePathNormalizer(baseDir), messages,
            sink, propertiesOutputFile, properties);
    renderer.renderReport();
  }
View Full Code Here

    if (!skip)
    {
      super.execute();

      final String baseDir = project.getBasedir().getAbsolutePath();
      final FilePathNormalizer filePathNormalizer =
          new FilePathNormalizer(baseDir);
      final BuildPropertiesFileHelper helper =
          new BuildPropertiesFileHelper(getLog(), propertiesOutputFile,
              filePathNormalizer);
      final Properties projectProperties = helper.getProjectProperties(project);
      if (!isBuildPropertiesAlreadySet(projectProperties))
View Full Code Here

TOP

Related Classes of com.redhat.rcm.maven.plugin.buildmetadata.util.FilePathNormalizer

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.