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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.6.0
    • 3.7.0
    • tooling
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: