Maven plugin feature request: skip source file resolving
Hello :)
I run RSpec with SimpleCov.
SimpleCov writes coverage information via SimpleCov-Cobertura formatter to a Cobertura XML file.
I then run the Maven plugin in a Docker container, with my project directory mounted into the container.
The plugin runs successfully. It reads pom.xml and coverage/coverage.xml from the mounted directory, converts and posts the coverage to the server, and it becomes visible in the UI.
However, source file resolving takes 8 minutes. There are 4803 files. This is an absurd amount of time, considering that the entire RSpec suite runs for only 7 minutes. Of course, it has something to do with Docker and its mountpoints, but still.
The sad part is that this resolving achieves nothing for my project. The XML file already has the correct paths for all files. Those are relative paths starting from the project root. They can be sent to the server as is and everything will work fine.
I would very much welcome a property that, when disabled, would skip the file resolution altogether.
Unfortunately, I’m not well-versed in Kotlin and I don’t think I’ll be able to produce a good enough pull request in reasonable time. So all I can do is hope that you do it.
Thanks a lot!
Comments (1)
-
reporter - Log in to comment
I cannot run the Maven plugin directly on the filesystem that has my project on it. The OS only has Docker and all CI tasks must run in Docker containers. The RSpec suite also runs in a container, with the project directory mounted into it.