Class ExamplesSetPlatformMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.l2x6.cq.maven.ExamplesSetPlatformMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ExamplesCheckPlatformMojo

@Mojo(name="examples-set-platform", requiresProject=false) public class ExamplesSetPlatformMojo extends org.apache.maven.plugin.AbstractMojo
Sets either the just released Quarkus platform on all examples under the current directory via -Dcq.quarkus.platform.version=... or sets the camel-quarkus-bom instead via -Dcq.camel-quarkus.version=...

Optionally can also set the project versions via -Dcq.newVersion=....

Since:
2.10.0
  • 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

    • ExamplesSetPlatformMojo

      public ExamplesSetPlatformMojo()
  • 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