本文整理了Java中org.apache.maven.model.Model.getIssueManagement()
方法的一些代码示例,展示了Model.getIssueManagement()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Model.getIssueManagement()
方法的具体详情如下:
包路径:org.apache.maven.model.Model
类名称:Model
方法名:getIssueManagement
[英]Get the project's issue management system information.
[中]获取项目的问题管理系统信息。
代码示例来源:origin: org.apache.maven/maven-project
public IssueManagement getIssueManagement()
{
return getModel().getIssueManagement();
}
代码示例来源:origin: apache/maven
public IssueManagement getIssueManagement()
{
return getModel().getIssueManagement();
}
代码示例来源:origin: apache/maven
protected void mergeModel_IssueManagement( Model target, Model source, boolean sourceDominant,
Map<Object, Object> context )
{
IssueManagement src = source.getIssueManagement();
if ( src != null )
{
IssueManagement tgt = target.getIssueManagement();
if ( tgt == null )
{
tgt = new IssueManagement();
target.setIssueManagement( tgt );
}
mergeIssueManagement( tgt, src, sourceDominant, context );
}
}
代码示例来源:origin: apache/maven
@Override
protected void mergeModel_IssueManagement( Model target, Model source, boolean sourceDominant,
Map<Object, Object> context )
{
IssueManagement src = source.getIssueManagement();
if ( src != null )
{
IssueManagement tgt = target.getIssueManagement();
if ( tgt == null )
{
tgt = new IssueManagement();
tgt.setLocation( "", src.getLocation( "" ) );
target.setIssueManagement( tgt );
mergeIssueManagement( tgt, src, sourceDominant, context );
}
}
}
代码示例来源:origin: apache/maven
if ( model.getIssueManagement() != null )
writeIssueManagement( (IssueManagement) model.getIssueManagement(), "issueManagement", serializer );
代码示例来源:origin: apache/maven
if ( child.getIssueManagement() == null )
child.setIssueManagement( parent.getIssueManagement() );
代码示例来源:origin: org.apache.maven/maven-project
if ( child.getIssueManagement() == null )
child.setIssueManagement( parent.getIssueManagement() );
代码示例来源:origin: org.apache.maven/maven-project
result.setIssueManagement( cloneIssueManagement( src.getIssueManagement() ) );
result.setLicenses( cloneList( src.getLicenses(), LICENSE_CLONER ) );
代码示例来源:origin: mojohaus/flatten-maven-plugin
@Override
public IssueManagement get( Model model )
{
return model.getIssueManagement();
}
代码示例来源:origin: com.buschmais.jqassistant.plugin/jqassistant.plugin.m2repo
@Override
public IssueManagement getIssueManagement() {
return delegate.getIssueManagement();
}
代码示例来源:origin: takari/polyglot-maven
if ( model.getIssueManagement() != null )
writeIssueManagement( (IssueManagement) model.getIssueManagement(), "issueManagement", serializer );
代码示例来源:origin: io.tesla.maven/maven-model
protected void mergeModel_IssueManagement( Model target, Model source, boolean sourceDominant,
Map<Object, Object> context )
{
IssueManagement src = source.getIssueManagement();
if ( src != null )
{
IssueManagement tgt = target.getIssueManagement();
if ( tgt == null )
{
tgt = new IssueManagement();
target.setIssueManagement( tgt );
}
mergeIssueManagement( tgt, src, sourceDominant, context );
}
}
代码示例来源:origin: org.apache.maven.plugins/maven-project-info-reports-plugin
@Override
public boolean canGenerateReport()
{
boolean result = super.canGenerateReport();
if ( result && skipEmptyReport )
{
result = getProject().getModel().getIssueManagement() != null;
}
return result;
}
代码示例来源:origin: org.apache.maven/maven-model-builder
@Override
protected void mergeModel_IssueManagement( Model target, Model source, boolean sourceDominant,
Map<Object, Object> context )
{
IssueManagement src = source.getIssueManagement();
if ( src != null )
{
IssueManagement tgt = target.getIssueManagement();
if ( tgt == null )
{
tgt = new IssueManagement();
tgt.setLocation( "", src.getLocation( "" ) );
target.setIssueManagement( tgt );
mergeIssueManagement( tgt, src, sourceDominant, context );
}
}
}
代码示例来源:origin: takari/polyglot-maven
void project(Model model) {
String name = model.getName();
if (name == null) {
name = model.getArtifactId();
}
p.printStartBlock( "project", name, model.getUrl() );
p.println();
p.println( "model_version", model.getModelVersion() );
p.println( "inception_year", model.getInceptionYear() );
id(model);
parent(model.getParent());
p.println("packaging", model.getPackaging());
p.println();
description(model.getDescription());
developers( model.getDevelopers() );
issueManagement( model.getIssueManagement() );
mailingLists( model.getMailingLists() );
repositories( toRepositoryArray( model.getRepositories() ) );
pluginRepositories( toRepositoryArray( model.getPluginRepositories() ) );
sourceControl( model.getScm() );
distribution( model.getDistributionManagement() );
properties( model.getProperties() );
dependencies( model.getDependencies() );
modules( model.getModules() );
managements( model.getDependencyManagement(), model.getBuild() );
build( model.getBuild(), model.getBuild() );
profiles( model.getProfiles() );
reporting( model.getReporting() );
p.printEndBlock();
}
代码示例来源:origin: io.tesla.polyglot/tesla-polyglot-ruby
void project(Model model) {
String name = model.getName();
if (name == null) {
name = model.getArtifactId();
}
p.printStartBlock( "project", name, model.getUrl() );
p.println();
p.println( "model_version", model.getModelVersion() );
p.println( "inception_year", model.getInceptionYear() );
id(model);
parent(model.getParent());
p.println("packaging", model.getPackaging());
p.println();
description(model.getDescription());
developers( model.getDevelopers() );
issueManagement( model.getIssueManagement() );
mailingLists( model.getMailingLists() );
repositories( toRepositoryArray( model.getRepositories() ) );
pluginRepositories( toRepositoryArray( model.getPluginRepositories() ) );
sourceControl( model.getScm() );
distribution( model.getDistributionManagement() );
properties( model.getProperties() );
dependencies( model.getDependencies() );
modules( model.getModules() );
managements( model.getDependencyManagement(), model.getBuild() );
build( model.getBuild(), model.getBuild() );
profiles( model.getProfiles() );
reporting( model.getReporting() );
p.printEndBlock();
}
代码示例来源:origin: io.takari.polyglot/polyglot-ruby
void project(Model model) {
String name = model.getName();
if (name == null) {
name = model.getArtifactId();
}
p.printStartBlock( "project", name, model.getUrl() );
p.println();
p.println( "model_version", model.getModelVersion() );
p.println( "inception_year", model.getInceptionYear() );
id(model);
parent(model.getParent());
p.println("packaging", model.getPackaging());
p.println();
description(model.getDescription());
developers( model.getDevelopers() );
issueManagement( model.getIssueManagement() );
mailingLists( model.getMailingLists() );
repositories( toRepositoryArray( model.getRepositories() ) );
pluginRepositories( toRepositoryArray( model.getPluginRepositories() ) );
sourceControl( model.getScm() );
distribution( model.getDistributionManagement() );
properties( model.getProperties() );
dependencies( model.getDependencies() );
modules( model.getModules() );
managements( model.getDependencyManagement(), model.getBuild() );
build( model.getBuild(), model.getBuild() );
profiles( model.getProfiles() );
reporting( model.getReporting() );
p.printEndBlock();
}
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-maven-embedder
findAndReplaceSimpleElement(innerCount, root, "url", value.getUrl(), null);
updatePrerequisites( value.getPrerequisites(), "prerequisites", innerCount, root);
updateIssueManagement( value.getIssueManagement(), "issueManagement", innerCount, root);
updateCiManagement( value.getCiManagement(), "ciManagement", innerCount, root);
findAndReplaceSimpleElement(innerCount, root, "inceptionYear", value.getInceptionYear(), null);
代码示例来源:origin: apache/maven-archetype
findAndReplaceSimpleElement( innerCount, root, "url", value.getUrl(), null );
updatePrerequisites( value.getPrerequisites(), "prerequisites", innerCount, root );
updateIssueManagement( value.getIssueManagement(), "issueManagement", innerCount, root );
updateCiManagement( value.getCiManagement(), "ciManagement", innerCount, root );
findAndReplaceSimpleElement( innerCount, root, "inceptionYear", value.getInceptionYear(), null );
代码示例来源:origin: org.apache.maven.plugins/maven-shade-plugin
findAndReplaceSimpleElement( innerCount, root, "url", value.getUrl(), null );
updatePrerequisites( value.getPrerequisites(), "prerequisites", innerCount, root );
updateIssueManagement( value.getIssueManagement(), "issueManagement", innerCount, root );
updateCiManagement( value.getCiManagement(), "ciManagement", innerCount, root );
findAndReplaceSimpleElement( innerCount, root, "inceptionYear", value.getInceptionYear(), null );
内容来源于网络,如有侵权,请联系作者删除!