Class PrepareWithPomReleaseMojo

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

    @Mojo(name="prepare-with-pom",
          aggregator=true,
          requiresDependencyResolution=TEST)
    public class PrepareWithPomReleaseMojo
    extends PrepareReleaseMojo
    Prepare for a release in SCM, fully resolving dependencies for the purpose of producing a "release POM".
    Since:
    2.0
    • Field Detail

      • generateReleasePoms

        @Parameter(defaultValue="true",
                   property="generateReleasePoms")
        private boolean generateReleasePoms
        Whether to generate release-pom.xml files that contain resolved information about the project.
    • Constructor Detail

      • PrepareWithPomReleaseMojo

        public PrepareWithPomReleaseMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class PrepareReleaseMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException