-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cobertura-maven-plugin does not support Java 1.8 properly #21
Comments
"cobertura:cobertura" still generates the coverage report, with the error on lamdas "->" syntax. The report looks fine in my simple case. |
Cobertura also skips classes which have import from java.util.stream package. For example, if the class imports java.util.stream.Stream, Cobertura will not generate coverage report for the class. The problem is also mentioned in #18 where you can find an example project. |
Also fails when using the "default" keyword in interface methods:
|
The Cobertura Maven plugin (and Cobertura itself) doesn't support Java 8. Additionally, code coverage metrics are currently not used anywhere in the build, so we can as well remove it. Refs mojohaus/cobertura-maven-plugin#21 Refs cobertura/cobertura#166
The Cobertura Maven plugin (and Cobertura itself) doesn't support Java 8. Additionally, code coverage metrics are currently not used anywhere in the build, so we can as well remove it. Refs mojohaus/cobertura-maven-plugin#21 Refs cobertura/cobertura#166
Cobertura does not support Java 8 mojohaus/cobertura-maven-plugin#21
Hello!
I have the following class which uses stream feature from Java 1.8:
I also wrote UT for the class:
My pom.xml:
When I try to execute the following command:
Cobertura crashes. Stack trace:
The full stacktrace.txt.
Nevertheless, Cobertura works fine if it is run with the following command:
The text was updated successfully, but these errors were encountered: