Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Information Provided
-
3.9.9
-
None
-
None
Description
Not sure if it is the correct Jira project ..... but:
Running the site build with Maven 3.9.9 on my example project yields the following error and leaves me without jdependency-maven-plugin report (everything worked fine with site 3.12.x) and the following message:
$ ./mvnw site....[INFO] Generating "File Activity" report — maven-changelog-plugin:2.3:file-activity
[INFO] Using existing changelog.xml...
[INFO] Generating "Developer Activity" report — maven-changelog-plugin:2.3:dev-activity
[INFO] Using existing changelog.xml...
[INFO] Generating "Source Xref" report — maven-jxr-plugin:3.5.0:jxr-no-fork
[INFO] Generating "Test Source Xref" report — maven-jxr-plugin:3.5.0:test-jxr-no-fork
[INFO] Generating "Surefire" report --- maven-surefire-report-plugin:3.5.0:report
[INFO] Generating "CPD" report — maven-pmd-plugin:3.25.0:cpd
[INFO] Generating "PMD" report — maven-pmd-plugin:3.25.0:pmd
[INFO] Generating "JDepend" report — jdepend-maven-plugin:2.0:generate-no-fork
[WARNING] An issue has occurred with jdepend-maven-plugin:2.0:generate-no-fork report, skipping LinkageError Receiver class org.codehaus.mojo.jdepend.JDependNoForkMojo does not define or inherit an implementation of the resolved method 'abstract void generate(org.apache.maven.doxia.sink.Sink, java.util.Locale)' of interface org.apache.maven.reporting.MavenReport., please report an issue to Maven dev team.
java.lang.AbstractMethodError: Receiver class org.codehaus.mojo.jdepend.JDependNoForkMojo does not define or inherit an implementation of the resolved method 'abstract void generate(org.apache.maven.doxia.sink.Sink, java.util.Locale)' of interface org.apache.maven.reporting.MavenReport.
at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument (ReportDocumentRenderer.java:201)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render (DefaultSiteRenderer.java:300)
at org.apache.maven.plugins.site.render.SiteMojo.renderNonDoxiaDocuments (SiteMojo.java:281)
at org.apache.maven.plugins.site.render.SiteMojo.renderLocale (SiteMojo.java:146)
at org.apache.maven.plugins.site.render.SiteMojo.execute (SiteMojo.java:111)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[INFO] Generating "Tag List" report --- taglist-maven-plugin:3.1.0:taglist
[INFO] Generating "SpotBugs" report --- spotbugs-maven-plugin:4.8.6.3:spotbugs
[INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:3.7.0:dependencies
[INFO] Generating "Maven Coordinates" report — maven-project-info-reports-plugin:3.7.0:dependency-info
[INFO] Generating "Distribution Management" report — maven-project-info-reports-plugin:3.7.0:distribution-management
[INFO] Generating "About" report — maven-project-info-reports-plugin:3.7.0:index
[INFO] Generating "Issue Management" report — maven-project-info-reports-plugin:3.7.0:issue-management
[INFO] Generating "Licenses" report --- maven-project-info-reports-plugin:3.7.0:licenses
[INFO] Generating "Plugin Management" report — maven-project-info-reports-plugin:3.7.0:plugin-management
[INFO] Generating "Plugins" report — maven-project-info-reports-plugin:3.7.0:plugins
[INFO] Generating "Source Code Management" report — maven-project-info-reports-plugin:3.7.0:scm
[INFO] Generating "Summary" report — maven-project-info-reports-plugin:3.7.0:summary
[INFO] Generating "Team" report --- maven-project-info-reports-plugin:3.7.0:team
[INFO] Generating "Project Information" report — maven-site-plugin:4.0.0-M16:project-info
[INFO] Generating "Generated Reports" report — maven-site-plugin:4.0.0-M16:project-reports
[INFO] ------------------------------------------------------------------------