Class AbstractRunGoalsPhase

    • Field Detail

      • mavenExecutors

        @Requirement(role=MavenExecutor.class)
        private java.util.Map<java.lang.String,​MavenExecutor> mavenExecutors
        Component to assist in executing Maven.
    • Constructor Detail

      • AbstractRunGoalsPhase

        public AbstractRunGoalsPhase()
    • Method Detail

      • getGoals

        protected abstract java.lang.String getGoals​(ReleaseDescriptor releaseDescriptor)
      • getAdditionalArguments

        protected java.lang.String getAdditionalArguments​(ReleaseDescriptor releaseDescriptor)
      • determineWorkingDirectory

        protected java.io.File determineWorkingDirectory​(java.io.File checkoutDirectory,
                                                         java.lang.String relativePathProjectDirectory)
        Determines the path of the working directory. By default, this is the checkout directory. For some SCMs, the project root directory is not the checkout directory itself, but a SCM-specific subdirectory.
        Parameters:
        checkoutDirectory - The checkout directory as java.io.File
        relativePathProjectDirectory - The relative path of the project directory within the checkout directory or ""
        Returns:
        The working directory