java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.cloud.contract.maven.verifier.ConvertMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="convert", requiresProject=false, defaultPhase=PROCESS_TEST_RESOURCES) public class ConvertMojo extends org.apache.maven.plugin.AbstractMojo
Convert Spring Cloud Contract Verifier contracts into stubs mappings.

This goal allows you to generate `stubs-jar` or execute `spring-cloud-contract:run` with generated mappings.

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

    • ConvertMojo

      public ConvertMojo()
  • Method Details

    • execute

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