org.springframework.boot.maven
Class RunMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.springframework.boot.maven.RunMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="run",
      requiresProject=true,
      defaultPhase=VALIDATE,
      requiresDependencyResolution=TEST)
@Execute(phase=TEST_COMPILE)
public class RunMojo
extends org.apache.maven.plugin.AbstractMojo

MOJO that can be used to run a executable archive application directly from Maven.

Author:
Phillip Webb

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RunMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunMojo

public RunMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2013. All Rights Reserved.