Update parent pom to fix springboot/checkstyle 10/122210/2
authorliamfallon <liam.fallon@est.tech>
Fri, 25 Jun 2021 12:43:58 +0000 (13:43 +0100)
committerliamfallon <liam.fallon@est.tech>
Mon, 28 Jun 2021 09:11:27 +0000 (10:11 +0100)
This patch swithes the Policy Framework to use the snapshot version of
oparent.

The spring boot dependency management is added.

Issue-ID: POLICY-3209
Change-Id: Ie9ab5b001ed9636fa5b4d96f2d54a7e3e800fec6
Signed-off-by: liamfallon <liam.fallon@est.tech>
integration/pom.xml
pom.xml

index 944dab7..10dbda4 100644 (file)
             </dependency>
 
             <dependency>
-            <groupId>org.onap.sdc.sdc-tosca</groupId>
-            <artifactId>sdc-tosca</artifactId>
-            <version>1.5.1</version>
+                <groupId>org.onap.sdc.sdc-tosca</groupId>
+                <artifactId>sdc-tosca</artifactId>
+                <version>1.5.1</version>
             </dependency>
 
             <dependency>
             </dependency>
 
             <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-vfs2</artifactId>
-            <version>2.8.0</version>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-vfs2</artifactId>
+                <version>2.8.0</version>
             </dependency>
 
             <dependency>
                 <version>3.2.7</version>
                 <scope>test</scope>
             </dependency>
+
+            <!--  Springboot -->
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-starter-web</artifactId>
+                <version>${version.springboot}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-starter-webflux</artifactId>
+                <version>${version.springboot}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-starter-validation</artifactId>
+                <version>${version.springboot}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-starter-test</artifactId>
+                <version>${version.springboot}</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-starter-security</artifactId>
+                <version>${version.springboot}</version>
+            </dependency>
         </dependencies>
 
     </dependencyManagement>
diff --git a/pom.xml b/pom.xml
index 7a62a3b..2545397 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.onap.oparent</groupId>
         <artifactId>oparent</artifactId>
-        <version>3.2.0</version>
+        <version>3.2.1-SNAPSHOT</version>
         <relativePath />
     </parent>
     <groupId>org.onap.policy.parent</groupId>
@@ -32,7 +32,7 @@
     <packaging>pom</packaging>
 
     <properties>
-        <oparent.version>3.2.0</oparent.version>
+        <oparent.version>3.2.1-SNAPSHOT</oparent.version>
     </properties>
 
     <modules>