Adjust parent pom on sds
[aai/search-data-service.git] / search-data-service-app / pom.xml
index a61232e..ea768b8 100644 (file)
@@ -25,9 +25,9 @@
        <modelVersion>4.0.0</modelVersion>
 
        <parent>
-               <artifactId>spring-boot-starter-parent</artifactId>
-               <groupId>org.springframework.boot</groupId>
-               <version>1.5.19.RELEASE</version>
+               <artifactId>search-data-service</artifactId>
+               <groupId>org.onap.aai</groupId>
+               <version>1.5.0-SNAPSHOT</version>
        </parent>
 
        <groupId>org.onap.aai.search-data-service</groupId>
                <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
                <sonar.projectVersion>${project.version}</sonar.projectVersion>
                <jacoco.line.coverage.limit>0.58</jacoco.line.coverage.limit>
+               <spring.boot.version>1.5.19.RELEASE</spring.boot.version>
        </properties>
-
+       
+       <dependencyManagement>
+          <dependencies>
+            <dependency>
+              <groupId>org.springframework.boot</groupId>
+              <artifactId>spring-boot-starter-parent</artifactId>
+              <version>${spring.boot.version}</version>
+              <type>pom</type>
+              <scope>import</scope>
+            </dependency>
+          </dependencies>
+       </dependencyManagement>
+       
        <dependencies>
 
                <dependency>
                                        <forceTags>true</forceTags>
                                </configuration>
                        </plugin>
-                       <plugin>
-                               <groupId>org.sonatype.plugins</groupId>
-                               <artifactId>nexus-staging-maven-plugin</artifactId>
-                               <version>1.6.7</version>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <nexusUrl>${nexusproxy}</nexusUrl>
-                                       <stagingProfileId>176c31dfe190a</stagingProfileId>
-                                       <serverId>ecomp-staging</serverId>
-                               </configuration>
-                       </plugin>
-
             <!-- This plugin is used to generate Java POJO's from json format schema
                 file. -->
                        <plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-deploy-plugin</artifactId>
-                               <version>2.8.2</version>
-                               <executions>
-                                       <execution>
-                                               <id>default-deploy</id>
-                                               <phase>none</phase>
-                                       </execution>
-                               </executions>
                        </plugin>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>