Continuum

project cycle can cause Continuum to fail to start

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.2 (Beta)
  • Fix Version/s: 1.3.3 (Beta)
  • Component/s: Core system
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

A database that worked under 1.2 failed as follows on start up, with no way to recover:

org.codehaus.plexus.util.dag.CycleDetectedException: Edge between 'Vertex{label='org.apache.maven.plugins:maven-changes-plugin:2.2-SNAPSHOT'}' and 'Vertex{label='org.apache.maven.plugins:maven-changes-plugin:2.2-SNAPSHOT'}' introduces 
to cycle in the graph org.apache.maven.plugins:maven-changes-plugin:2.2-SNAPSHOT --> org.apache.maven.plugins:maven-changes-plugin:2.2-SNAPSHOT
        at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:127)
        at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:107)
        at org.apache.continuum.utils.ProjectSorter.getSortedProjects(ProjectSorter.java:93)
        at org.apache.maven.continuum.DefaultContinuum.getProjectsInBuildOrder(DefaultContinuum.java:1228)
        at org.apache.maven.continuum.DefaultContinuum.createProjectScmRootForProjectGroup(DefaultContinuum.java:3485)
        at org.apache.maven.continuum.DefaultContinuum.initialize(DefaultContinuum.java:2468)

Activity

Hide
Brett Porter added a comment -

prevent cycle from causing failures, and instead return a mostly sorted list. Continuum doesn't need failures on cycles.

Show
Brett Porter added a comment - prevent cycle from causing failures, and instead return a mostly sorted list. Continuum doesn't need failures on cycles.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: