Hi Evgeny, Thanks a lot for clarification. Would you mind if I add the corresponding pull request to support scala filters then?
Kind Regards, Sergey On Wednesday, February 13, 2019 at 6:18:33 PM UTC+3, Evgeny Mandrikov wrote: > > Hi, > > On Wednesday, February 13, 2019 at 3:23:09 PM UTC+1, Sergey Zhemzhitsky > wrote: >> >> Hello there, >> >> I'd like to return to the discussion of the following threads: >> >> - SCALAC.MIXIN and SCALAC.CASE filters for JaCoCo Gradle plugin >> <https://groups.google.com/forum/#!searchin/jacoco/SCALAC%7Csort:date/jacoco/9TRYad0rIrE/QwwUrnEjCwAJ> >> - using SCALAC.CASE (or other filter) >> <https://groups.google.com/forum/#!searchin/jacoco/SCALAC%7Csort:date/jacoco/0UAFu4gOCK0/lJTVNIV-HQAJ> >> >> It is told there that even maven plugin does not support these filters, >> and I'd like to understand what maven plugin is meant there? >> > > jacoco-maven-plugin which is developed as part of JaCoCo project ( > https://www.jacoco.org/jacoco/ , https://github.com/jacoco/ ) - see > https://www.jacoco.org/jacoco/trunk/doc/integrations.html > > >> For example, here is the one that seems to support SCALAC.MIXIN and >> SCALAC.CASE filters >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Ftimezra%2Fjacoco-scala-maven-plugin%2Ftree%2Fcf710949547e0fc0e1c9961f84dd1d45c9225e55%23usage&sa=D&sntz=1&usg=AFQjCNGEPRXwIb45iOdXS8snKDV9aaowlA> >> >> > > This one is third-party. > > >> and these maven plugin is mentioned in the documentation too >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjacoco%2Fjacoco%2Fwiki%2Ffiltering-SCALAC.CASE%23bytecode-pattern&sa=D&sntz=1&usg=AFQjCNHxwtCy4AdWKD9t8xXO8wSwnWuPhA> >> . >> > > This page is not official JaCoCo documentation, but wiki with all the > consequences such as > this mention was not done by JaCoCo developers ( currently Marc Hoffmann > and me ), > but by https://github.com/timezra when wiki was editable by everyone. > > >> >> SBT javoco plugin seems to support the necessary filters >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fsbt%2Fsbt-jacoco%2Ftree%2Fmaster%2Fsrc%2Fmain%2Fscala%2Fcom%2Fgithub%2Fsbt%2Fjacoco%2Ffilter&sa=D&sntz=1&usg=AFQjCNEArfbhwdkT5t0mTQJI9YntY-BTOg> >> and >> even more. >> > > This one is also third-party. > > > >> Are there any plans to add support of the following filters to the Gradle >> too? It would be really-really great. >> > > Gradle Plugin is also third-party. > > We don't develop filters specifically in jacoco-maven-plugin, > but in JaCoCo Core Library ( > https://github.com/jacoco/jacoco/tree/v0.8.3/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter > > ), > which is used by jacoco-maven-plugin and other integrations. > > Gradle Plugin for example simply executes JaCoCo Ant Tasks developed by us, > and this is exactly how it gets all filters that were recently implemented > ( https://www.jacoco.org/jacoco/trunk/doc/changes.html ) - see also > https://groups.google.com/d/msg/jacoco/aMi1SkcfLZc/_UWgrC9xAQAJ > > We don't have short-term plans to work on filters for Scala, but we noted > your interest. > > > Hope this clarifies. > > Regards, > Evgeny > > -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/a02d89e3-e4cc-4d88-9353-fbe69f487e77%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
