本文整理了Java中org.apache.maven.model.Profile.setSource()
方法的一些代码示例,展示了Profile.setSource()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Profile.setSource()
方法的具体详情如下:
包路径:org.apache.maven.model.Profile
类名称:Profile
方法名:setSource
暂无
代码示例来源:origin: org.apache.maven/maven-project
public static Profile cloneProfile( Profile src )
{
if ( src == null )
{
return null;
}
Profile result = new Profile();
cloneModelBaseFields( src, result );
result.setActivation( cloneActivation( src.getActivation() ) );
BuildBase resultBuild = null;
if ( src.getBuild() != null )
{
resultBuild = new BuildBase();
cloneBuildBaseFields( src.getBuild(), resultBuild );
}
result.setBuild( resultBuild );
result.setId( src.getId() );
result.setSource( src.getSource() );
return result;
}
代码示例来源:origin: apache/maven
profile.setSource( "profiles.xml" );
代码示例来源:origin: apache/maven
profile.setSource( "settings.xml" );
代码示例来源:origin: lvonk/fitnesse-maven-classpath
Profile p = new Profile();
p.setId(id);
p.setSource("cli");
this.mavenExecutionRequest.addProfile(p);
this.mavenExecutionRequest.addActiveProfile(id);
代码示例来源:origin: org.jvnet.hudson/hudson-maven-embedder
Profile p = new Profile();
p.setId( id );
p.setSource( "cli" );
this.mavenExecutionRequest.addProfile( p );
this.mavenExecutionRequest.addActiveProfile( id );
代码示例来源:origin: org.kie.soup/kie-soup-maven-integration
Profile p = new Profile();
p.setId( id );
p.setSource( "cli" );
mavenExecutionRequest.addProfile( p );
mavenExecutionRequest.addActiveProfile( id );
代码示例来源:origin: org.uberfire/uberfire-maven-integration
Profile p = new Profile();
p.setId( id );
p.setSource( "cli" );
mavenExecutionRequest.addProfile( p );
mavenExecutionRequest.addActiveProfile( id );
内容来源于网络,如有侵权,请联系作者删除!