Fix cps-nf-proxy standalone assembly. 98/118798/2
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Thu, 4 Mar 2021 15:13:00 +0000 (17:13 +0200)
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Thu, 4 Mar 2021 15:20:02 +0000 (17:20 +0200)
Application dependency on cps-ri module moved from cps-rest module (indirect)
to cps-application (direct, using assembly profiles)

Issue-ID: CPS-274
Change-Id: Id246dc4c6d15343e4862f70151aa82c5020862c9
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
cps-application/pom.xml
cps-rest/pom.xml

index cfebf68..9a7d2f8 100644 (file)
                     <groupId>${project.groupId}</groupId>
                     <artifactId>cps-rest</artifactId>
                 </dependency>
+                <dependency>
+                    <groupId>${project.groupId}</groupId>
+                    <artifactId>cps-ri</artifactId>
+                </dependency>
             </dependencies>
             <build>
                 <plugins>
                     <groupId>${project.groupId}</groupId>
                     <artifactId>cps-nf-proxy-rest</artifactId>
                 </dependency>
+                <dependency>
+                    <groupId>${project.groupId}</groupId>
+                    <artifactId>cps-ri</artifactId>
+                </dependency>
             </dependencies>
             <build>
                 <plugins>
                     <groupId>${project.groupId}</groupId>
                     <artifactId>cps-nf-proxy-rest</artifactId>
                 </dependency>
+                <dependency>
+                    <groupId>${project.groupId}</groupId>
+                    <artifactId>cps-ri</artifactId>
+                </dependency>
             </dependencies>
             <build>
                 <plugins>
index 840228e..9264c68 100755 (executable)
             <groupId>${project.groupId}</groupId>
             <artifactId>cps-service</artifactId>
         </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>cps-ri</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-validation</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-jetty</artifactId>