本文整理了Java中org.apache.maven.model.Model.setOrganization()
方法的一些代码示例,展示了Model.setOrganization()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Model.setOrganization()
方法的具体详情如下:
包路径:org.apache.maven.model.Model
类名称:Model
方法名:setOrganization
[英]Set this element describes various attributes of the organization to which the project belongs. These attributes are utilized when documentation is created (for copyright notices and links).
[中]Set此元素描述项目所属组织的各种属性。这些属性在创建文档时使用(用于版权声明和链接)。
代码示例来源:origin: org.apache.maven/maven-project
public void setOrganization( Organization organization )
{
getModel().setOrganization( organization );
}
代码示例来源:origin: apache/maven
public void setOrganization( Organization organization )
{
getModel().setOrganization( organization );
}
代码示例来源:origin: apache/maven
protected void mergeModel_Organization( Model target, Model source, boolean sourceDominant,
Map<Object, Object> context )
{
Organization src = source.getOrganization();
if ( src != null )
{
Organization tgt = target.getOrganization();
if ( tgt == null )
{
tgt = new Organization();
target.setOrganization( tgt );
}
mergeOrganization( tgt, src, sourceDominant, context );
}
}
代码示例来源:origin: apache/maven
@Override
protected void mergeModel_Organization( Model target, Model source, boolean sourceDominant,
Map<Object, Object> context )
{
Organization src = source.getOrganization();
if ( src != null )
{
Organization tgt = target.getOrganization();
if ( tgt == null )
{
tgt = new Organization();
tgt.setLocation( "", src.getLocation( "" ) );
target.setOrganization( tgt );
mergeOrganization( tgt, src, sourceDominant, context );
}
}
}
代码示例来源:origin: apache/maven
model.setOrganization( parseOrganization( parser, strict ) );
代码示例来源:origin: apache/maven
child.setOrganization( parent.getOrganization() );
代码示例来源:origin: org.apache.maven/maven-project
child.setOrganization( parent.getOrganization() );
代码示例来源:origin: apache/maven
model.setOrganization( parseOrganization( parser, strict, source ) );
代码示例来源:origin: org.apache.maven/maven-project
result.setModelVersion( src.getModelVersion() );
result.setName( src.getName() );
result.setOrganization( cloneOrganization( src.getOrganization() ) );
result.setPackaging( src.getPackaging() );
result.setParent( cloneParent( src.getParent() ) );
代码示例来源:origin: mojohaus/flatten-maven-plugin
@Override
public void set( Model model, Organization value )
{
model.setOrganization( value );
};
};
代码示例来源:origin: ru.yandex.qatools.clay/clay-maven-settings-builder
/**
* Set this element describes various attributes of the
* organization to which the
* project belongs. These attributes are utilized
* when documentation is created (for
* copyright notices and links).
*
* @param organization
*/
public FluentModelBuilder withOrganization(Organization organization) {
model.setOrganization(organization);
return this;
}
代码示例来源:origin: com.buschmais.jqassistant.plugin/jqassistant.plugin.m2repo
@Override
public void setOrganization(Organization organization) {
delegate.setOrganization(organization);
}
代码示例来源:origin: takari/polyglot-maven
model.setOrganization( parseOrganization( parser, strict ) );
代码示例来源:origin: io.tesla.maven/maven-model
protected void mergeModel_Organization( Model target, Model source, boolean sourceDominant,
Map<Object, Object> context )
{
Organization src = source.getOrganization();
if ( src != null )
{
Organization tgt = target.getOrganization();
if ( tgt == null )
{
tgt = new Organization();
target.setOrganization( tgt );
}
mergeOrganization( tgt, src, sourceDominant, context );
}
}
代码示例来源:origin: org.apache.maven/maven-model-builder
@Override
protected void mergeModel_Organization( Model target, Model source, boolean sourceDominant,
Map<Object, Object> context )
{
Organization src = source.getOrganization();
if ( src != null )
{
Organization tgt = target.getOrganization();
if ( tgt == null )
{
tgt = new Organization();
tgt.setLocation( "", src.getLocation( "" ) );
target.setOrganization( tgt );
mergeOrganization( tgt, src, sourceDominant, context );
}
}
}
代码示例来源:origin: org.apache.maven.shared/maven-app-configuration-web
companyModel.setOrganization( project.getOrganization() );
代码示例来源:origin: maven/maven-model
model.setOrganization( parseOrganization( "organization", parser, strict, encoding ) );
代码示例来源:origin: io.tesla.maven/maven-model
model.setOrganization( parseOrganization( parser, strict ) );
代码示例来源:origin: io.tesla.maven/maven-model
model.setOrganization( parseOrganization( parser, strict, source ) );
代码示例来源:origin: org.apache.maven.shared/maven-model-converter
model.setModelVersion( "4.0.0" );
model.setName( v3Model.getName() );
model.setOrganization( translateOrganization( v3Model.getOrganization() ) );
model.setPackaging( "jar" );
内容来源于网络,如有侵权,请联系作者删除!