0

I have this dependency in my pom.xml

<dependency>
    <groupId>com.sun.xml.ws</groupId>
    <artifactId>jaxws-ri</artifactId>
    <version>2.3.4</version>
    <type>zip</type>
    <scope>compile</scope>
    <exclusions>
        <exclusion>
            <groupId>*</groupId>
            <artifactId>*</artifactId>
        </exclusion>
    </exclusions>
</dependency>

jaxws-ri is added as zip in my dependencies. I see a strange behavior as the above dependency is not excluding any transitive dependencies. Am I doing anything wrong here?

I have tried all the ways of exclusions, but nothing is working for me. Can someone please help me here

Prashanth
  • 95
  • 1
  • 8
  • The dependency you are using is a standalone zipped bundle but **not** a usual dependency See https://search.maven.org/artifact/com.sun.xml.ws/jaxws-ri/4.0.0/pom – khmarbaise Nov 15 '22 at 19:21

0 Answers0