Marco Collovati created CAMEL-15805:
---------------------------------------

             Summary: route-coverage goal does not find coverage data when 
camel-report-maven-plugin is configured in parent pom
                 Key: CAMEL-15805
                 URL: https://issues.apache.org/jira/browse/CAMEL-15805
             Project: Camel
          Issue Type: Bug
          Components: camel-catalog
    Affects Versions: 3.6.0
            Reporter: Marco Collovati


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
{noformat}
[WARNING] No route coverage data found for route:...{noformat}
 

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* 
{noformat}
RouteCoverageHelper.parseDumpRouteCoverageByRouteId("target/camel-route-coverage",
 routeId)){noformat}
 
is invoked without adding project base directory.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to