Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-20961

Common project release fails due to errors when rendering Maven reports

    XMLWordPrintable

    Details

    • CLE Team Issue:
      Yes

      Description

      The release plugin fails on common (trunk, 1.0, 1.1) when generating Javadocs with the following error. This is due as Matthew points out to the presence of two commented out test classes.

      [INFO] Loading source files for package org.sakaiproject.api.common.type...
      [INFO] Loading source files for package org.sakaiproject.api.common.edu.person...
      [INFO] Constructing Javadoc information...
      [INFO] 1 error
      [INFO] 2 warnings
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [ERROR] BUILD ERROR
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] Error during page generation
      [INFO]
      [INFO] Embedded error: Error rendering Maven report:
      [INFO] Exit code: 1 - javadoc: warning - No source files for package org.sakaiproject.api.common.type
      [INFO] javadoc: warning - No source files for package org.sakaiproject.api.common.edu.person
      [INFO] javadoc: error - No public or protected classes found to document.
      [INFO]
      [INFO] Command line was: /usr/lib/jvm/java-6-sun-1.6.0.24/jre/../bin/javadoc -J-Xmx1024m -J-Xms168m "-J-Xms168m -J-Xmx1024m -J-XX:PermSize=128m -J-XX:NewSize=64m" @options @packages
      [INFO]
      [INFO] Refer to the generated Javadoc files in '/home/arwhyte/svn/common/branches/common-1.0.x/target/checkout/target/site/testapidocs' dir.
      [INFO]

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                arwhyte Anthony Whyte
                Reporter:
                arwhyte Anthony Whyte
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration