org.apache.maven.model.Profile.setRepositories()方法的使用及代码示例

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

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

Profile.setRepositories介绍

暂无

代码示例

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

profile.setRepositories( repositories );
while ( parser.nextTag() == XmlPullParser.START_TAG )

代码示例来源:origin: takari/polyglot-maven

public ProfileBuilder repositories(Repository... repositories) {
  if (repositories != null) {
    getProfile().setRepositories(Arrays.asList(repositories));
  }
  return this;
}

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

profile.setRepositories( repositories );
while ( parser.nextTag() == XmlPullParser.START_TAG )

代码示例来源:origin: takari/polyglot-maven

profile.setRepositories( repositories );
while ( parser.nextTag() == XmlPullParser.START_TAG )

代码示例来源:origin: shrinkwrap/resolver

public static Profile asProfile(org.apache.maven.settings.Profile profile) {
  Profile mavenProfile = new Profile();
  if (profile != null) {
    mavenProfile.setId(profile.getId());
    mavenProfile.setActivation(asActivation(profile.getActivation()));
    mavenProfile.setProperties(profile.getProperties());
    mavenProfile.setRepositories(asRepositories(profile.getRepositories()));
    mavenProfile.setPluginRepositories(asRepositories(profile.getPluginRepositories()));
  }
  return mavenProfile;
}

代码示例来源:origin: org.jboss.shrinkwrap.resolver/shrinkwrap-resolver-impl-maven

public static Profile asProfile(org.apache.maven.settings.Profile profile) {
  Profile mavenProfile = new Profile();
  if (profile != null) {
    mavenProfile.setId(profile.getId());
    mavenProfile.setActivation(asActivation(profile.getActivation()));
    mavenProfile.setProperties(profile.getProperties());
    mavenProfile.setRepositories(asRepositories(profile.getRepositories()));
    mavenProfile.setPluginRepositories(asRepositories(profile.getPluginRepositories()));
  }
  return mavenProfile;
}

代码示例来源:origin: io.tesla.maven/maven-model

profile.setRepositories( repositories );
while ( parser.nextTag() == XmlPullParser.START_TAG )

代码示例来源:origin: io.tesla.maven/maven-model

profile.setRepositories( repositories );
while ( parser.nextTag() == XmlPullParser.START_TAG )

代码示例来源:origin: mojohaus/flatten-maven-plugin

strippedProfile.setActivation( profile.getActivation() );
strippedProfile.setDependencies( profile.getDependencies() );
strippedProfile.setRepositories( profile.getRepositories() );
cleanPom.addProfile( strippedProfile );

相关文章