org.apache.maven.plugins.annotations.Execute.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(5.9k)|赞(0)|评价(0)|浏览(201)

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

Execute.<init>介绍

暂无

代码示例

代码示例来源:origin: vipshop/Saturn

@Execute(phase = LifecyclePhase.PACKAGE)
public class SaturnJobZipMojo extends AbstractMojo {

代码示例来源:origin: vipshop/Saturn

@Execute(phase = LifecyclePhase.COMPILE)
public class SaturnJobRunMojo extends AbstractMojo {

代码示例来源:origin: jooby-project/jooby

@Mojo(name = "assets", defaultPhase = LifecyclePhase.PREPARE_PACKAGE,
  requiresDependencyResolution = ResolutionScope.COMPILE)
@Execute(phase = LifecyclePhase.PREPARE_PACKAGE)
public class AssetMojo extends AbstractMojo {

代码示例来源:origin: jooby-project/jooby

@Mojo(name = "run", threadSafe = true, requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.TEST_COMPILE)
public class JoobyMojo extends AbstractMojo {
 private static final Object LOCK = new Object();

代码示例来源:origin: electronicarts/ea-async

threadSafe = true,
    requiresDependencyResolution = ResolutionScope.RUNTIME)
@Execute(goal = "instrument", phase = LifecyclePhase.PROCESS_CLASSES)
public class MainMojo extends AbstractAsyncMojo

代码示例来源:origin: electronicarts/ea-async

requiresDirectInvocation = false,
    requiresDependencyResolution = ResolutionScope.TEST)
@Execute(goal = "instrument-test", phase = LifecyclePhase.PROCESS_TEST_CLASSES)
public class TestMojo extends AbstractAsyncMojo

代码示例来源:origin: com.atlassian.maven.plugins/jira-maven-plugin

@Mojo(name = "run", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class JiraRunMojo extends RunMojo
{
  @Override
  protected String getDefaultProductId() throws MojoExecutionException
  {
    return ProductHandlerFactory.JIRA;
  }
}

代码示例来源:origin: com.atlassian.maven.plugins/jira-maven-plugin

@Mojo(name = "debug", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class JiraDebugMojo extends DebugMojo
{
  @Override
  protected String getDefaultProductId() throws MojoExecutionException
  {
    return ProductHandlerFactory.JIRA;
  }
}

代码示例来源:origin: com.atlassian.maven.plugins/maven-stash-plugin

@Mojo(name = "remote-test", requiresDependencyResolution = ResolutionScope.TEST, defaultPhase = LifecyclePhase.PRE_INTEGRATION_TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class StashRemoteTestMojo extends RemoteTestMojo
{
}

代码示例来源:origin: com.atlassian.maven.plugins/confluence-maven-plugin

@Mojo(name = "run", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class ConfluenceRunMojo extends RunMojo
{
  @Override
  protected String getDefaultProductId() throws MojoExecutionException
  {
    return ProductHandlerFactory.CONFLUENCE;
  }
}

代码示例来源:origin: com.atlassian.maven.plugins/maven-crowd-plugin

@Mojo(name = "run", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class CrowdRunMojo extends RunMojo
{
  @Override
  protected String getDefaultProductId() throws MojoExecutionException
  {
    return ProductHandlerFactory.CROWD;
  }
}

代码示例来源:origin: com.atlassian.maven.plugins/maven-jira-plugin

@Mojo(name = "debug", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class JiraDebugMojo extends DebugMojo
{
  @Override
  protected String getDefaultProductId() throws MojoExecutionException
  {
    return ProductHandlerFactory.JIRA;
  }
}

代码示例来源:origin: com.atlassian.maven.plugins/fecru-maven-plugin

@Mojo(name = "run", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class FeCruRunMojo extends RunMojo
{
  @Override
  protected String getDefaultProductId() throws MojoExecutionException
  {
    return ProductHandlerFactory.FECRU;
  }
}

代码示例来源:origin: com.atlassian.maven.plugins/bamboo-maven-plugin

@Mojo(name = "remote-test", requiresDependencyResolution = ResolutionScope.TEST, defaultPhase = LifecyclePhase.PRE_INTEGRATION_TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class BambooRemoteTestMojo extends RemoteTestMojo
{

}

代码示例来源:origin: com.atlassian.maven.plugins/bamboo-maven-plugin

@Mojo(name = "debug", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class BambooDebugMojo extends DebugMojo
{
  @Override
  protected String getDefaultProductId() throws MojoExecutionException
  {
    return ProductHandlerFactory.BAMBOO;
  }
}

代码示例来源:origin: com.atlassian.maven.plugins/refapp-maven-plugin

@Mojo(name = "remote-test", requiresDependencyResolution = ResolutionScope.TEST, defaultPhase = LifecyclePhase.PRE_INTEGRATION_TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class RefappRemoteTestMojo extends RemoteTestMojo
{

}

代码示例来源:origin: com.atlassian.maven.plugins/maven-amps-dispatcher-plugin

@Mojo(name = "remote-test", requiresDependencyResolution = ResolutionScope.TEST, defaultPhase = LifecyclePhase.PRE_INTEGRATION_TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class AmpsDispatcherRemoteTestMojo extends AbstractAmpsDispatcherMojo
{

}

代码示例来源:origin: com.atlassian.maven.plugins/confluence-maven-plugin

@Mojo(name = "remote-test", requiresDependencyResolution = ResolutionScope.TEST, defaultPhase = LifecyclePhase.PRE_INTEGRATION_TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class ConfluenceRemoteTestMojo extends RemoteTestMojo
{

}

代码示例来源:origin: com.atlassian.maven.plugins/fecru-maven-plugin

@Mojo(name = "remote-test", requiresDependencyResolution = ResolutionScope.TEST, defaultPhase = LifecyclePhase.PRE_INTEGRATION_TEST)
@Execute(phase = LifecyclePhase.PACKAGE)
public class FeCruRemoteTestMojo extends RemoteTestMojo
{

}

代码示例来源:origin: wildfly-swarm-archive/ARCHIVE-wildfly-swarm

@Mojo(name = "run",
    requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME,
    requiresDependencyCollection = ResolutionScope.COMPILE_PLUS_RUNTIME)
@Execute(phase = LifecyclePhase.PACKAGE)
public class RunMojo extends StartMojo {
  public RunMojo() {
    waitForProcess = true;
  }
}

相关文章

Execute类方法