Interface IMavenService

All Known Implementing Classes:
MavenService

public interface IMavenService
The Interface IMavenService.
  • Method Details

    • mvnSiteAssembly

      void mvnSiteAssembly(String strSiteName, String strTagName, String strMavenProfile, SvnUser user, CommandResult commandResult)
      mvnReleasePrepare.
      Parameters:
      strSiteName - the str site name
      strTagName - the str tag name
      strMavenProfile - the str maven profile
      user - the user
      commandResult - the command result
    • mvnReleasePrepare

      String mvnReleasePrepare(String strPathPom, String strReleaseVersion, String strTag, String strDevelopmentVersion, String strUsername, String strPassword, CommandResult commandResult, String strTargetJdkVersion)
      Mvn release prepare.
      Parameters:
      strPathPom - the str path pom
      strReleaseVersion - the str release version
      strTag - the str tag
      strDevelopmentVersion - the str development version
      strUsername - the str username
      strPassword - the str password
      commandResult - the command result
      Returns:
      the string
    • mvnReleasePerform

      String mvnReleasePerform(String strPathPom, String strUsername, String strPassword, CommandResult commandResult, boolean bPrivateRepository, String strTargetJdkVersion)
      Mvn release perform.
      Parameters:
      strPathPom - the str path pom
      strUsername - the str username
      strPassword - the str password
      commandResult - the command result
      bPrivateRepository - true if the perform must be push in private repository
      Returns:
      the string
    • mvnDeploy

      String mvnDeploy(String strPathPom, CommandResult commandResult, String strTargetJdkVersion)
      Run "mvn clean deploy" against the given pom. Used by the "release from tag" workflow to publish artifacts to Nexus directly, since release:perform cannot be used from a detached HEAD without release.properties.
      Parameters:
      strPathPom - the path to the pom
      commandResult - the command result
      strTargetJdkVersion - the target JDK toolchain version (may be null)
      Returns:
      the string
    • init

      void init()
      Inits the.
    • mvnGenerateEffectivePom

      String mvnGenerateEffectivePom(String strPathPom, String strEffectivePomPath, CommandResult commandResult)
      Mvn generate effective pom.
      Parameters:
      strPathPom - the str path pom
      strEffectivePomPath - the str effective pom path
      commandResult - the command result
      Returns:
      the string