hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
2.03k stars 1.32k forks source link

Duplicate declaration of plugin ca.uhn.hapi.fhir:hapi-tinder-plugin when building hapi-fhir-jpaserver-base #6379

Open zhfeng opened 1 week ago

zhfeng commented 1 week ago

NOTE: Before filing a ticket, please see the following URL: https://github.com/hapifhir/hapi-fhir/wiki/Getting-Help

Describe the issue This is maven build WARNING message like,

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for ca.uhn.hapi.fhir:hapi-fhir-jpaserver-base:jar:7.4.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin ca.uhn.hapi.fhir:hapi-tinder-plugin @ line 525, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 

Environment (please complete the following information):

Additional context Add any other context about the problem here.

It seems that there is two hapi-tinder-plugin in the pom.xml, I wonder if we can combine them together.

svkcemk commented 1 week ago

Please note its happening starting from 7.4.0 version.