Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15805

route-coverage goal does not find coverage data when camel-report-maven-plugin is configured in parent pom

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      In a multi module project with camel-report-maven-plugin configured in parent pom, running goal route-coverage from root directory does not produce report for sub modules; instead warnings are printed

      [WARNING] No route coverage data found for route:...

       

      However if the goal is launched from the child project the result route coverage summary
      is correctly printed.

      The problem seems to be that in RouteCoverageMojo 

      RouteCoverageHelper.parseDumpRouteCoverageByRouteId("target/camel-route-coverage", routeId))

       
      is invoked without adding project base directory.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mcollovati Marco Collovati
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: