Remove jsr173-ri from dependencies 79/86479/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 18 Dec 2019 11:09:46 +0000 (12:09 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 18 Dec 2019 11:09:46 +0000 (12:09 +0100)
JSR173 is part of JRE, hence there is no point to inherit this
dependency. It also helps to have our releases consumable from
Central (which does not carry the .jar).

Change-Id: I3cd50c6f20149e48c1946c0ea50a3a8e57f847b1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/pom.xml

index 045083f7d9713a9e6e9e0545758cd486e475a77e..b062191c97524ed0afed040b30509759dbbf873c 100644 (file)
     <dependency>
       <groupId>net.java.dev.stax-utils</groupId>
       <artifactId>stax-utils</artifactId>
     <dependency>
       <groupId>net.java.dev.stax-utils</groupId>
       <artifactId>stax-utils</artifactId>
+      <exclusions>
+        <exclusion>
+          <!-- JSR173 ships with JRE by default -->
+          <groupId>com.bea.xml</groupId>
+          <artifactId>jsr173-ri</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>