trautonen / coveralls-maven-plugin

Maven plugin for submitting Java code coverage reports to Coveralls web service.
MIT License
311 stars 124 forks source link

Scoverage support #58

Open caniszczyk opened 9 years ago

caniszczyk commented 9 years ago

Would be nice to work with scoverage-maven-plugin or have an example in the README

trautonen commented 9 years ago

@caniszczyk I noticed that you somehow published your project's coverage report to coveralls. Did you do this all by hand? I took a fast look at the scoverage XML reports and it's doable based on the AbstractXmlEventParser that I use for Cobertura and JaCoCo. Just need to set up Scala sample module to easily produce a reasonable sample report that I can use.

If you have some free time you could check org.eluder.coveralls.maven.plugin.parser package and see if you can help with the scoverage parser implementation. You can check the JaCoCo and Cobertura parsers as a reference. All help is appreciated due to my limited free time I need to develop this project. :)

caniszczyk commented 9 years ago

I was initially writing scoverage support and got most of the way there but then noticed that scoverage also generates cobertura reports that you can use. The only downside, I had to tweak some configuration settings in regards to where the source directories are and where the cobertura reports are generated.

I issued a pull request updating the README with this information as its the easiest way to do it: https://github.com/trautonen/coveralls-maven-plugin/pull/59

Let me know and thanks for your work on this plug-in.