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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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 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