dd16ab36edb93fdeecc814968877601ca3932a20
[vfc/nfvo/driver/ems.git] / ems / boco / pom.xml
1 <?xml version="1.0"?>
2 <!--
3     Copyright (c) 2017, CMCC Technologies Co., Ltd.
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16  -->
17 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18   <parent>
19         <groupId>org.onap.vfc.nfvo.driver.ems.ems</groupId>
20         <artifactId>ems-driver-boco-parent</artifactId>
21         <version>1.3.0-SNAPSHOT</version>
22   </parent>
23
24   <modelVersion>4.0.0</modelVersion>
25   <artifactId>boco-driver</artifactId>
26   <version>1.3.0-SNAPSHOT</version>
27   <packaging>jar</packaging>
28   <name>vfc-nfvo-driver-ems-ems-boco</name>
29
30
31   <properties>
32     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33     <jersey.version>2.16</jersey.version>
34     <swagger.version>1.5.3</swagger.version>
35     <sonar.language>java</sonar.language>
36     <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
37     <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
38     <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
39     <sonar.projectVersion>${project.version}</sonar.projectVersion>
40     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
41   </properties>
42
43    <build>
44     <!--pluginManagement--> 
45         <plugins>
46                 <plugin>  
47                <groupId>org.apache.maven.plugins</groupId>  
48                <artifactId>maven-compiler-plugin</artifactId>  
49                <configuration>  
50                    <source>1.8</source>  
51                    <target>1.8</target>  
52                </configuration>  
53            </plugin>
54            <plugin>
55                 <groupId>org.apache.maven.plugins</groupId>
56                 <artifactId>maven-jar-plugin</artifactId>
57                 <configuration>
58                     <archive>
59                         <manifest>
60                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
61                         </manifest>
62                     </archive>
63                 </configuration>
64             </plugin>
65             <plugin>
66                 <groupId>org.apache.maven.plugins</groupId>
67                 <artifactId>maven-shade-plugin</artifactId>
68                 <configuration>
69                     <createDependencyReducedPom>false</createDependencyReducedPom>
70                     <filters>
71                         <filter>
72                             <artifact>*:*</artifact>
73                             <excludes>
74                                 <exclude>META-INF/*.SF</exclude>
75                                 <exclude>META-INF/*.DSA</exclude>
76                                 <exclude>META-INF/*.RSA</exclude>
77                             </excludes>
78                         </filter>
79                     </filters>
80                 </configuration>
81                 <executions>
82                     <execution>
83                         <phase>package</phase>
84                         <goals>
85                             <goal>shade</goal>
86                         </goals>
87                         <configuration>
88                             <transformers>
89                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
90                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
91                                     <mainClass>org.onap.vfc.nfvo.emsdriver.EmsDriverApplication</mainClass>
92                                 </transformer>
93                             </transformers>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98             <plugin>
99                 <groupId>org.apache.maven.plugins</groupId>
100                 <artifactId>maven-dependency-plugin</artifactId>
101                 <executions>
102                     <execution>
103                         <id>copy-dependencies</id>
104                         <phase>package</phase>
105                         <goals>
106                             <goal>copy-dependencies</goal>
107                         </goals>
108                         <configuration>
109                             <artifactItems>
110                                 <artifactItem>
111                                     <groupId>io.dropwizard</groupId>
112                                     <artifactId>dropwizard-core</artifactId>
113                                     <overWrite>true</overWrite>
114                                 </artifactItem>
115                             </artifactItems>
116                         </configuration>
117                     </execution>
118                 </executions>
119             </plugin>
120             <plugin>
121                 <groupId>org.jacoco</groupId>
122                 <artifactId>jacoco-maven-plugin</artifactId>
123                 <executions>
124                   <execution>
125                     <id>prepare-agent</id>
126                     <goals>
127                         <goal>prepare-agent</goal>
128                     </goals>
129                   </execution>
130                   <execution>
131                      <id>report</id>
132                      <goals>
133                        <goal>report</goal>
134                      </goals>
135                      <configuration>
136                         <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
137                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
138                      </configuration>
139                   </execution>
140                </executions>
141             </plugin>
142         </plugins>
143        <!--  /pluginManagement--> 
144
145     </build>
146
147   <dependencies>
148         <dependency>
149                 <groupId>commons-lang</groupId>
150                 <artifactId>commons-lang</artifactId>
151                 <version>2.6</version>
152         </dependency>
153         <dependency>
154                  <groupId>com.alibaba</groupId>
155                  <artifactId>fastjson</artifactId>
156                  <version>1.2.28</version>
157         </dependency>
158         <dependency>
159                  <groupId>commons-io</groupId>
160                  <artifactId>commons-io</artifactId>
161                  <version>2.5</version>
162         </dependency>
163         <dependency>
164                 <groupId>org.apache.ant</groupId>
165                 <artifactId>ant</artifactId>
166                 <version>1.10.1</version>
167         </dependency>
168         <dependency>
169                 <groupId>jdom</groupId>
170                 <artifactId>jdom</artifactId>
171                 <version>1.1</version>
172         </dependency>
173         <dependency>
174                 <groupId>commons-net</groupId>
175                 <artifactId>commons-net</artifactId>
176                 <version>3.6</version>
177         </dependency>
178
179         <dependency>
180                 <groupId>org.springframework</groupId>
181                 <artifactId>spring-context</artifactId>
182                 <version>4.3.18.RELEASE</version>
183         </dependency>
184     <dependency>
185                 <groupId>org.quartz-scheduler</groupId>
186                 <artifactId>quartz</artifactId>
187                 <version>1.7.3</version>
188         </dependency>
189         <dependency>
190            <groupId>io.dropwizard</groupId>
191            <artifactId>dropwizard-core</artifactId>
192            <version>1.2.4</version>
193            <exclusions>
194                 <exclusion>
195                  <groupId>ch.qos.logback</groupId>
196                  <artifactId>logback-core</artifactId>
197             </exclusion>
198             <exclusion>
199                  <groupId>ch.qos.logback</groupId>
200                  <artifactId>logback-classic</artifactId>
201             </exclusion>
202             <exclusion>
203                  <groupId>ch.qos.logback</groupId>
204                  <artifactId>logback-access</artifactId>
205             </exclusion>
206             <exclusion>
207                 <groupId>org.slf4j</groupId>
208                  <artifactId>log4j-over-slf4j</artifactId>
209              </exclusion>
210         </exclusions>
211         </dependency>
212         <dependency>
213         <groupId>io.dropwizard</groupId>
214         <artifactId>dropwizard-assets</artifactId>
215         <version>1.2.4</version>
216     </dependency>
217         <dependency>
218           <groupId>org.apache.httpcomponents</groupId>
219       <artifactId>httpclient</artifactId>
220           <version>4.5.5</version>
221         </dependency>
222           <dependency>
223             <groupId>org.glassfish.jersey.media</groupId>
224             <artifactId>jersey-media-multipart</artifactId>
225             <version>${jersey.version}</version>
226         </dependency>
227
228         <dependency>
229             <groupId>org.glassfish.jersey.containers</groupId>
230             <artifactId>jersey-container-servlet-core</artifactId>
231             <version>${jersey.version}</version>
232         </dependency>
233
234                 <dependency>
235                         <groupId>org.glassfish.jersey.containers</groupId>
236                         <artifactId>jersey-container-servlet</artifactId>
237                         <version>2.16</version>
238                 </dependency>
239                 <dependency>
240                         <groupId>org.glassfish.jersey.core</groupId>
241                         <artifactId>jersey-client</artifactId>
242                         <version>2.16</version>
243                 </dependency>
244                 <dependency>
245                         <groupId>org.glassfish.jersey.core</groupId>
246                         <artifactId>jersey-common</artifactId>
247                         <version>2.16</version>
248                 </dependency>
249     <dependency>
250             <groupId>junit</groupId>
251             <artifactId>junit</artifactId>
252             <version>4.12</version>
253             <scope>test</scope>
254         </dependency>
255         <dependency>
256         <groupId>io.swagger</groupId>
257         <artifactId>swagger-jersey2-jaxrs</artifactId>
258         <version>${swagger.version}</version>
259     </dependency>
260      <!--dependency>
261                     <groupId>evel_javalib2</groupId>
262                     <artifactId>evel_javalib2</artifactId>
263                     <version>0.0.1</version>
264                     <scope>system</scope> 
265                         <systemPath>${basedir}/3rdParty/evel_javalib2-0.0.1.jar</systemPath> 
266         </dependency-->
267     <dependency>
268                     <groupId>org.onap.vnfsdk.ves-agent</groupId>
269                     <artifactId>evel_javalib2</artifactId>
270                     <version>1.1.0</version>
271         </dependency>
272         <dependency>
273                 <groupId>javax.json</groupId>
274                 <artifactId>javax.json-api</artifactId>
275                 <version>1.1</version>
276         </dependency>
277         <dependency>
278                 <groupId>org.glassfish</groupId>
279                 <artifactId>javax.json</artifactId>
280                 <version>1.0.4</version>
281         </dependency>
282         <!-- https://mvnrepository.com/artifact/org.mockftpserver/MockFtpServer -->
283
284         <dependency>
285             <groupId>org.mockftpserver</groupId>
286             <artifactId>MockFtpServer</artifactId>
287             <version>2.4</version>
288             <scope>test</scope>
289         </dependency>
290         <dependency>
291             <groupId>org.mock-server</groupId>
292             <artifactId>mockserver-netty</artifactId>
293             <version>5.3.0</version>
294             <scope>test</scope>
295         </dependency>
296         <dependency>
297             <groupId>org.eclipse.jetty</groupId>
298             <artifactId>jetty-server</artifactId>
299             <version>9.4.11.v20180605</version>
300         </dependency>
301         <dependency>
302             <groupId>commons-collections</groupId>
303             <artifactId>commons-collections</artifactId>
304             <version>3.2.2</version>
305         </dependency>
306         <dependency>
307             <groupId>io.netty</groupId>
308             <artifactId>netty-handler</artifactId>
309             <version>4.1.22.Final</version>
310         </dependency>
311         <dependency>
312             <groupId>org.bouncycastle</groupId>
313             <artifactId>bcprov-jdk15on</artifactId>
314             <version>1.60</version>
315         </dependency>
316         <dependency>
317             <groupId>xerces</groupId>
318             <artifactId>xercesImpl</artifactId>
319             <version>2.12.0</version>
320         </dependency>
321         <dependency>
322             <groupId>com.googlecode.libphonenumber</groupId>
323             <artifactId>libphonenumber</artifactId>
324             <version>8.9.1</version>
325         </dependency>
326         <dependency>
327             <groupId>org.eclipse.jetty</groupId>
328             <artifactId>jetty-util</artifactId>
329             <version>9.4.11.v20180605</version>
330         </dependency>
331         <dependency>
332                 <groupId>com.google.guava</groupId>
333             <artifactId>guava</artifactId>
334                 <version>23.6.1-jre</version>
335         </dependency>
336         <dependency>
337             <groupId>com.fasterxml.jackson.dataformat</groupId>
338             <artifactId>jackson-dataformat-xml</artifactId>
339             <version>2.9.4</version>
340         </dependency>
341         <dependency>
342             <groupId>com.fasterxml.jackson.core</groupId>
343             <artifactId>jackson-databind</artifactId>
344             <version>2.9.6</version>
345         </dependency>
346         <dependency>
347       <groupId>org.springframework</groupId>
348       <artifactId>spring-core</artifactId>
349       <version>4.3.18.RELEASE</version>
350   </dependency>
351   </dependencies>
352 </project>