You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mykyta Bezverkhyi (JIRA)" <ji...@apache.org> on 2019/03/22 17:02:00 UTC
[jira] [Created] (MNG-6615) mvn site:
java.lang.NoClassDefFoundError:
org/apache/maven/doxia/siterenderer/DocumentContent
Mykyta Bezverkhyi created MNG-6615:
--------------------------------------
Summary: mvn site: java.lang.NoClassDefFoundError: org/apache/maven/doxia/siterenderer/DocumentContent
Key: MNG-6615
URL: https://issues.apache.org/jira/browse/MNG-6615
Project: Maven
Issue Type: Bug
Affects Versions: 3.6.0
Reporter: Mykyta Bezverkhyi
Failed to execute _mvn site_ command for any projects, including brand new, at least for v3.6.0.
Steps to reproduce:
# Create project of any archetype using Maven 3.6.0.
# Execute _mvn site_ command.
*Actual result:* [INFO] BUILD FAILURE
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project test:
Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.3:site failed:
A required class was missing while executing org.apache.maven.plugins:maven-site-plugin:3.3:site:
org/apache/maven/doxia/siterenderer/DocumentContent
*Expected result:* [INFO] BUILD SUCCESS
Notes: As far as I know it can be fixed by updating _maven-site-plugin_ version to the latest one, currently _3.7.1_, but it's kinda annoying to do this for all of the projects and trying to remember what you did to fix it coding the new one. So I think it makes sense for you to update the default plugin version to _3.7.1_ in your next release, or to fix it in the way you want.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)