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

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

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

Build.setPluginManagement介绍

暂无

代码示例

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

public void setPluginManagement( PluginManagement pluginManagement )
{
  build.setPluginManagement( pluginManagement );
}

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

public void preserveBuild( Build originalInterpolatedBuild )
{
  dynamicBuild = getBuild();
  this.originalInterpolatedBuild = originalInterpolatedBuild;
  this.originalInterpolatedBuild.setPluginManagement( null );
  this.originalInterpolatedBuild.setPlugins( null );
}

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

childBuild.setPluginManagement( recessivePM );

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

childBuild.setPluginManagement( recessivePM );

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

build.setPluginManagement( parsePluginManagement( parser, strict ) );

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

build.setPluginManagement( parsePluginManagement( parser, strict, source ) );

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

build.setPluginManagement( pluginManagement );

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

modelBuild.setPluginManagement( profilePM );

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

build.setPluginManagement(((PluginManagementNamedValue)namedvalue).getPluginManagement());

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

build.setPluginManagement( parsePluginManagement( parser, strict ) );

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

PluginManagement management = new PluginManagement();
management.setPlugins(pluginOverrides);
model.getBuild().setPluginManagement(management);

代码示例来源:origin: mojohaus/flatten-maven-plugin

@Override
  public void set( Model model, PluginManagement value )
  {
    if ( model.getBuild() == null )
    {
      model.setBuild( new Build() );
    }
    model.getBuild().setPluginManagement( value );
  };
};

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

model.getBuild().setPluginManagement( pluginManagement );

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

releaseModel.setProfiles( Collections.<Profile>emptyList() );
releaseModel.setDependencyManagement( null );
releaseProject.getBuild().setPluginManagement( null );

代码示例来源:origin: io.tesla.maven/maven-model

build.setPluginManagement( parsePluginManagement( parser, strict ) );

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

if (!plugins.isEmpty()) {
  toGenerate.getModel().setBuild(new Build());
  toGenerate.getModel().getBuild().setPluginManagement(new PluginManagement());
  for (Artifact artifact : plugins) {
    toGenerate.getPluginManagement().addPlugin(toPlugin(artifact));

代码示例来源:origin: io.tesla.maven/maven-model

build.setPluginManagement( parsePluginManagement( parser, strict, source ) );

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

build.setPluginManagement( pluginManagement );

代码示例来源:origin: io.takari.polyglot/polyglot-atom

PluginManagement management = new PluginManagement();
management.setPlugins(pluginOverrides);
model.getBuild().setPluginManagement(management);

代码示例来源:origin: io.tesla.polyglot/tesla-polyglot-atom

PluginManagement management = new PluginManagement();
management.setPlugins(pluginOverrides);
model.getBuild().setPluginManagement(management);

相关文章