Class SyncPropertiesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.sync.properties.SyncPropertiesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="sync-properties", defaultPhase=VALIDATE, threadSafe=true) public class SyncPropertiesMojo extends org.apache.maven.plugin.AbstractMojo
Copy the properties from a source POM to a different destination POM for syncing purposes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected File
    The base directory
    protected org.apache.maven.project.MavenProject
    The Maven project.

    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
  • Field Details

    • baseDir

      @Parameter(defaultValue="${project.basedir}") protected File baseDir
      The base directory
    • project

      @Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject project
      The Maven project.
  • Constructor Details

    • SyncPropertiesMojo

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