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

x33g5p2x  于2022-01-16 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(169)

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

Build.getResources介绍

暂无

代码示例

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

public List getResources()
{
  return getBuild().getResources();
}

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

public List<Resource> getResources()
{
  return getBuild().getResources();
}

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

public BuildOverlay( Build build )
{
  if ( build == null )
  {
    this.build = new Build();
    
    this.resources = new ArrayList();
    
    this.testResources = new ArrayList();
  }
  else
  {
    this.build = build;
    
    this.resources = new ArrayList( build.getResources() );
    
    this.testResources = new ArrayList( build.getTestResources() );
  }
}

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

for ( Iterator i = build.getResources().iterator(); i.hasNext(); )

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

for ( Iterator i = build.getResources().iterator(); i.hasNext(); )

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

for ( Iterator it = build.getResources().iterator(); it.hasNext(); )

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

if ( ( build.getResources() != null ) && ( build.getResources().size() > 0 ) )
  for ( Iterator iter = build.getResources().iterator(); iter.hasNext(); )

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

List resources = childBuild.getResources();
if ( ( resources == null ) || resources.isEmpty() )
  childBuild.setResources( parentBuild.getResources() );

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

List<Resource> resources = childBuild.getResources();
if ( ( resources == null ) || resources.isEmpty() )
  childBuild.setResources( parentBuild.getResources() );

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

Build originalInterpolatedBuild = project.getOriginalInterpolatedBuild();
dynamicBuild.setResources( restoreResources( dynamicBuild.getResources(),
                         originalInterpolatedBuild.getResources(),
                         changedBuild.getResources(),
                         project,
                         config,

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

for ( Resource resource : build.getResources() )

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

for ( Resource resource : build.getResources() )

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

for ( Resource resource : build.getResources() )

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

if ( build != null )
  initResourceMergeIds( build.getResources() );
  initResourceMergeIds( build.getTestResources() );

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

validate20RawResources( problems, build.getResources(), "build.resources.resource", request );

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

ModelUtils.mergeResourceLists( modelBuild.getResources(), profileBuild.getResources() );
ModelUtils.mergeResourceLists( modelBuild.getTestResources(), profileBuild.getTestResources() );

代码示例来源:origin: geotools/geotools

generator.setResourceLocation(((Resource)project.getBuild().getResources().get( 0 )).getDirectory());
generator.setFollowComplexTypes(followComplexTypes);
generator.setIncludes( includes );

代码示例来源:origin: geotools/geotools

generator.setResourceLocation(((Resource)project.getBuild().getResources().get( 0 )).getDirectory());
generator.setSchemaSourceDirectory(schemaSourceDirectory);

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

if ( ( build.getResources() != null ) && ( build.getResources().size() > 0 ) )
  for ( Iterator iter = build.getResources().iterator(); iter.hasNext(); )

代码示例来源:origin: paypal/SeLion

String resourcesDir() {
  List<Resource> res = project.getBuild().getResources();
  if (res != null && res.size() >= 1) {
    return res.get(0).getDirectory();
  }
  return "";
}

相关文章