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

Examples of com.redhat.rcm.maven.plugin.buildmetadata.common.ScmInfo


    final Date buildDate = session.getStartTime();

    provideBuildUser(projectProperties, buildMetaDataProperties);
    provideMavenMetaData(buildMetaDataProperties);
    provideHostMetaData(buildMetaDataProperties);
    final ScmInfo scmInfo = provideScmMetaData(buildMetaDataProperties);
    provideBuildDateMetaData(buildMetaDataProperties, buildDate);

    // The custom providers are required to be run at the end.
    // This allows these providers to access the information generated
    // by the built-in providers.
View Full Code Here


  }

  private ScmInfo provideScmMetaData(final Properties buildMetaDataProperties)
    throws MojoFailureException
  {
    final ScmInfo scmInfo = createScmInfo();
    try
    {
      final ScmMetaDataProvider scmMetaDataProvider =
          new ScmMetaDataProvider(project, scmInfo);
      scmMetaDataProvider.provideBuildMetaData(buildMetaDataProperties);
View Full Code Here

        new ScmCredentials(settingsDecrypter, settings, userName, password,
            privateKey, passphrase);
    final ScmControl scmControl =
        new ScmControl(failOnLocalModifications, ignoreDotFilesInBaseDir,
            offline, addScmInfo, validateCheckout, failOnMissingRevision);
    final ScmInfo scmInfo =
        new ScmInfo(scmManager, connectionType, scmDateFormat, basedir,
            scmCredentials, tagBase, queryRangeInDays, buildDatePattern,
            scmControl, StringUtils.isNotBlank(remoteVersion) ? new ScmBranch(
                remoteVersion) : null);
    return scmInfo;
  }
View Full Code Here

    final Date buildDate = session.getStartTime();

    provideBuildUser(projectProperties, buildMetaDataProperties);
    provideMavenMetaData(buildMetaDataProperties);
    provideHostMetaData(buildMetaDataProperties);
    final ScmInfo scmInfo = provideScmMetaData(buildMetaDataProperties);
    provideBuildDateMetaData(buildMetaDataProperties, buildDate);

    // The custom providers are required to be run at the end.
    // This allows these providers to access the information generated
    // by the built-in providers.
View Full Code Here

  }

  private ScmInfo provideScmMetaData(final Properties buildMetaDataProperties)
    throws MojoFailureException
  {
    final ScmInfo scmInfo = createScmInfo();
    try
    {
      final ScmMetaDataProvider scmMetaDataProvider =
          new ScmMetaDataProvider(project, scmInfo);
      scmMetaDataProvider.provideBuildMetaData(buildMetaDataProperties);
View Full Code Here

        new ScmCredentials(settingsDecrypter, settings, userName, password,
            privateKey, passphrase);
    final ScmControl scmControl =
        new ScmControl(failOnLocalModifications, ignoreDotFilesInBaseDir,
            offline, addScmInfo, validateCheckout, failOnMissingRevision);
    final ScmInfo scmInfo =
        new ScmInfo(scmManager, connectionType, scmDateFormat, basedir,
            scmCredentials, tagBase, queryRangeInDays, buildDatePattern,
            scmControl, StringUtils.isNotBlank(remoteVersion) ? new ScmBranch(
                remoteVersion) : null);
    return scmInfo;
  }
View Full Code Here

TOP

Related Classes of com.redhat.rcm.maven.plugin.buildmetadata.common.ScmInfo

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.