Class GenerateStubsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.cloud.contract.maven.verifier.GenerateStubsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generateStubs",
defaultPhase=PACKAGE,
requiresProject=true)
public class GenerateStubsMojo
extends org.apache.maven.plugin.AbstractMojo
Picks the converted .json files and creates a jar. Requires convert to be executed
first.
- Author:
- Mariusz Smykula
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
GenerateStubsMojo
public GenerateStubsMojo()
-
-
Method Details
-
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
-