Make sure CLI components are scope=provided 25/85125/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Oct 2019 16:34:28 +0000 (18:34 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 15 Oct 2019 16:34:28 +0000 (18:34 +0200)
We are filtering dependencies, but if downstreams fail to set these
dependencies to provided we'll end up pull in transitive dependencies
are required -- and those are provided by the platform. Mark CLI
components as provided, as that is what they are.

Change-Id: I32c6f4d3b24591d828d808c13849907176fd0f99
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
odlparent/pom.xml

index 0d4d0e63049276e9b0efe16632dc01b064a493e1..ffd3083f26d943e33959c65a8f2fb16ee21b2a3c 100644 (file)
         <groupId>org.apache.karaf.shell</groupId>
         <artifactId>org.apache.karaf.shell.core</artifactId>
         <version>${karaf.version}</version>
+        <scope>provided</scope>
       </dependency>
       <dependency>
         <groupId>org.apache.karaf.shell</groupId>
         <artifactId>org.apache.karaf.shell.console</artifactId>
         <version>${karaf.version}</version>
+        <scope>provided</scope>
       </dependency>
 
       <!-- ThreeTen-Extra, date/time complements -->