{"action":"closed","issue":{"url":"https://api.github.com/repos/tntim96/JSCover-maven-plugin/issues/15","labels_url":"https://api.github.com/repos/tntim96/JSCover-maven-plugin/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/tntim96/JSCover-maven-plugin/issues/15/comments","events_url":"https://api.github.com/repos/tntim96/JSCover-maven-plugin/issues/15/events","html_url":"https://github.com/tntim96/JSCover-maven-plugin/issues/15","id":105690105,"number":15,"title":"Running instrumentation over root directory did not work","user":{"login":"dnihar","id":14184047,"avatar_url":"https://avatars.githubusercontent.com/u/14184047?v=3","gravatar_id":"","url":"https://api.github.com/users/dnihar","html_url":"https://github.com/dnihar","followers_url":"https://api.github.com/users/dnihar/followers","following_url":"https://api.github.com/users/dnihar/following{/other_user}","gists_url":"https://api.github.com/users/dnihar/gists{/gist_id}","starred_url":"https://api.github.com/users/dnihar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnihar/subscriptions","organizations_url":"https://api.github.com/users/dnihar/orgs","repos_url":"https://api.github.com/users/dnihar/repos","events_url":"https://api.github.com/users/dnihar/events{/privacy}","received_events_url":"https://api.github.com/users/dnihar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tntim96/JSCover-maven-plugin/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"tntim96","id":2460695,"avatar_url":"https://avatars.githubusercontent.com/u/2460695?v=3","gravatar_id":"","url":"https://api.github.com/users/tntim96","html_url":"https://github.com/tntim96","followers_url":"https://api.github.com/users/tntim96/followers","following_url":"https://api.github.com/users/tntim96/following{/other_user}","gists_url":"https://api.github.com/users/tntim96/gists{/gist_id}","starred_url":"https://api.github.com/users/tntim96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tntim96/subscriptions","organizations_url":"https://api.github.com/users/tntim96/orgs","repos_url":"https://api.github.com/users/tntim96/repos","events_url":"https://api.github.com/users/tntim96/events{/privacy}","received_events_url":"https://api.github.com/users/tntim96/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2015-09-09T21:40:33Z","updated_at":"2015-09-16T20:35:01Z","closed_at":"2015-09-16T20:35:01Z","body":"The directory structure is like,\r\n\r\nproject\r\n* project-impl\r\n* project-components\r\n* project-util\r\n* project-tools\r\n* project-examples\r\n* project-integrations\r\n\r\n`<configuration>`\r\n    `<srcDir>`${project.home}`</srcDir>`\r\n    `<testDirectory>`${project.home}/project-impl/src/test`</testDirectory>`\r\n    `<branchCoverageMinimum>`100`</branchCoverageMinimum>`\r\n    `<functionCoverageMinimum>`100`</functionCoverageMinimum>`\r\n    `<lineCoverageMinimum>`100`</lineCoverageMinimum>`\r\n    `<excludeArgs>`\r\n        `<excludeArg>`--exclude=project-util`</excludeArg>`\r\n        `<excludeArg>`--exclude=project-tools`</excludeArg>`\r\n        `<excludeArg>`--exclude=project-examples`</excludeArg>`\r\n        `<excludeArg>`--exclude=project-integrations`</excludeArg>`\r\n    `</excludeArgs>`\r\n`</configuration>`\r\n\r\nSo that just didn't work, it recursively created target directories one inside the other and so on with no instrumented code in it and it almost got stuck, I stopped it. If I change the above configuration to, say a specific module, then it works, like srcDir=project-impl\r\n\r\nSo because of this, I guess I will have to instrument specific modules one by one, into separate directories (because target will get overwritten with next module) and then move those directories under one location."}}