Add Unit Tests.
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / pom.xml
1  <!--
2     Copyright 2016-2017, Nokia Corporation
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8         http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15  -->
16 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18         <modelVersion>4.0.0</modelVersion>
19
20         <artifactId>vfcadaptor</artifactId>
21         <version>1.0.0-SNAPSHOT</version>
22         <packaging>war</packaging>
23
24         <name>vfc/nfvo/driver/vnfm/svnfm/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor</name>
25         <description>svnfm vnfm driver</description>
26         
27   <parent>
28                 <groupId>org.onap.vfc.nfvo.driver.vnfm.svnfm</groupId>
29                 <artifactId>vfcadaptor-service</artifactId>
30                 <version>1.0.0-SNAPSHOT</version>
31         </parent>
32
33         <properties>
34                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35                 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
36                 <java.version>1.8</java.version>
37                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>  
38         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>  
39         <sonar.jacoco.itReportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.itReportPath>  
40         <sonar.language>java</sonar.language> 
41         </properties>
42         
43         <dependencies>
44                 <dependency>
45                         <groupId>org.springframework.boot</groupId>
46                         <artifactId>spring-boot-starter-data-jpa</artifactId>
47                 </dependency>
48                 <dependency>
49                         <groupId>org.springframework.boot</groupId>
50                         <artifactId>spring-boot-starter-web</artifactId>
51                 </dependency>
52                 <dependency>
53             <groupId>org.springframework.boot</groupId>
54             <artifactId>spring-boot-starter</artifactId>
55             <!-- 
56             <exclusions>
57                 <exclusion>
58                     <groupId>org.springframework.boot</groupId>
59                     <artifactId>spring-boot-starter-logging</artifactId>
60                 </exclusion>
61             </exclusions>
62              -->
63         </dependency>
64         <dependency>
65             <groupId>org.springframework.boot</groupId>
66             <artifactId>spring-boot-starter-logging</artifactId>
67         </dependency>
68 <!-- 
69                 <dependency>
70             <groupId>org.springframework.boot</groupId>
71             <artifactId>spring-boot-starter-log4j2</artifactId>
72             <exclusions>
73                 <exclusion>
74                     <groupId>org.apache.logging.log4j</groupId>
75                     <artifactId>log4j-slf4j-impl</artifactId>
76                 </exclusion>
77             </exclusions>
78         </dependency>
79  -->
80                 <dependency>
81                         <groupId>mysql</groupId>
82                         <artifactId>mysql-connector-java</artifactId>
83                 </dependency>
84                 <dependency>
85                         <groupId>org.springframework.boot</groupId>
86                         <artifactId>spring-boot-starter-tomcat</artifactId>
87                         <scope>provided</scope>
88                 </dependency>
89                 <dependency>
90             <groupId>org.apache.tomcat.embed</groupId>
91             <artifactId>tomcat-embed-jasper</artifactId>
92             <scope>provided</scope>
93         </dependency>
94                 <dependency>
95                         <groupId>org.springframework.boot</groupId>
96                         <artifactId>spring-boot-starter-test</artifactId>
97                         <scope>test</scope>
98                 </dependency>
99                 
100                 
101            <dependency>
102             <groupId>org.apache.httpcomponents</groupId>
103             <artifactId>httpclient</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>com.google.code.gson</groupId>
107             <artifactId>gson</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>org.json</groupId>
111             <artifactId>json</artifactId>
112         </dependency>
113        
114         <dependency>
115             <groupId>org.onap.msb.java-sdk</groupId>
116             <artifactId>msb-java-sdk</artifactId>
117             <version>1.0.0-SNAPSHOT</version>
118        </dependency>
119        <dependency>
120              <groupId>io.dropwizard</groupId>
121              <artifactId>dropwizard-core</artifactId>
122              <version>0.8.0</version>
123        </dependency>
124         </dependencies>
125     <build>
126  <!-- 
127         <pluginManagement>  
128       <plugins>  
129         <plugin>  
130           <groupId>org.jacoco</groupId>  
131           <artifactId>jacoco-maven-plugin</artifactId>  
132           <version>0.7.9</version>
133         </plugin>  
134       </plugins>  
135     </pluginManagement>
136 -->    
137         <plugins>
138             <!-- 
139             <plugin>
140                 <groupId>org.jacoco</groupId>
141                 <artifactId>jacoco-maven-plugin</artifactId>
142                 <configuration>  
143                     <includes>org.onap.vfc.nfvo.driver.vnfm.svnfm.*</includes>  
144                 </configuration>
145                 <executions>
146                     <execution>
147                         <id>default-prepare-agent</id>
148                         <goals>
149                             <goal>prepare-agent</goal>
150                         </goals>
151                     </execution>
152                     <execution>
153                         <id>default-report</id>
154                         <phase>prepare-package</phase>
155                         <goals>
156                             <goal>report</goal>
157                         </goals>
158                     </execution>
159                     <execution>
160                         <id>default-prepare-agent-integration</id>
161                         <goals>
162                             <goal>prepare-agent-integration</goal>
163                         </goals>
164                     </execution>
165                     <execution>
166                         <id>default-check</id>
167                         <goals>
168                             <goal>check</goal>
169                         </goals>
170                     </execution>
171                     <execution>
172                         <id>default-report-integration</id>
173                         <goals>
174                             <goal>report-integration</goal>
175                         </goals>
176                     </execution>
177                 </executions>
178             </plugin>
179              -->
180             <plugin>
181                 <groupId>org.springframework.boot</groupId>
182                 <artifactId>spring-boot-maven-plugin</artifactId>
183                 <version>1.5.7.RELEASE</version>
184             </plugin>
185             <plugin>
186              <groupId>org.apache.maven.plugins</groupId>
187              <artifactId>maven-compiler-plugin</artifactId>
188              <version>3.5</version>
189              <configuration>
190                  <source>1.8</source>
191                  <target>1.8</target>
192              </configuration>
193             </plugin>
194             <plugin>
195                 <groupId>org.apache.maven.plugins</groupId>
196                 <artifactId>maven-surefire-plugin</artifactId>
197             </plugin>
198             <!-- 
199             <plugin>
200                 <groupId>org.apache.maven.plugins</groupId>
201                 <artifactId>maven-failsafe-plugin</artifactId>
202                 <executions>
203                     <execution>
204                     <id>default-integration-test</id>
205                     <goals>
206                         <goal>integration-test</goal>
207                     </goals>
208                     </execution>
209                 </executions>
210             </plugin>
211              -->
212         </plugins>
213     </build>
214  <!--
215     <reporting>
216     <plugins>
217       <plugin>
218         <groupId>org.jacoco</groupId>
219         <artifactId>jacoco-maven-plugin</artifactId>
220         <reportSets>
221           <reportSet>
222             <reports>
223               <report>report</report>
224             </reports>
225           </reportSet>
226         </reportSets>
227       </plugin>
228     </plugins>
229   </reporting>
230  
231   -->
232 </project>