本文整理了Java中org.apache.maven.model.Model.getReports()
方法的一些代码示例,展示了Model.getReports()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Model.getReports()
方法的具体详情如下:
包路径:org.apache.maven.model.Model
类名称:Model
方法名:getReports
[英]Method getReports
[中]方法getReports
代码示例来源:origin: apache/maven
if ( model.getReports() != null )
((Xpp3Dom) model.getReports()).writeToSerializer( NAMESPACE, serializer );
代码示例来源:origin: com.buschmais.jqassistant.plugin/jqassistant.plugin.m2repo
@Override
public Object getReports() {
return delegate.getReports();
}
代码示例来源:origin: maven/maven-model
/**
* Method addReport
*
* @param string
*/
public void addReport(String string)
{
if ( !(string instanceof String) )
{
throw new ClassCastException( "Model.addReports(string) parameter must be instanceof " + String.class.getName() );
}
getReports().add( string );
} //-- void addReport(String)
代码示例来源:origin: maven/maven-model
/**
* Method removeReport
*
* @param string
*/
public void removeReport(String string)
{
if ( !(string instanceof String) )
{
throw new ClassCastException( "Model.removeReports(string) parameter must be instanceof " + String.class.getName() );
}
getReports().remove( string );
} //-- void removeReport(String)
代码示例来源:origin: takari/polyglot-maven
if ( model.getReports() != null )
((Xpp3Dom) model.getReports()).writeToSerializer( NAMESPACE, serializer );
代码示例来源:origin: maven/maven-model
if ( model.getReports() != null && model.getReports().size() > 0 )
for ( Iterator iter = model.getReports().iterator(); iter.hasNext(); )
代码示例来源:origin: maven/maven-model
if ( model.getReports() != null && model.getReports().size() > 0 )
for ( Iterator iter = model.getReports().iterator(); iter.hasNext(); )
代码示例来源:origin: io.tesla.maven/maven-model
if ( model.getReports() != null )
((Xpp3Dom) model.getReports()).writeToSerializer( NAMESPACE, serializer );
代码示例来源:origin: maven/maven-model
if ( model.getReports() != null && model.getReports().size() > 0 )
for ( Iterator iter = model.getReports().iterator(); iter.hasNext(); )
代码示例来源:origin: org.codehaus.mevenide/nb-mvn-embedder
iterateRepository(innerCount, root, value.getPluginRepositories(),"pluginRepositories","pluginRepository");
iterateDependency(innerCount, root, value.getDependencies(),"dependencies","dependency");
findAndReplaceXpp3DOM(innerCount, root, "reports", (Xpp3Dom)value.getReports());
updateReporting( value.getReporting(), "reporting", innerCount, root);
updateDependencyManagement( value.getDependencyManagement(), "dependencyManagement", innerCount, root);
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-maven-embedder
iterateRepository(innerCount, root, value.getPluginRepositories(),"pluginRepositories","pluginRepository");
iterateDependency(innerCount, root, value.getDependencies(),"dependencies","dependency");
findAndReplaceXpp3DOM(innerCount, root, "reports", (Xpp3Dom)value.getReports());
updateReporting( value.getReporting(), "reporting", innerCount, root);
updateDependencyManagement( value.getDependencyManagement(), "dependencyManagement", innerCount, root);
代码示例来源:origin: apache/maven-archetype
iterateRepository( innerCount, root, value.getPluginRepositories(), "pluginRepositories", "pluginRepository" );
iterateDependency( innerCount, root, value.getDependencies(), "dependencies", "dependency" );
findAndReplaceXpp3DOM( innerCount, root, "reports", (Xpp3Dom) value.getReports() );
updateReporting( value.getReporting(), "reporting", innerCount, root );
updateDependencyManagement( value.getDependencyManagement(), "dependencyManagement", innerCount, root );
代码示例来源:origin: org.apache.maven.plugins/maven-shade-plugin
iterateRepository( innerCount, root, value.getPluginRepositories(), "pluginRepositories", "pluginRepository" );
iterateDependency( innerCount, root, value.getDependencies(), "dependencies", "dependency" );
findAndReplaceXpp3DOM( innerCount, root, "reports", (Xpp3Dom) value.getReports() );
updateReporting( value.getReporting(), "reporting", innerCount, root );
updateDependencyManagement( value.getDependencyManagement(), "dependencyManagement", innerCount, root );
代码示例来源:origin: org.apache.felix/maven-bundle-plugin
iterateRepository( innerCount, root, value.getPluginRepositories(), "pluginRepositories", "pluginRepository" );
iterateDependency( innerCount, root, value.getDependencies(), "dependencies", "dependency" );
findAndReplaceXpp3DOM( innerCount, root, "reports", (Xpp3Dom) value.getReports() );
updateReporting( value.getReporting(), "reporting", innerCount, root );
updateDependencyManagement( value.getDependencyManagement(), "dependencyManagement", innerCount, root );
代码示例来源:origin: org.jboss.forge.addon/maven-impl
iterateRepository(innerCount, root, value.getPluginRepositories(), "pluginRepositories", "pluginRepository");
iterateDependency(innerCount, root, value.getDependencies(), "dependencies", "dependency");
findAndReplaceXpp3DOM(innerCount, root, "reports", (Xpp3Dom) value.getReports());
updateReporting(value.getReporting(), "reporting", innerCount, root);
updateDependencyManagement(value.getDependencyManagement(), "dependencyManagement", innerCount, root);
代码示例来源:origin: org.sonatype.maven.archetype/archetype-common
"dependency"
);
findAndReplaceXpp3DOM( innerCount, root, "reports", (Xpp3Dom) value.getReports() );
updateReporting( value.getReporting(), "reporting", innerCount, root );
updateDependencyManagement(
内容来源于网络,如有侵权,请联系作者删除!