Bug#1012082: jboss-logging: FTBFS with OpenJDK 17 due to the removal of --no-module-directories javadoc option

Emmanuel Bourg ebourg at apache.org
Sun May 29 23:09:04 BST 2022


Source: jboss-logging
Version: 3.5.0-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17


jboss-logging fails to build with OpenJDK 17, it uses the deprecated '--no-module-directories' javadoc option:

  
  [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ jboss-logging ---
  [WARNING] The POM for org.codehaus.plexus:plexus-interactivity-api:jar:debian is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
  [INFO] Adding the --ignore-source-errors option
  [INFO]
  Usage:
      javadoc [options] [packagenames] [sourcefiles] [@files]
  where options include:
      @<file>       Read options and filenames from file
      --add-modules <module>(,<module>)*
                    Root modules to resolve in addition to the initial modules,
                    or all modules on the module path if <module> is
                    ALL-MODULE-PATH.
      -bootclasspath <path>
                    Override location of platform class files used for non-modular
                    releases
      -breakiterator
                    Compute first sentence with BreakIterator
      --class-path <path>, -classpath <path>, -cp <path>
                    Specify where to find user class files
      -doclet <class>
                    Generate output via alternate doclet
      -docletpath <path>
                    Specify where to find doclet class files
      --enable-preview
                    Enable preview language features. To be used in conjunction with
                    either -source or --release.
  
  ...
  
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Skipping JBoss Logging 3
  [INFO] This project has been banned from the build due to previous failures.
  [INFO] ------------------------------------------------------------------------
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time:  3.637 s
  [INFO] Finished at: 2022-05-26T01:46:45Z
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (default-cli) on project jboss-logging: MavenReportException: Error while generating Javadoc:
  [ERROR] Exit code: 1 - error: invalid flag: --no-module-directories
  [ERROR] 1 error
  [ERROR]
  [ERROR] Command line was: /usr/lib/jvm/java-17-openjdk-amd64/bin/javadoc --no-module-directories @options @packages



More information about the pkg-java-maintainers mailing list