You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
clover-maven-plugin version : 4.3.0
error log
C:\project\master\pinpoint\bootstrap-java9>mvn clover:setup
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building pinpoint-bootstrap-java9 1.8.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- clover-maven-plugin:4.3.0:setup (default-cli) @ pinpoint-bootstrap-java9 ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.009 s
[INFO] Finished at: 2018-08-09T15:24:53+09:00
[INFO] Final Memory: 12M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.openclover:clover-maven-plugin:4.3.0:setup (default-cli) on project pinpoint-bootstrap-java9: Unsupported java language level version [1.9]. Valid values are [1.3], [1.4], [1.5], [1.6], [1.7] and [1.8] -> [Help 1]
com.atlassian.maven.plugin.clover.internal.instrumentation.AbstractInstrumenter.java
line : 231
final String javaLevel = getConfiguration().getJdk();
if (javaLevel != null) {
// 9 is missing
// if (javaLevel.matches("1\\.[345679809]")) {
if (javaLevel.matches("1\\.[345678]")) {
parameters.add("--source");
parameters.add(javaLevel);
} else {
throw new MojoExecutionException("Unsupported java language level version [" + javaLevel
+ "]. Valid values are [1.3], [1.4], [1.5], [1.6], [1.7] and [1.8]");
}
}
Is this a bug in clover-maven-plugin 4.3.0 ?
Hello, Atlassian Clover is now free of charge and open source. You can read more information about it here. Atlassian Clover never supported JDK 9 (latest release 4.1.2 was on 11 Oct 2016, whereby JDK 9 was in general availability since September 2017).
The tool you're using is one of the forks of Atlassian Clover. More information on project's site. Feel free to raise problems directly on OpenClover site. Or leverage the fact that's open source project and fix the problem by yourself.
Cheers,
Grzegorz Lewandowski
I raised the https://bitbucket.org/openclover/clover/issues/77/431-allow-9-source-level-in-clover-maven for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.