[ONOS-4513] Slice optical-model into separate bundle (1/3)
- 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 d00ee98..d9dc9e6 100644
--- a/cli/BUCK
+++ b/cli/BUCK
@@ -5,6 +5,8 @@
'//incubator/net:onos-incubator-net',
'//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 76d69fa..28579c3 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -49,6 +49,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>