[ONOS-4513] Slice optical-model into separate bundle

- net and cli bundle has dependency to optical-model bundle,
  which should be removed in the longer run. (ONOS-4626)

Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
diff --git a/cli/BUCK b/cli/BUCK
index d2333d0..dd67dc1 100644
--- a/cli/BUCK
+++ b/cli/BUCK
@@ -4,6 +4,8 @@
     '//incubator/api:onos-incubator-api',
     '//utils/rest:onlab-rest',
     '//core/common:onos-core-common',
+    # TODO Remove after decoupling optical
+    '//apps/optical-model:onos-apps-optical-model',
 ]
 
 osgi_jar (
diff --git a/cli/pom.xml b/cli/pom.xml
index d1be580..6d3fa1a 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -50,6 +50,13 @@
             <artifactId>onos-core-common</artifactId>
         </dependency>
 
+        <!-- TODO Remove after decoupling optical -->
+        <dependency>
+            <groupId>org.onosproject</groupId>
+            <artifactId>onos-optical-model</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-databind</artifactId>