Interface IMavenService
- All Known Implementing Classes:
MavenService
public interface IMavenService
The Interface IMavenService.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Inits the.mvnDeploy(String strPathPom, CommandResult commandResult, String strTargetJdkVersion) Run "mvn clean deploy" against the given pom.mvnGenerateEffectivePom(String strPathPom, String strEffectivePomPath, CommandResult commandResult) Mvn generate effective pom.mvnReleasePerform(String strPathPom, String strUsername, String strPassword, CommandResult commandResult, boolean bPrivateRepository, String strTargetJdkVersion) Mvn release perform.mvnReleasePrepare(String strPathPom, String strReleaseVersion, String strTag, String strDevelopmentVersion, String strUsername, String strPassword, CommandResult commandResult, String strTargetJdkVersion) Mvn release prepare.voidmvnSiteAssembly(String strSiteName, String strTagName, String strMavenProfile, SvnUser user, CommandResult commandResult) mvnReleasePrepare.
-
Method Details
-
mvnSiteAssembly
void mvnSiteAssembly(String strSiteName, String strTagName, String strMavenProfile, SvnUser user, CommandResult commandResult) mvnReleasePrepare.- Parameters:
strSiteName- the str site namestrTagName- the str tag namestrMavenProfile- the str maven profileuser- the usercommandResult- 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 pomstrReleaseVersion- the str release versionstrTag- the str tagstrDevelopmentVersion- the str development versionstrUsername- the str usernamestrPassword- the str passwordcommandResult- 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 pomstrUsername- the str usernamestrPassword- the str passwordcommandResult- the command resultbPrivateRepository- true if the perform must be push in private repository- Returns:
- the string
-
mvnDeploy
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 pomcommandResult- the command resultstrTargetJdkVersion- 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 pomstrEffectivePomPath- the str effective pom pathcommandResult- the command result- Returns:
- the string
-