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

x33g5p2x  于2022-01-24 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(127)

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

Model.setCiManagement介绍

[英]Set the project's continuous integration information.
[中]设置项目的持续集成信息。

代码示例

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

public void setCiManagement( CiManagement ciManagement )
{
  getModel().setCiManagement( ciManagement );
}

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

public void setCiManagement( CiManagement ciManagement )
{
  getModel().setCiManagement( ciManagement );
}

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

protected void mergeModel_CiManagement( Model target, Model source, boolean sourceDominant,
                    Map<Object, Object> context )
{
  CiManagement src = source.getCiManagement();
  if ( src != null )
  {
    CiManagement tgt = target.getCiManagement();
    if ( tgt == null )
    {
      tgt = new CiManagement();
      target.setCiManagement( tgt );
    }
    mergeCiManagement( tgt, src, sourceDominant, context );
  }
}

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

@Override
protected void mergeModel_CiManagement( Model target, Model source, boolean sourceDominant,
                    Map<Object, Object> context )
{
  CiManagement src = source.getCiManagement();
  if ( src != null )
  {
    CiManagement tgt = target.getCiManagement();
    if ( tgt == null )
    {
      tgt = new CiManagement();
      tgt.setLocation( "", src.getLocation( "" ) );
      target.setCiManagement( tgt );
      mergeCiManagement( tgt, src, sourceDominant, context );
    }
  }
}

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

model.setCiManagement( parseCiManagement( parser, strict ) );

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

child.setCiManagement( parent.getCiManagement() );

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

child.setCiManagement( parent.getCiManagement() );

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

model.setCiManagement( parseCiManagement( parser, strict, source ) );

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

result.setCiManagement( cloneCiManagement( src.getCiManagement() ) );

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

@Override
  public void set( Model model, CiManagement value )
  {
    model.setCiManagement( value );
  };
};

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

/**
 * Set the project's continuous integration information.
 *
 * @param ciManagement
 */
public FluentModelBuilder withCiManagement(CiManagement ciManagement) {
  model.setCiManagement(ciManagement);
  return this;
}

代码示例来源:origin: com.buschmais.jqassistant.plugin/jqassistant.plugin.m2repo

@Override
public void setCiManagement(CiManagement ciManagement) {
  delegate.setCiManagement(ciManagement);
}

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

model.setCiManagement( parseCiManagement( parser, strict ) );

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

protected void mergeModel_CiManagement( Model target, Model source, boolean sourceDominant,
                    Map<Object, Object> context )
{
  CiManagement src = source.getCiManagement();
  if ( src != null )
  {
    CiManagement tgt = target.getCiManagement();
    if ( tgt == null )
    {
      tgt = new CiManagement();
      target.setCiManagement( tgt );
    }
    mergeCiManagement( tgt, src, sourceDominant, context );
  }
}

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

@Override
protected void mergeModel_CiManagement( Model target, Model source, boolean sourceDominant,
                    Map<Object, Object> context )
{
  CiManagement src = source.getCiManagement();
  if ( src != null )
  {
    CiManagement tgt = target.getCiManagement();
    if ( tgt == null )
    {
      tgt = new CiManagement();
      tgt.setLocation( "", src.getLocation( "" ) );
      target.setCiManagement( tgt );
      mergeCiManagement( tgt, src, sourceDominant, context );
    }
  }
}

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

model.setCiManagement( parseCiManagement( parser, strict ) );

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

model.setCiManagement( parseCiManagement( parser, strict, source ) );

代码示例来源:origin: org.apache.maven.shared/maven-model-converter

model.setCiManagement( translateCiManagementInfo( v3Model.getBuild() ) );
model.setContributors( translateContributors( v3Model.getContributors() ) );

相关文章

Model类方法