Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6717

mvn site build of archtype project throughs error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6.1
    • 4.0.0-alpha-2, 4.0.0
    • Documentation: Guides
    • None

    Description

      Following the steps in the Maven tutorial, https://maven.apache.org/guides/getting-started/
       
      I created a project with

      mvn -B archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app
      -DartifactId=my-app
      

      Trying to use "one of the highly prized features of Maven" namely

      mvn site
      

      I got

      [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
      
      [...]                                                                                                                 
      

       
      Expected result: mvn builds a web site with the project information.
       

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              rudolfstarosta Rudolf Starosta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: