本文整理了Java中org.apache.maven.model.Reporting.setExcludeDefaults
方法的一些代码示例,展示了Reporting.setExcludeDefaults
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Reporting.setExcludeDefaults
方法的具体详情如下:
包路径:org.apache.maven.model.Reporting
类名称:Reporting
方法名:setExcludeDefaults
[英]Set if true, then the default reports are not included in the site generation. This includes the reports in the "Project Info" menu. Note: While the type of this field is String
for technical reasons, the semantic type is actually Boolean
. Default value is false
.
[中]如果设置为true,则默认报告不包括在站点生成中。这包括“项目信息”菜单中的报告。注意:由于技术原因,该字段的类型为String
,而语义类型实际上为Boolean
。默认值为false
。
代码示例来源:origin: apache/maven
protected void mergeReporting_ExcludeDefaults( Reporting target, Reporting source, boolean sourceDominant,
Map<Object, Object> context )
{
String src = source.getExcludeDefaults();
if ( src != null )
{
if ( sourceDominant || target.getExcludeDefaults() == null )
{
target.setExcludeDefaults( src );
target.setLocation( "excludeDefaults", source.getLocation( "excludeDefaults" ) );
}
}
}
代码示例来源:origin: org.apache.maven/maven-project
public static Reporting cloneReporting( Reporting src )
{
if ( src == null )
{
return null;
}
Reporting result = new Reporting();
result.setExcludeDefaults( src.isExcludeDefaults() );
result.setOutputDirectory( src.getOutputDirectory() );
result.setPlugins( cloneList( src.getPlugins(), REPORT_PLUGIN_CLONER ) );
return result;
}
代码示例来源:origin: apache/maven
private void assembleReportingInheritance( Model child, Model parent )
{
// Reports :: aggregate
Reporting childReporting = child.getReporting();
Reporting parentReporting = parent.getReporting();
if ( parentReporting != null )
{
if ( childReporting == null )
{
childReporting = new Reporting();
child.setReporting( childReporting );
}
childReporting.setExcludeDefaults( parentReporting.isExcludeDefaults() );
if ( StringUtils.isEmpty( childReporting.getOutputDirectory() ) )
{
childReporting.setOutputDirectory( parentReporting.getOutputDirectory() );
}
mergeReportPluginLists( childReporting, parentReporting, true );
}
}
代码示例来源:origin: apache/maven
reporting.setExcludeDefaults( interpolatedTrimmed( parser.nextText(), "excludeDefaults" ) );
代码示例来源:origin: apache/maven
reporting.setExcludeDefaults( interpolatedTrimmed( parser.nextText(), "excludeDefaults" ) );
代码示例来源:origin: takari/polyglot-maven
reporting.setExcludeDefaults( getTrimmedValue( value ) );
代码示例来源:origin: io.tesla.maven/maven-model
protected void mergeReporting_ExcludeDefaults( Reporting target, Reporting source, boolean sourceDominant,
Map<Object, Object> context )
{
String src = source.getExcludeDefaults();
if ( src != null )
{
if ( sourceDominant || target.getExcludeDefaults() == null )
{
target.setExcludeDefaults( src );
target.setLocation( "excludeDefaults", source.getLocation( "excludeDefaults" ) );
}
}
}
代码示例来源:origin: io.tesla.maven/maven-model
reporting.setExcludeDefaults( getTrimmedValue( parser.nextText() ) );
代码示例来源:origin: io.tesla.maven/maven-model
reporting.setExcludeDefaults( getTrimmedValue( parser.nextText() ) );
内容来源于网络,如有侵权,请联系作者删除!