Uploaded image for project: 'Apache Whisker'
  1. Apache Whisker
  2. WHISKER-13

Error during site generation with Java8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2
    • None

    Description

      The compiler complains that the generated HelpMojo produces invalid Javadoc. This fails the site-builds.

      It's not really clear why we get these build errors since
      https://jira.codehaus.org/browse/MPLUGIN-244
      is solved in the version we are using (3.3)

      Explore what needs to be updated since we do not see this problem in RAT.

      The errors are:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-cli) on project apache-whisker: Error generating maven-javadoc-plugin:2.9.1:aggregate:
      [ERROR] Exit code: 1 - /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:24: error: self-closing element not allowed
      [ERROR] * Display help information on apache-whisker-plugin4maven.<br/>
      [ERROR] ^
      [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:26: warning: no description for @author
      [ERROR] * @author
      [ERROR] ^
      [ERROR] /apache-whisker-trunk/apache-whisker-plugin4maven/target/generated-sources/plugin/org/apache/creadur/whisker/plugin/maven/HelpMojo.java:27: warning: no description for @version
      [ERROR] * @version
      [ERROR] ^
      [ERROR]
      [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javadoc @options @packages
      [ERROR]
      [ERROR] Refer to the generated Javadoc files in '/apache-whisker-trunk/target/site/apidocs' dir.
      [ERROR] -> [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]
      

      when

      mvn -Prat site:site 
      

      is run.

      Attachments

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            pottlinger Philipp Ottlinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: