Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4314

Fix some plugin versions in site generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.3, 0.10.2
    • None
    • None

    Description

      mvn site
      

      command failed for me with various errors, which I fixed as below:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on project tez-docs: failed to get report for org.apache.maven.plugins:maven-project-info-reports-plugin: Could not find goal 'project-team' in plugin org.apache.maven.plugins:maven-project-info-reports-plugin:3.0.0 among available goals ci-management, dependencies, dependency-convergence, dependency-info, dependency-management, distribution-management, help, index, issue-management, licenses, mailing-lists, modules, plugin-management, plugins, scm, summary, team -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :tez-docs
      

      1. maven-site-plugin
      3.x doesn't like some html elements within XML, instead of CDATA and other hacks, I fixed with an old plugin version to pass for now
      error was like:

      Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...</script>\n       End of Google analytics -->\n       <style>... @76:15)
      

      2. maven-project-info-reports-plugin
      changed to the latest version 3.1.2 and changed report names as described here: https://maven.apache.org/plugins/maven-project-info-reports-plugin/

      Attachments

        Issue Links

          Activity

            People

              abstractdog László Bodor
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m