I have a project with two versions of the same jar and the problem is that it is causing a jar conflict.
[WARNING] org.apache.cxf.transports.http.configuration.package-info scanned from multiple locations: jar:file:///private/var/folders/rw/9_fr4s6s01d5vcykl3fqkd7d3j59v0/T/jetty-0.0.0.0-0-attache-api-rest.war-_api-any-2999199381910928390.dir/webapp/WEB-INF/lib/cxf-rt-transports-http-3.1.12.jar!/org/apache/cxf/transports/http/configuration/package-info.class, jar:file:///private/var/folders/rw/9_fr4s6s01d5vcykl3fqkd7d3j59v0/T/jetty-0.0.0.0-0-attache-api-rest.war-_api-any-2999199381910928390.dir/webapp/WEB-INF/lib/cxf-rt-transports-http-3.1.4.jar!/org/apache/cxf/transports/http/configuration/package-info.class
I wanted to remove the previous version and I know how to remove it using exclusions, but I am not able to find the cxf-rt-transports-http-3.1.4.jar in pom.xml dependency hierarchy so that I could found out from where this transitive dependency is actually coming.