Make sure CLI components are scope=provided
[odlparent.git] / odlparent / pom.xml
index 88e3376b6eb2f5375fc44c24767044ea73e88404..ffd3083f26d943e33959c65a8f2fb16ee21b2a3c 100644 (file)
         <groupId>com.google.inject</groupId>
         <artifactId>guice</artifactId>
         <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
-             by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
-        <version>4.1.0</version>
+             by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103.
+
+             Well, mycila is dead as a dodo and we need to support Java 11. This is the best
+             we can do in the interim. -->
+        <version>4.2.2</version>
       </dependency>
       <dependency>
         <groupId>commons-beanutils</groupId>
         <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 -->
           <version>1.2.4</version>
         </plugin>
 
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>jdepend-maven-plugin</artifactId>
-          <version>2.0</version>
-          <executions>
-            <execution>
-              <phase>site</phase>
-              <goals>
-                <goal>generate-no-fork</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
-
         <!-- When updating this version, consider antl4-runtime above -->
         <plugin>
           <groupId>org.antlr</groupId>