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

Duplicate profile id in JavaFX maven POM

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      Any System.
      Occurred starting from the version 17.

      A DESCRIPTION OF THE PROBLEM :
      While building with maven using maven assembly plugin with inclusion of runtime dependency set a warnings to JavaFX maven artefacts are comming, for example:
      [WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:17.0.1

      Running the build with the follwing additional flags: "-e -X", one can see the origin of the problem:
      [WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:17.0.1
      org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
      [ERROR] 'profiles.profile.id' must be unique but found duplicate profile with id linux-x86_64 @ line 36, column 17
      [ERROR] 'profiles.profile.id' must be unique but found duplicate profile with id linux-aarch64 @ line 68, column 17
      [ERROR] 'profiles.profile.id' must be unique but found duplicate profile with id macosx-x86_64 @ line 116, column 17
      [ERROR] 'profiles.profile.id' must be unique but found duplicate profile with id macosx-aarch64 @ line 148, column 17
      [ERROR] 'profiles.profile.id' must be unique but found duplicate profile with id windows-x86_64 @ line 180, column 17
      [ERROR] 'profiles.profile.id' must be unique but found duplicate profile with id windows-x86 @ line 212, column 17


      REGRESSION : Last worked in version 16.0.2

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the command
      mvn clean verify
      after checkout provided project on GitHub to see the warnings.


      ---------- BEGIN SOURCE ----------
      https://github.com/DoktorZ/javafx-duplicate-profle-id
      ---------- END SOURCE ----------

      FREQUENCY : always


            abagarwal Abhinay Agarwal
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: