{"action":"created","issue":{"url":"https://api.github.com/repos/trautonen/coveralls-maven-plugin/issues/64","labels_url":"https://api.github.com/repos/trautonen/coveralls-maven-plugin/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/trautonen/coveralls-maven-plugin/issues/64/comments","events_url":"https://api.github.com/repos/trautonen/coveralls-maven-plugin/issues/64/events","html_url":"https://github.com/trautonen/coveralls-maven-plugin/issues/64","id":56888968,"number":64,"title":"jacoco multimodule question.","user":{"login":"paranoiabla","id":5320045,"avatar_url":"https://avatars.githubusercontent.com/u/5320045?v=3","gravatar_id":"","url":"https://api.github.com/users/paranoiabla","html_url":"https://github.com/paranoiabla","followers_url":"https://api.github.com/users/paranoiabla/followers","following_url":"https://api.github.com/users/paranoiabla/following{/other_user}","gists_url":"https://api.github.com/users/paranoiabla/gists{/gist_id}","starred_url":"https://api.github.com/users/paranoiabla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paranoiabla/subscriptions","organizations_url":"https://api.github.com/users/paranoiabla/orgs","repos_url":"https://api.github.com/users/paranoiabla/repos","events_url":"https://api.github.com/users/paranoiabla/events{/privacy}","received_events_url":"https://api.github.com/users/paranoiabla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trautonen/coveralls-maven-plugin/labels/defect","name":"defect","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-07T00:50:27Z","updated_at":"2015-02-08T12:18:32Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm trying to use your plugin, and from what I read on the site:\r\n\r\n````\r\nYou can use JaCoCo in a multi-module project so that all modules run JaCoCo separately and let the plugin aggregate the report\r\n````\r\n\r\nwell I tried this one. I have a multi-module project setup like this:\r\n````\r\nparent (no tests, no coverage)\r\n    |---- module1 (tests and coverage reports)\r\n    |---- module2 (no tests no coverage reports)\r\n    |---- module 3 (tests and coverage reports)\r\n````\r\nSo what I do is I run maven from the parent project to run all my unit and integration tests and some of the modules produce results. Then after build is complete and jacoco has produced reports in some of the modules, I run maven again like this:\r\n````\r\nmvn coveralls:report\r\n````\r\nagain from the parent project. However the build fails with the following error:\r\n````\r\n[ERROR] Failed to execute goal org.eluder.coveralls:coveralls-maven-plugin:3.0.1:report (default-cli) on project platform: I/O operation failed: No coverage report files found -> [Help 1]\r\n````\r\nThis happens because the parent has no tests  and no coverage reports. How can I can have the coveralls-maven-plugin aggregate all the reports from my modules and send it to coveralls?\r\n\r\nThank you \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/trautonen/coveralls-maven-plugin/issues/comments/73408466","html_url":"https://github.com/trautonen/coveralls-maven-plugin/issues/64#issuecomment-73408466","issue_url":"https://api.github.com/repos/trautonen/coveralls-maven-plugin/issues/64","id":73408466,"user":{"login":"trautonen","id":1641063,"avatar_url":"https://avatars.githubusercontent.com/u/1641063?v=3","gravatar_id":"","url":"https://api.github.com/users/trautonen","html_url":"https://github.com/trautonen","followers_url":"https://api.github.com/users/trautonen/followers","following_url":"https://api.github.com/users/trautonen/following{/other_user}","gists_url":"https://api.github.com/users/trautonen/gists{/gist_id}","starred_url":"https://api.github.com/users/trautonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trautonen/subscriptions","organizations_url":"https://api.github.com/users/trautonen/orgs","repos_url":"https://api.github.com/users/trautonen/repos","events_url":"https://api.github.com/users/trautonen/events{/privacy}","received_events_url":"https://api.github.com/users/trautonen/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T12:18:32Z","updated_at":"2015-02-08T12:18:32Z","body":"I've played around a bit and I guess I have a reasonable solution. I can introduce a new configuration property `relativeReportDirs` where you can add module relative directories where to look the coverage report files. In your case it would be `/jacoco-it` and `/jacoco-ut`. The not so good thing is that I might shoot in the leg if there are new coverage tools introduced which report file names collide. But let's figure out a new solution then. And also the relative dirs rely on some magic dirs, which are the module's build and reporting output dirs, to look up the coverage reports.\r\n\r\n@paranoiabla do you think this is a reasonable solution and can you see any problems with it in your config or any other config? I can push a snapshot to sonatype's repo soon so you can check how it plays out."}}