Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-70855

xmvn: Javadoc MOJO ignores toolchains [rhel-9.6]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-9.6
    • rhel-9.6
    • xmvn
    • None
    • xmvn-4.0.0-3.el9
    • No
    • Moderate
    • rhel-base-utils-core
    • ssg_core_services
    • 22
    • 24
    • 3
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      Upstream issue: https://github.com/fedora-java/xmvn/issues/142

      XMvn Javadoc MOJO should call javadoc from JDK toolchain, if enabled, but it does not.
      As a result wrong Javadoc tool is used to generate javadoc for all Java packages that are built with toolchains.

      Reproducer:

      dnf install maven-javadoc
      grep 'Generated by' /usr/share/javadoc/maven/index.html

      Actual output:

      <!-- Generated by javadoc (11.0.25) on Sat Nov 23 09:30:11 UTC 2024 --> 

      Expected: javadoc was generated by OpenJDK 8, which is used to build Maven 3.6 in RHEL 9.

              mizdebsk@redhat.com Mikolaj Izdebski
              mizdebsk@redhat.com Mikolaj Izdebski
              Mikolaj Izdebski Mikolaj Izdebski
              Jakub Heger Jakub Heger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: