Uploaded image for project: 'James MPT'
  1. James MPT
  2. MPT-21

Fix MPT compilation with Java 6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      MPT compilation is broken on Java version lesser than 8

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Apache James MPT .................................. SUCCESS [2.179s]
      [INFO] Apache James MPT Core ............................. FAILURE [6.703s]
      [INFO] Apache James MPT AntLib ........................... SKIPPED
      [INFO] Apache James MPT Application ...................... SKIPPED
      [INFO] Apache James MPT All .............................. SKIPPED
      [INFO] Apache James MPT Imap Mailbox ..................... SKIPPED
      [INFO] Apache James MPT Imap Mailbox Core ................ SKIPPED
      [INFO] Apache James MPT Imap Mailbox - Cassandra ......... SKIPPED
      [INFO] Apache James MPT Imap Mailbox - Cyrus ............. SKIPPED
      [INFO] Apache James MPT Imap Mailbox - ElasticSearch ..... SKIPPED
      [INFO] Apache James MPT Imap Mailbox - External James .... SKIPPED
      [INFO] Apache James MPT Imap Mailbox - HBase ............. SKIPPED
      [INFO] Apache James MPT Imap Mailbox - InMemory .......... SKIPPED
      [INFO] Apache James MPT Imap Mailbox - JCR ............... SKIPPED
      [INFO] Apache James MPT Imap Mailbox - JPA ............... SKIPPED
      [INFO] Apache James MPT Imap Mailbox - Maildir ........... SKIPPED
      [INFO] Apache James MPT Maven2 Plugin .................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 10.599s
      [INFO] Finished at: Mon Jul 27 11:35:43 CEST 2015
      [INFO] Final Memory: 37M/685M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:javadoc (create-javadocs) on project apache-james-mpt-core: An error has occurred in JavaDocs report generation:
      [ERROR] Exit code: 1 - javadoc: error - invalid flag: -Xdoclint:none
      [ERROR] 
      [ERROR] Command line was: /usr/lib/jvm/java-6-openjdk-amd64/jre/../bin/javadoc -J-Xmx1024m -J-Xms256m @options @packages
      [ERROR] 
      [ERROR] Refer to the generated Javadoc files in '/home/aduprat/open-paas/james/james-parent/modules/mpt/core/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] 
      [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 <goals> -rf :apache-james-mpt-core
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            aduprat Antoine Duprat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: