Class M2ReleaseArgumentInterceptorAction

  • All Implemented Interfaces:
    hudson.maven.MavenArgumentInterceptorAction, Action, ModelObject

    public class M2ReleaseArgumentInterceptorAction
    extends Object
    implements hudson.maven.MavenArgumentInterceptorAction
    This action provides the arguments to trigger maven in case of a release build.
    Version:
    0.9.0
    Author:
    Dominik Bartholdi, Robert Kleinschmager
    • Constructor Detail

      • M2ReleaseArgumentInterceptorAction

        @Deprecated
        public M2ReleaseArgumentInterceptorAction​(String goalsAndOptions)
        Deprecated.
      • M2ReleaseArgumentInterceptorAction

        public M2ReleaseArgumentInterceptorAction​(String goalsAndOptions,
                                                  String scmPassword)
    • Method Detail

      • getGoalsAndOptions

        public String getGoalsAndOptions​(hudson.maven.MavenModuleSetBuild build)
        Specified by:
        getGoalsAndOptions in interface hudson.maven.MavenArgumentInterceptorAction
      • intercept

        public ArgumentListBuilder intercept​(ArgumentListBuilder mavenargs,
                                             hudson.maven.MavenModuleSetBuild build)
        Specified by:
        intercept in interface hudson.maven.MavenArgumentInterceptorAction