Class UpdateSubprojectsMojo

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

    @Mojo(name="update-subprojects")
    public class UpdateSubprojectsMojo
    extends AbstractScmMojo
    Updates all projects in a multi project build. This is useful for users who have adopted the flat project structure where the aggregator project is a sibling of the sub projects rather than sitting in the parent directory.
    • Constructor Detail

      • UpdateSubprojectsMojo

        @Inject
        public UpdateSubprojectsMojo​(ScmManager manager,
                                     org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter)
    • Method Detail

      • execute

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