Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1219

Error releasing projects with deep nested parent-child relationship between itself and some of it's modules

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.3
    • 1.1-alpha-1
    • None
    • None

    Description

      Error occurs in the prepare release step.

      To replicate, try to release the maven project and you will get this error:

      [INFO] Updating local copy against the scm...
      [INFO] Verifying that there are no local modifications...
      [ERROR] org.apache.maven.shared.release.ReleaseFailureException: Can't release project due to non released dependencies :
      org.apache.maven.reporting:maven-reporting-api:jar:2.0.5-maestro-1.2-SNAPSHOT:compile
      in project 'Maven Core' (org.apache.maven:maven-core:jar:2.0.5-maestro-1.2-SNAPSHOT)
      at org.apache.maven.shared.release.phase.CheckDependencySnapshotsPhase.checkProject(CheckDependencySnapshotsPhase.java:225)
      at org.apache.maven.shared.release.phase.CheckDependencySnapshotsPhase.execute(CheckDependencySnapshotsPhase.java:101)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:205)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:118)
      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:619)

      Attachments

        1. continuum-1219.patch
          5 kB
          Lester T. Ecarma

        Activity

          Please see attached patch for a possible fix.

          lecarma Lester T. Ecarma added a comment - Please see attached patch for a possible fix.

          Applied.

          evenisse Emmanuel Venisse added a comment - Applied.

          People

            evenisse Emmanuel Venisse
            lecarma Lester T. Ecarma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: