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
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
- duplicates
-
JDK-8299352 Duplicate profile id in JavaFX maven POM
- Closed
-
JDK-8335699 Duplicate profile ids and LTS versions
- Closed
- relates to
-
JDK-8279327 Maven Assembly Plugin Issues Warnings for JavaFx 17 Onwards
- Closed
-
JDK-8305167 Duplicate profile ids in generated javafx-19.0.2.1.pom
- Closed
-
JDK-8335699 Duplicate profile ids and LTS versions
- Closed