Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274254

Javafx no longer possible to use with moditect for non-modular projects

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      OSX 10.15, JDK 16.0.2

      A DESCRIPTION OF THE PROBLEM :
      Upgrading from javafx 17-ea+14 to javafx 17 GA release causes an error message "duplicate element: javafx.web"

      REGRESSION : Last worked in version 17

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Just checkout the code at https://github.com/lanthale/PhotoSlide.git and execute "mvn clean install"

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The build is successfully as it was with javafx17-ea+14.
      ACTUAL -
      Failed to execute goal org.moditect:moditect-maven-plugin:1.0.0.RC1:add-module-info (add-module-info-to-deps) on project PhotoSlide: Execution add-module-info-to-deps of goal org.moditect:moditect-maven-plugin:1.0.0.RC1:add-module-info failed: duplicate element: javafx.web -> [Help 1]

      ---------- BEGIN SOURCE ----------
      https://github.com/lanthale/PhotoSlide.git
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Go back from the GA release back to 17-ea+14.

      FREQUENCY : always


            kcr Kevin Rushforth
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: