Class UpdateVersionsMojo

    • Field Detail

      • autoVersionSubmodules

        @Parameter(defaultValue="false",
                   property="autoVersionSubmodules")
        private boolean autoVersionSubmodules
        Whether to automatically assign submodules the parent version. If set to false, the user will be prompted for the version of each submodules.
        Since:
        2.0
      • addSchema

        @Parameter(defaultValue="true",
                   property="addSchema")
        private boolean addSchema
        Whether to add a schema to the POM if it was previously missing on release.
        Since:
        2.0
      • developmentVersion

        @Parameter(property="developmentVersion")
        private java.lang.String developmentVersion
        Default version to use for new local working copy.
        Since:
        2.0
      • updateDependencies

        @Parameter(defaultValue="true",
                   property="updateDependencies")
        private boolean updateDependencies
        Whether to update dependencies version to the next development version.
        Since:
        2.5.2
      • useEditMode

        @Parameter(defaultValue="false",
                   property="useEditMode")
        private boolean useEditMode
        Whether to use "edit" mode on the SCM, to lock the file for editing during SCM operations.
        Since:
        2.5.2
      • projectVersionPolicyId

        @Parameter(defaultValue="default",
                   property="projectVersionPolicyId")
        private java.lang.String projectVersionPolicyId
        The role-hint for the VersionPolicy implementation used to calculate the project versions.
        Since:
        3.0.0
    • Constructor Detail

      • UpdateVersionsMojo

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