Require in-memory datastore 70/75670/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 3 Sep 2018 08:59:58 +0000 (10:59 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 3 Sep 2018 10:20:21 +0000 (10:20 +0000)
mdsal-binding-dom-adapter publishes test-jar for downstreams,
which does not work if IMDS is excluded. Fix that up.

Change-Id: Iefeec6707e5dd94647591dedaba0481cebe07db3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-adapter/pom.xml

index 39076c753b4441b7ba9e3d22df5cc9dbf9c4b8f6..8700b3efaab1e309d7f3533eaf528ae6786c70b9 100644 (file)
@@ -95,6 +95,7 @@
             <artifactId>org.osgi.core</artifactId>
             <scope>provided</scope>
         </dependency>
+
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <artifactId>yang-parser-impl</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.mdsal</groupId>
-            <artifactId>mdsal-dom-inmemory-datastore</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal</groupId>
             <artifactId>mdsal-binding-test-model</artifactId>
             <artifactId>slf4j-simple</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal</groupId>
+            <artifactId>mdsal-dom-inmemory-datastore</artifactId>
+            <!-- scope=compile to make test-jar work -->
+        </dependency>
     </dependencies>
 
     <build>