move spring to dependencyManagement section 47/1347/1
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 23 Feb 2017 22:51:00 +0000 (17:51 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Thu, 23 Feb 2017 22:51:46 +0000 (17:51 -0500)
Change-Id: I928ccb3a719d108d28dddc79ff4077be2c492149
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
PyPDPServer/pom.xml
packages/base/pom.xml

index e89f22d..71e3999 100644 (file)
@@ -47,6 +47,7 @@
                <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath>
                <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
                <nexusproxy>https://nexus.openecomp.org</nexusproxy>
+               <springboot.version>1.3.3.RELEASE</springboot.version>
        </properties>
 
        <repositories>
                        <url>${nexusproxy}/content/repositories/snapshots/</url>
                </snapshotRepository>
        </distributionManagement>
+       
+       <dependencyManagement>
+               <dependencies>
+                       <dependency>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-dependencies</artifactId>
+                    <version>${springboot.version}</version>
+                    <type>pom</type>
+                    <scope>import</scope>
+                </dependency>
+               </dependencies>
+       </dependencyManagement>
 
        <dependencies>
-               <dependency>
-             <groupId>org.springframework.boot</groupId>
-             <artifactId>spring-boot-dependencies</artifactId>
-             <version>1.3.3.RELEASE</version>
-             <type>pom</type>
-             <scope>import</scope>
-         </dependency>
                <dependency>
                        <groupId>org.openecomp.policy.engine</groupId>
                        <artifactId>PolicyEngineAPI</artifactId>
                <dependency>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter-web</artifactId>
-            <version>1.3.3.RELEASE</version>
+             <version>${springboot.version}</version>
                        <exclusions>
                                <exclusion>
                                        <groupId>org.slf4j</groupId>
                        <plugin>
                                <groupId>org.springframework.boot</groupId>
                                <artifactId>spring-boot-maven-plugin</artifactId>
+                    <version>${springboot.version}</version>
                                <executions>
                                        <execution>
                                                <goals>
                        </plugin>
                        <plugin>
                                <artifactId>maven-war-plugin</artifactId>
+                               <version>2.2</version>
                                <configuration>
                                        <packagingExcludes>WEB-INF/lib/javax.websocket-api-1.1.jar</packagingExcludes>
                                </configuration>
                                        <target>1.8</target>
                                </configuration>
                        </plugin>
-                       <plugin>
-                               <groupId>org.jacoco</groupId>
-                               <artifactId>jacoco-maven-plugin</artifactId>
-                               <version>0.7.1.201405082137</version>
-                               <configuration>
-                                       <dumpOnExit>true</dumpOnExit>
-                                       <includes>
-                                               <include>org.openecomp.policy.*</include>
-                                       </includes>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>jacoco-initialize-unit-tests</id>
-                                               <goals>
-                                                       <goal>prepare-agent</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
                        <plugin>
                                <groupId>com.fortify.ps.maven.plugin</groupId>
                                <artifactId>sca-maven-plugin</artifactId>
index f5f13c0..01d7bbb 100755 (executable)
                                        <plugin>
                                                <groupId>org.codehaus.mojo</groupId>
                                                <artifactId>exec-maven-plugin</artifactId>
+                                               <version>1.5.0</version>
                                                <executions>
                                                        <execution>
                                                                <id>create-version-file</id>