OpenClover 4.3.0 Release Notes
2018.08.07 update: Due to blocker https://bitbucket.org/openclover/clover/issues/72 please hold on with upgrading to 4.3.0.
It turned out that parser fails in regular source files when it finds keywords from module-info.java,
like 'exports', 'uses' etc. I'm sorry for the trouble :-( I'm working on splitting these grammars now,
it will be fixed in 4.3.1.
OpenClover 4.3.0 is available
With version 4.3.0 you can compile and run your projects using Java 9.
We released: Clover Runtime, Core, Ant, Eclipse, IDEA, Maven and Grails. Hudson and Jenkins will follow soon.
Java 9 support
You can use the "Java 9" source level setting in OpenClover command line tools,
Ant or Maven as well as in your Eclipse and IntelliJ IDEA projects. OpenClover core can also detect use of JDK9
and apply this language level automatically, if not set. The Java grammar parser has been extended
and can parse module-info.java files - there is no need to exclude these files from instrumentation.
Upgrading from OpenClover 4.2.x
Clover for Ant
Simply download new Clover-for-Ant zip file and use the clover.jar from it.
The <clover-env> task has been removed. In case you are using high-level Ant build targets,
provided by this task, you have to replace them by adding proper Ant tasks in your build.xml file.
Open the lib/clover.xml file from Clover-for-Ant zip archive to see how these targets were defined.
Clover for Eclipse
Download new update site ZIP and install in your Eclipse.
Clover for IDEA
IntelliJ IDEA 13 is no longer supported. As announced few months ago, we had to use APIs from IDEA 14
in order to implement JDK9 support, so OpenClover will no longer run in IDEA 13.
Download new plugin JAR and install in your IDEA.
Clover Maven Plugin
Bump version number to 4.3.0 for 'org.openclover:clover-maven-plugin' and 'org.openclover:clover' in
your pom.xml files.
Grails Clover Plugin
Upgrade to version 4.3.0.
Bamboo Clover Plugin
In case you use automatic Clover integration in Bamboo, then you have to switch it to manual one, as
Bamboo is using Atlassian Clover® instead of OpenClover. In case of a Maven task, the manual integration
should define goals similar to the following (the latest version will be picked up automatically):
clean org.openclover:clover-maven-plugin:setup verify org.openclover:clover-maven-plugin:aggregate org.openclover:clover-maven-plugin:clover
Jenkins Clover Plugin
Upgrade to the latest 4.10.0 plugin version.
Hudson Clover Plugin
Upgrade to the latest 4.8.0 plugin version.
Gradle Clover Plugin