Class CheckinMojo

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

    @Mojo(name="checkin",
          aggregator=true)
    public class CheckinMojo
    extends AbstractScmMojo
    Commit changes to the configured scm url.
    • Field Detail

      • message

        @Parameter(property="message")
        private java.lang.String message
        Commit log.
      • connectionType

        @Parameter(property="connectionType",
                   defaultValue="developerConnection")
        private java.lang.String connectionType
        The configured scm url to use.
      • scmVersionType

        @Parameter(property="scmVersionType")
        private java.lang.String scmVersionType
        The version type (branch/tag/revision) of scmVersion.
      • scmVersion

        @Parameter(property="scmVersion")
        private java.lang.String scmVersion
        The version (revision number/branch name/tag name).
      • signOption

        @Parameter(property="signOption")
        private CommandParameters.SignOption signOption
        Toggles the signing for the commit used during checkin (only applicable to SCMs that support signing).
        Since:
        2.2.1
    • Constructor Detail

      • CheckinMojo

        @Inject
        public CheckinMojo​(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