Class 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 in a POM in a different POM for syncing purpose.
    • Field Detail

      • sourcePom

        @Parameter(defaultValue="${basedir}/../../../parent/pom.xml")
        protected File sourcePom
        The source pom template file.
      • targetPom

        @Parameter(defaultValue="${basedir}/../../../camel-dependencies/pom.xml")
        protected File targetPom
        The pom file.
      • licenseHeader

        @Parameter(defaultValue="${basedir}/../../etc/apache-header.xml")
        protected File licenseHeader
        The license header file.
      • project

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

      • SyncPropertiesMojo

        public SyncPropertiesMojo()
    • Method Detail

      • 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