Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-310

ForkedMavenExecutor assumes mvn is on command-line path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0-beta-7
    • None
    • perform, prepare, stage
    • None
    • Patch

    Description

      The ForkedMavenExecutor assumes the mvn executable is on the command-line path. This will cause the release goals to fail if mvn is run from an explicit path and the PATH environment variable has not be set to contain a mvn executable. More dangerously though is the case where the release goal is started with an explicit mvn executable of one version (for instance 2.0.8) but a different version of the mvn executable is available on the PATH. The forked processes will run a different version of Maven2 that the parent process.

      Attachments

        1. ForkedMavenExecutor.patch
          4 kB
          Brian Jackson

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jaxzin Brian Jackson
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: