Continuum
  1. Continuum
  2. CONTINUUM-1513

Release does not work when maven 2 executable is not on PATH

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1-beta-3
    • Fix Version/s: 1.3.1 (Alpha)
    • Component/s: Environmental
    • Labels:
      None
    • Environment:
      Maven 2 executable NOT ON PATH, just on profile

      Description

      When trying to release a project, when maven 2 is not on the path, the following error occurs:

      [INFO] Updating local copy against the scm...
      [INFO] Verifying that there are no local modifications...
      [INFO] Checking dependencies and plugins for snapshots ...
      [INFO] Transforming 'aarh-bridge_visao'...
      [INFO] Not generating release POMs
      [ERROR] org.apache.maven.shared.release.ReleaseExecutionException: Maven execution failed, exit code: '127'
      at org.apache.maven.shared.release.phase.AbstractRunGoalsPhase.execute(AbstractRunGoalsPhase.java:66)
      at org.apache.maven.shared.release.phase.RunPrepareGoalsPhase.execute(RunPrepareGoalsPhase.java:42)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:194)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:107)
      at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(PrepareReleaseTaskExecutor.java:43)
      at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(AbstractReleaseTaskExecutor.java:67)
      at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
      at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
      at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.apache.maven.shared.release.exec.MavenExecutorException: Maven execution failed, exit code: '127'
      at org.apache.maven.shared.release.exec.ForkedMavenExecutor.executeGoals(ForkedMavenExecutor.java:103)
      at org.apache.maven.shared.release.exec.ForkedMavenExecutor.executeGoals(ForkedMavenExecutor.java:121)
      at org.apache.maven.shared.release.phase.AbstractRunGoalsPhase.execute(AbstractRunGoalsPhase.java:59)
      ... 11 more
      

      It appears that the continuum release feature do not respect the build profile for maven 2.
      Attached is the log file.

      1. wrapper.20071005.log
        538 kB
        George Gastaldi

        Issue Links

          Activity

          Mark Thomas made changes -
          Workflow jira [ 12948444 ] Default workflow, editable Closed status [ 12983878 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
          Mark Thomas made changes -
          Workflow jira [ 12710174 ] Default workflow, editable Closed status [ 12739867 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
          Maria Catherine Tan made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          Fix Version/s 1.3.x [ 14168 ]
          Fix Version/s 1.3.1 [ 14741 ]
          Maria Catherine Tan made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Maria Catherine Tan made changes -
          Assignee Maria Catherine Tan [ ctan ]
          Wendy Smoak made changes -
          Link This issue is related to CONTINUUM-1572 [ CONTINUUM-1572 ]
          Brett Porter made changes -
          Fix Version/s 1.3 [ 14168 ]
          Fix Version/s 1.2 [ 13779 ]
          Brett Porter made changes -
          Field Original Value New Value
          Fix Version/s 1.2 [ 13779 ]
          George Gastaldi created issue -

            People

            • Assignee:
              Maria Catherine Tan
              Reporter:
              George Gastaldi
            • Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development