org.apache.maven.settings.Profile.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中org.apache.maven.settings.Profile.<init>()方法的一些代码示例,展示了Profile.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Profile.<init>()方法的具体详情如下:
包路径:org.apache.maven.settings.Profile
类名称:Profile
方法名:<init>

Profile.<init>介绍

暂无

代码示例

代码示例来源:origin: apache/maven

Profile profile = new Profile();
for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- )

代码示例来源:origin: apache/maven

Profile profile = new Profile();

代码示例来源:origin: org.apache.maven/maven-settings

Profile profile = new Profile();
for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- )

代码示例来源:origin: ru.yandex.qatools.clay/clay-maven-settings-builder

/**
 * Modifications to the build process which is keyed on
 * some sort of environmental parameter.
 */
public static FluentProfileBuilder newProfile() {
  return new FluentProfileBuilder(new Profile());
}

代码示例来源:origin: io.teecube.t3/t3-site-enhancer

public org.apache.maven.settings.Profile getFullSampleProfile(String id, Properties profileProperties) {
  org.apache.maven.settings.Profile profile = new org.apache.maven.settings.Profile();
  profile.setId(id);
  for (GlobalParameter globalParameter : globalParameters) {
    if (!globalParameter.valueGuessedByDefault) {
      String value;
      if (profileProperties.containsKey(globalParameter.property)) {
        value = profileProperties.getProperty(globalParameter.property);
      } else {
        value = "[...]";
      }
      profile.getProperties().put(globalParameter.property, value);
    }
  }
  return profile;
}

代码示例来源:origin: io.fabric8/fabric-maven

Profile fallbackProfile = new Profile();
Repository central = new Repository();
central.setId("central");

代码示例来源:origin: org.codehaus.mevenide/nb-project

Profile myProfile = new Profile();
if (repoRoot != null) {

相关文章