Class MavenService

    • Method Detail

      • getService

        public static IMavenService getService()
        Gets the service.
        Returns:
        the service
      • init

        public void init()
        Inits the.
        Specified by:
        init in interface IMavenService
      • mvnSiteAssembly

        public void mvnSiteAssembly​(String strSiteName,
                                    String strTagName,
                                    String strMavenProfile,
                                    SvnUser user,
                                    CommandResult commandResult)
        Mvn site assembly.
        Specified by:
        mvnSiteAssembly in interface IMavenService
        Parameters:
        strSiteName - the str site name
        strTagName - the str tag name
        strMavenProfile - the str maven profile
        user - the user
        commandResult - the command result
      • mvnReleasePerform

        public String mvnReleasePerform​(String strPathPom,
                                        String strUsername,
                                        String strPassword,
                                        CommandResult commandResult,
                                        boolean bPrivateRepository)
        Mvn release perform.
        Specified by:
        mvnReleasePerform in interface IMavenService
        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
      • mvnReleasePrepare

        public String mvnReleasePrepare​(String strPathPom,
                                        String strReleaseVersion,
                                        String strTag,
                                        String strDevelopmentVersion,
                                        String strUsername,
                                        String strPassword,
                                        CommandResult commandResult)
        mvnReleasePrepare.
        Specified by:
        mvnReleasePrepare in interface IMavenService
        Parameters:
        strPathPom - the str path pom
        strReleaseVersion - la version a release
        strTag - le nom du tag
        strDevelopmentVersion - la prochaine version de developpement (avec -SNAPSHOT)
        strUsername - the str username
        strPassword - the str password
        commandResult - the command result
        Returns:
        le thread