You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rudolf Starosta (JIRA)" <ji...@apache.org> on 2019/07/23 05:59:00 UTC

[jira] [Created] (MNG-6717) mvn site build of archtype project throughs error

Rudolf Starosta created MNG-6717:
------------------------------------

             Summary: mvn site build of archtype project throughs error
                 Key: MNG-6717
                 URL: https://issues.apache.org/jira/browse/MNG-6717
             Project: Maven
          Issue Type: Bug
          Components: Documentation: Guides
    Affects Versions: 3.6.1
         Environment: $ mvn -version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00)
Java version: 1.8.0_111, vendor: Oracle Corporation
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
            Reporter: Rudolf Starosta


Following the steps in the Maven tutorial, [https://maven.apache.org/guides/getting-started/] 
 
I created a project with
{code:java}
mvn -B archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app
-DartifactId=my-app
{code}
Trying to use "one of the highly prized features of Maven" namely
{code:java}
mvn site
{code}
I got
{code:java}
[INFO] ------------------------------------------------------------------------                                              
[INFO] BUILD FAILURE                                                                                                         
[INFO] ------------------------------------------------------------------------                                              
[INFO] Total time:  2.363 s                                                                                                  
[INFO] Finished at: 2019-07-23T07:52:37+02:00                                                                                
[INFO] ------------------------------------------------------------------------                                              
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project my-app: Executio
n default-site of goal org.apache.maven.plugins:maven-site-plugin:3.3:site failed: A required class was missing while executi
ng org.apache.maven.plugins:maven-site-plugin:3.3:site: org/apache/maven/doxia/siterenderer/DocumentContent                  
[ERROR] -----------------------------------------------------                                                                
[ERROR] realm =    plugin>org.apache.maven.plugins:maven-site-plugin:3.3                                                     
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy                                                
[ERROR] urls[0] = file:/C:/Users/rudolfstarosta/.m2/repository/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plug
in-3.3.jar

[...]                                                                                                                 
{code}
 
Expected result: mvn builds a web site with the project information.
 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)