Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-2787

Don't display javadoc info message during the build

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Instead of:

      [INFO] --- javadoc:3.5.0:javadoc (default-cli) @ xwiki-platform-export-pdf-test-pageobjects ---
      [INFO] No previous run data found, generating javadoc.
      [INFO] 
      Loading source files for package org.xwiki.export.pdf.test.po...
      Constructing Javadoc information...
      Standard Doclet version 11.0.14.1
      Building tree for all the packages and classes...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/PDFDocument.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/PDFExportAdministrationSectionPage.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/PDFExportOptionsModal.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/PDFImage.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/PDFImageExtractor.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/PDFTemplateEditPage.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/package-summary.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/package-tree.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/constant-values.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/class-use/PDFExportAdministrationSectionPage.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/class-use/PDFImage.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/class-use/PDFTemplateEditPage.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/class-use/PDFImageExtractor.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/class-use/PDFExportOptionsModal.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/class-use/PDFDocument.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/org/xwiki/export/pdf/test/po/package-use.html...
      Building index for all the packages and classes...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/overview-tree.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/index-all.html...
      Building index for all classes...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/allclasses-index.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/allpackages-index.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/deprecated-list.html...
      Building index for all classes...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/allclasses.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/allclasses.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/index.html...
      Generating /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/target/site/apidocs/help-doc.html...
      Note: Custom tags that were not seen:  @xwiki.xwikicfg
      5 warnings
      [WARNING] Javadoc Warnings
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFExportAdministrationSectionPage.java:243: warning: no @return
      [WARNING] public PDFExportAdministrationSectionPage reset()
      [WARNING] ^
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFImage.java:46: warning: no @param for matrix
      [WARNING] protected PDFImage(PDImageXObject image, Matrix matrix, COSName id)
      [WARNING] ^
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFImage.java:46: warning: no @param for id
      [WARNING] protected PDFImage(PDImageXObject image, Matrix matrix, COSName id)
      [WARNING] ^
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFImageExtractor.java:61: warning: no @throws for java.io.IOException
      [WARNING] public PDFImageExtractor() throws IOException
      [WARNING] ^
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFImageExtractor.java:75: warning: no @throws for java.io.IOException
      [WARNING] public List<PDFImage> getImages(PDPage page) throws IOException
      [WARNING] ^
      

      We will display:

      [INFO] --- javadoc:3.5.0:javadoc (default-cli) @ xwiki-platform-export-pdf-test-pageobjects ---
      [INFO] Configuration changed, re-generating javadoc.
      [INFO] 
      5 warnings
      [WARNING] Javadoc Warnings
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFExportAdministrationSectionPage.java:243: warning: no @return
      [WARNING] public PDFExportAdministrationSectionPage reset()
      [WARNING] ^
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFImage.java:46: warning: no @param for matrix
      [WARNING] protected PDFImage(PDImageXObject image, Matrix matrix, COSName id)
      [WARNING] ^
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFImage.java:46: warning: no @param for id
      [WARNING] protected PDFImage(PDImageXObject image, Matrix matrix, COSName id)
      [WARNING] ^
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFImageExtractor.java:61: warning: no @throws for java.io.IOException
      [WARNING] public PDFImageExtractor() throws IOException
      [WARNING] ^
      [WARNING] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-pageobjects/src/main/java/org/xwiki/export/pdf/test/po/PDFImageExtractor.java:75: warning: no @throws for java.io.IOException
      [WARNING] public List<PDFImage> getImages(PDPage page) throws IOException
      [WARNING] ^
      

      Pros:

      • Don't display useless and troubling messages like Note: Custom tags that were not seen: @xwiki.xwikicfg
      • Provide more focus on warnings and error messages
      • Shall we need it it's always possible to add it back on the command line with -Dquiet=false

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: