Class ImportPropertiesMojo

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

    @Mojo(name="import-pom-properties",
          threadSafe=true,
          defaultPhase=COMPILE,
          requiresDependencyResolution=NONE)
    public class ImportPropertiesMojo
    extends org.apache.maven.plugin.AbstractMojo
    The import-properties goal imports all properties from scope-import poms (boms) and sets them as project properties.
    Author:
    Martin Grebac
    • Field Detail

      • project

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

      • ImportPropertiesMojo

        public ImportPropertiesMojo()
    • Method Detail

      • execute

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