Modify service register part
[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                 <dependency>
114            <groupId>com.alibaba</groupId>
115            <artifactId>fastjson</artifactId>
116            <version>1.2.39</version>
117         </dependency>
118
119                 <dependency>
120                         <groupId>org.onap.msb.java-sdk</groupId>
121                         <artifactId>msb-java-sdk</artifactId>
122                         <version>1.0.0-SNAPSHOT</version>
123                 </dependency>
124                 <dependency>
125                         <groupId>io.dropwizard</groupId>
126                         <artifactId>dropwizard-core</artifactId>
127                         <version>0.8.0</version>
128                 </dependency>
129         </dependencies>
130     <build>
131  <!-- 
132         <pluginManagement>  
133       <plugins>  
134         <plugin>  
135           <groupId>org.jacoco</groupId>  
136           <artifactId>jacoco-maven-plugin</artifactId>  
137           <version>0.7.9</version>
138         </plugin>  
139       </plugins>  
140     </pluginManagement>
141 -->    
142         <plugins>
143             <!-- 
144             <plugin>
145                 <groupId>org.jacoco</groupId>
146                 <artifactId>jacoco-maven-plugin</artifactId>
147                 <configuration>  
148                     <includes>org.onap.vfc.nfvo.driver.vnfm.svnfm.*</includes>  
149                 </configuration>
150                 <executions>
151                     <execution>
152                         <id>default-prepare-agent</id>
153                         <goals>
154                             <goal>prepare-agent</goal>
155                         </goals>
156                     </execution>
157                     <execution>
158                         <id>default-report</id>
159                         <phase>prepare-package</phase>
160                         <goals>
161                             <goal>report</goal>
162                         </goals>
163                     </execution>
164                     <execution>
165                         <id>default-prepare-agent-integration</id>
166                         <goals>
167                             <goal>prepare-agent-integration</goal>
168                         </goals>
169                     </execution>
170                     <execution>
171                         <id>default-check</id>
172                         <goals>
173                             <goal>check</goal>
174                         </goals>
175                     </execution>
176                     <execution>
177                         <id>default-report-integration</id>
178                         <goals>
179                             <goal>report-integration</goal>
180                         </goals>
181                     </execution>
182                 </executions>
183             </plugin>
184              -->
185             <plugin>
186                 <groupId>org.springframework.boot</groupId>
187                 <artifactId>spring-boot-maven-plugin</artifactId>
188                 <version>1.5.7.RELEASE</version>
189             </plugin>
190             <plugin>
191              <groupId>org.apache.maven.plugins</groupId>
192              <artifactId>maven-compiler-plugin</artifactId>
193              <version>3.5</version>
194              <configuration>
195                  <source>1.8</source>
196                  <target>1.8</target>
197              </configuration>
198             </plugin>
199             <plugin>
200                 <groupId>org.apache.maven.plugins</groupId>
201                 <artifactId>maven-surefire-plugin</artifactId>
202             </plugin>
203             <!-- 
204             <plugin>
205                 <groupId>org.apache.maven.plugins</groupId>
206                 <artifactId>maven-failsafe-plugin</artifactId>
207                 <executions>
208                     <execution>
209                     <id>default-integration-test</id>
210                     <goals>
211                         <goal>integration-test</goal>
212                     </goals>
213                     </execution>
214                 </executions>
215             </plugin>
216              -->
217         </plugins>
218     </build>
219  <!--
220     <reporting>
221     <plugins>
222       <plugin>
223         <groupId>org.jacoco</groupId>
224         <artifactId>jacoco-maven-plugin</artifactId>
225         <reportSets>
226           <reportSet>
227             <reports>
228               <report>report</report>
229             </reports>
230           </reportSet>
231         </reportSets>
232       </plugin>
233     </plugins>
234   </reporting>
235  
236   -->
237 </project>