Remove jsr173-ri from dependencies 85/86485/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 18 Dec 2019 14:36:17 +0000 (15:36 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 18 Dec 2019 14:47:00 +0000 (14:47 +0000)
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: Iba78f955c8da0b9f0f49ebfa7893094ce8f6931c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-bierman02/pom.xml
restconf/restconf-nb-rfc8040/pom.xml

index 62e4d6081e592002eb469109c10ac7c5df9274b5..0502261c826887eefe99c6e9127eb366fb7173d5 100644 (file)
     <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.json</groupId>
index 9e714236dd4f575472c30ddea82229ef2a1ddc22..ad229c599a48c9b61a89fa4e8900846fd0be2c01 100644 (file)
     <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>