Fix aaa-idm-store-h2 dependencies 45/103245/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Nov 2022 17:34:10 +0000 (18:34 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Nov 2022 17:38:01 +0000 (18:38 +0100)
We should depend on aaa-password-service-impl and aaa-tokenauthrealm
only for tests. Fix this up, improving packaging in the process.

Change-Id: I65f9093c7d3cf00dcbe19b336030ae86db33b38a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
aaa-idm-store-h2/pom.xml

index 0c464d4d7f05e09b2498c7b66681002b3d6e3e46..1560a53e1307319f6654b3c14d02d69f06708304 100644 (file)
             <groupId>org.opendaylight.aaa</groupId>
             <artifactId>aaa-authn-api</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.aaa</groupId>
-            <artifactId>aaa-tokenauthrealm</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.opendaylight.aaa</groupId>
             <artifactId>aaa-password-service-api</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.aaa</groupId>
-            <artifactId>aaa-password-service-impl</artifactId>
-        </dependency>
-
         <!-- OSGI dependencies -->
         <dependency>
             <groupId>org.osgi</groupId>
             <groupId>com.h2database</groupId>
             <artifactId>h2</artifactId>
         </dependency>
+
+        <dependency>
+            <groupId>org.opendaylight.aaa</groupId>
+            <artifactId>aaa-password-service-impl</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.aaa</groupId>
+            <artifactId>aaa-tokenauthrealm</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 </project>