Class GenerateXmlWithDtoMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="generate-xml-with-dto",
          inheritByDefault=false,
          defaultPhase=GENERATE_SOURCES,
          requiresDependencyResolution=COMPILE,
          threadSafe=true)
    public class GenerateXmlWithDtoMojo
    extends GenerateXmlMojo
    • Field Detail

      • DEFAULT_REST_CONSUMER_COMPONENTS

        public static final String[] DEFAULT_REST_CONSUMER_COMPONENTS
    • Constructor Detail

      • GenerateXmlWithDtoMojo

        public GenerateXmlWithDtoMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class GenerateXmlMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • detectCamelVersionFromClasspath

        protected String detectCamelVersionFromClasspath()
      • detectRestComponentFromClasspath

        protected String detectRestComponentFromClasspath()
      • detectSpringBootFromClasspath

        protected boolean detectSpringBootFromClasspath()
      • grabPackageName

        protected static String grabPackageName​(String content)
      • findAppropriateComponent

        protected String findAppropriateComponent()