sfeir-open-source / sonar-clover

It provides the ability to feed SonarQube with code coverage data coming from Atlassian Clover
Apache License 2.0
15 stars 25 forks source link

[ERROR] Execution clover-setup of goal com.atlassian.maven.plugins:clover-maven-plugin:4.1.2:setup failed: Clover upgrades for your license ended December 30 2015, and this version of Clover was built October 11 2016 #61

Open eshwarkarthikn opened 1 year ago

eshwarkarthikn commented 1 year ago

Hi,

We are using clover version 4.1. Our builds are failing due to below error. Could you please help me on this.

[2023-10-10T09:22:58.504Z] [ERROR] Failed to execute goal com.atlassian.maven.plugins:clover-maven-plugin:4.1.2:setup (clover-setup) on project: Execution clover-setup of goal com.atlassian.maven.plugins:clover-maven-plugin:4.1.2:setup failed: Clover upgrades for your license ended December 30 2015, and this version of Clover was built October 11 2016. Please visit http://www.atlassian.com/clover/renew for information on upgrading your license. -> [Help 1] [2023-10-10T09:22:58.504Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:clover-maven-plugin:4.1.2:setup (clover-setup) on project: Execution clover-setup of goal com.atlassian.maven.plugins:clover-maven-plugin:4.1.2:setup failed: Clover upgrades for your license ended December 30 2015, and this version of Clover was built October 11 2016. Please visit http://www.atlassian.com/clover/renew for information on upgrading your license. [2023-10-10T09:22:58.504Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) [2023-10-10T09:22:58.504Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) [2023-10-10T09:22:58.504Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) [2023-10-10T09:22:58.504Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [2023-10-10T09:22:58.504Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [2023-10-10T09:22:58.504Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) [2023-10-10T09:22:58.504Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [2023-10-10T09:22:58.504Z] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) [2023-10-10T09:22:58.504Z] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) [2023-10-10T09:22:58.504Z] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) [2023-10-10T09:22:58.504Z] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) [2023-10-10T09:22:58.504Z] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) [2023-10-10T09:22:58.504Z] at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) [2023-10-10T09:22:58.504Z] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2023-10-10T09:22:58.504Z] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [2023-10-10T09:22:58.504Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2023-10-10T09:22:58.504Z] at java.lang.reflect.Method.invoke(Method.java:498) [2023-10-10T09:22:58.504Z] at org.codehaus.plexus.launcher.Launcher.launchEnhanced(Launcher.java:289) [2023-10-10T09:22:58.504Z] at org.codehaus.plexus.launcher.Launcher.launch(Launcher.java:229) [2023-10-10T09:22:58.504Z] at org.codehaus.plexus.launcher.Launcher.mainWithExitCode(Launcher.java:415) [2023-10-10T09:22:58.504Z] at org.codehaus.plexus.launcher.Launcher.main(Launcher.java:356) [2023-10-10T09:22:58.504Z] Caused by: org.apache.maven.plugin.PluginExecutionException: Execution clover-setup of goal com.atlassian.maven.plugins:clover-maven-plugin:4.1.2:setup failed: Clover upgrades for your license ended December 30 2015, and this version of Clover was built October 11 2016. Please visit http://www.atlassian.com/clover/renew for information on upgrading your license. [2023-10-10T09:22:58.504Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) [2023-10-10T09:22:58.504Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) [2023-10-10T09:22:58.504Z] ... 20 more [2023-10-10T09:22:58.504Z] Caused by: java.lang.RuntimeException: Clover upgrades for your license ended December 30 2015, and this version of Clover was built October 11 2016. Please visit http://www.atlassian.com/clover/renew for information on upgrading your license. [2023-10-10T09:22:58.504Z] at com.atlassian.clover.CloverStartup.loadLicense(CloverStartup.java:104) [2023-10-10T09:22:58.504Z] at com.atlassian.clover.CloverStartup.loadLicense(CloverStartup.java:26) [2023-10-10T09:22:58.504Z] at com.atlassian.clover.CloverInstr.mainImpl(CloverInstr.java:46) [2023-10-10T09:22:58.504Z] at com.atlassian.maven.plugin.clover.internal.instrumentation.AbstractInstrumenter.instrumentSources(AbstractInstrumenter.java:197) [2023-10-10T09:22:58.504Z] at com.atlassian.maven.plugin.clover.internal.instrumentation.AbstractInstrumenter.instrument(AbstractInstrumenter.java:72) [2023-10-10T09:22:58.504Z] at com.atlassian.maven.plugin.clover.CloverInstrumentInternalMojo.execute(CloverInstrumentInternalMojo.java:289) [2023-10-10T09:22:58.504Z] at com.atlassian.maven.plugin.clover.CloverSetupMojo.execute(CloverSetupMojo.java:31) [2023-10-10T09:22:58.504Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) [2023-10-10T09:22:58.504Z] ... 21 more [2023-10-10T09:22:58.504Z] [ERROR] [2023-10-10T09:22:58.504Z] [ERROR] [2023-10-10T09:22:58.504Z] [ERROR] For more information about the errors and possible solutions, please read the following articles: [2023-10-10T09:22:58.504Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [2023-10-10T09:22:58.504Z] [ERROR] [2023-10-10T09:22:58.504Z] [ERROR] After correcting the problems, you can resume the build with the command [2023-10-10T09:22:58.504Z] [ERROR] mvn -rf :testproject

@Tony-Proum