Remove jsr173-ri from dependencies 86/86486/2
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 15:42:15 +0000 (15:42 +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 bd6b9767eaa1c318ae5e9b3c8ce8cc6ac709f87b..5a3e229295ec451dd9e8ea90e0a43eee0e64993f 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 9fb49a93cc4de91fc2d50e742c7eaaae44f6c75a..b14086721ae1a74c57a3dae3d562a3179e4b6999 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>