Incremen version 1.2.0
[vnfsdk/refrepo.git] / vnfmarket-be / vnf-sdk-marketplace / pom.xml
1 <?xml version="1.0"?>
2 <!-- Copyright 2017 Huawei Technologies Co., Ltd. Licensed under the Apache
3     License, Version 2.0 (the "License"); you may not use this file except in
4     compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5     Unless required by applicable law or agreed to in writing, software distributed
6     under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
7     OR CONDITIONS OF ANY KIND, either express or implied. See the License for
8     the specific language governing permissions and limitations under the License. -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11     <parent>
12         <groupId>org.onap.vnfsdk.refrepo</groupId>
13         <artifactId>vnf-sdk-marketplace-core-parent</artifactId>
14         <version>1.2.0</version>
15     </parent>
16
17     <modelVersion>4.0.0</modelVersion>
18     <artifactId>vnf-sdk-marketplace</artifactId>
19     <name>vnf-sdk-marketplace/vnf-sdk-marketplace</name>
20     <packaging>war</packaging>
21
22     <properties>
23         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24         <cxf.version>3.2.5</cxf.version>
25         <!-- slf4j.version>1.6.1</slf4j.version> -->
26         <maven.test.skip>false</maven.test.skip>
27         <maven.test.failure.ignore>false</maven.test.failure.ignore>
28         <swagger-ui.version>3.12.0</swagger-ui.version>
29     </properties>
30
31
32
33     <dependencies>
34     <!--  oclip -->
35           <dependency>
36             <groupId>org.onap.cli</groupId>
37             <artifactId>oclip-grpc-client</artifactId>
38             <version>1.0.0</version>
39           </dependency>
40         <dependency>
41             <groupId>org.apache.cxf</groupId>
42             <artifactId>cxf-rt-frontend-jaxrs</artifactId>
43             <version>${cxf.version}</version>
44         </dependency>
45         <dependency>
46             <groupId>org.apache.cxf</groupId>
47             <artifactId>cxf-rt-rs-client</artifactId>
48             <version>${cxf.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>org.apache.cxf</groupId>
52             <artifactId>cxf-rt-transports-http-hc</artifactId>
53             <version>${cxf.version}</version>
54         </dependency>
55         <dependency>
56             <groupId>log4j</groupId>
57             <artifactId>log4j</artifactId>
58             <version>1.2.16</version>
59         </dependency>
60
61         <dependency>
62             <groupId>org.eclipse.persistence</groupId>
63             <artifactId>javax.persistence</artifactId>
64             <version>2.1.0</version>
65         </dependency>
66
67         <dependency>
68             <groupId>io.swagger</groupId>
69             <artifactId>swagger-jersey2-jaxrs</artifactId>
70             <version>1.5.19</version>
71         </dependency>
72         <!-- jersey -->
73
74         <dependency>
75             <groupId>org.glassfish.jersey.containers</groupId>
76             <artifactId>jersey-container-jetty-servlet</artifactId>
77             <version>2.24.1</version>
78         </dependency>
79         <dependency>
80             <groupId>org.apache.httpcomponents</groupId>
81             <artifactId>httpmime</artifactId>
82             <version>4.5.3</version>
83         </dependency>
84         <!-- jetty -->
85         <dependency>
86             <groupId>org.eclipse.jetty</groupId>
87             <artifactId>jetty-http</artifactId>
88             <version>9.4.11.v20180605</version>
89         </dependency>
90         <dependency>
91             <groupId>org.eclipse.jetty</groupId>
92             <artifactId>jetty-servlet</artifactId>
93             <version>9.4.11.v20180605</version>
94         </dependency>
95         <dependency>
96             <groupId>org.eclipse.jetty</groupId>
97             <artifactId>jetty-server</artifactId>
98             <version>9.4.11.v20180605</version>
99         </dependency>
100         <!-- consumer -->
101         <dependency>
102             <groupId>com.eclipsesource.jaxrs</groupId>
103             <artifactId>consumer</artifactId>
104             <exclusions>
105                 <exclusion>
106                     <groupId>com.eclipsesource.jaxrs</groupId>
107                     <artifactId>jersey-all</artifactId>
108                 </exclusion>
109             </exclusions>
110             <version>5.0</version>
111         </dependency>
112         <!-- gson -->
113         <dependency>
114             <groupId>com.google.code.gson</groupId>
115             <artifactId>gson</artifactId>
116             <version>2.8.2</version>
117         </dependency>
118         <dependency>
119             <groupId>org.postgresql</groupId>
120             <artifactId>postgresql</artifactId>
121             <version>42.2.5</version>
122         </dependency>
123         <dependency>
124             <groupId>org.mybatis</groupId>
125             <artifactId>mybatis</artifactId>
126             <version>3.2.7</version>
127         </dependency>
128         <!-- UT -->
129         <dependency>
130             <groupId>junit</groupId>
131             <artifactId>junit</artifactId>
132             <version>4.12</version>
133             <scope>test</scope>
134         </dependency>
135         <dependency>
136             <groupId>org.powermock</groupId>
137             <artifactId>powermock-module-junit4</artifactId>
138             <version>1.4.10</version>
139             <scope>test</scope>
140         </dependency>
141         <dependency>
142             <groupId>org.powermock</groupId>
143             <artifactId>powermock-api-mockito</artifactId>
144             <version>1.4.10</version>
145             <scope>test</scope>
146         </dependency>
147         <dependency>
148             <groupId>org.jmockit</groupId>
149             <artifactId>jmockit</artifactId>
150             <version>1.19</version>
151             <scope>test</scope>
152         </dependency>
153         <dependency>
154             <groupId>org.jmockit</groupId>
155             <artifactId>jmockit-coverage</artifactId>
156             <version>1.19</version>
157             <scope>test</scope>
158         </dependency>
159         <dependency>
160             <groupId>org.apache.ant</groupId>
161             <artifactId>ant</artifactId>
162             <version>1.8.2</version>
163             <scope>test</scope>
164         </dependency>
165
166
167         <dependency>
168             <groupId>org.apache.commons</groupId>
169             <artifactId>commons-io</artifactId>
170             <version>1.3.2</version>
171         </dependency>
172         <dependency>
173             <groupId>commons-io</groupId>
174             <artifactId>commons-io</artifactId>
175             <version>2.4</version>
176         </dependency>
177         <dependency>
178             <groupId>com.google.guava</groupId>
179             <artifactId>guava</artifactId>
180             <version>25.0-jre</version>
181         </dependency>
182
183     </dependencies>
184     <profiles>
185         <profile>
186             <id>all-tests</id>
187             <properties>
188                 <build.profile.id>all-tests</build.profile.id>
189                 <skip.unit.tests>false</skip.unit.tests>
190             </properties>
191         </profile>
192     </profiles>
193     <build>
194         <finalName>ROOT</finalName>
195         <plugins>
196             <!-- Used for unit tests -->
197             <plugin>
198                 <groupId>org.apache.maven.plugins</groupId>
199                 <artifactId>maven-surefire-plugin</artifactId>
200                 <version>2.20</version>
201                 <configuration>
202                     <forkMode>always</forkMode>
203                     <argLine>${surefireArgLine}</argLine>
204                     <skip>${maven.test.skip}</skip>
205                     <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
206                     <!-- Excludes integration tests when unit tests are run. -->
207                     <excludes>
208                         <exclude>**/IT*.java</exclude>
209                     </excludes>
210                 </configuration>
211             </plugin>
212             <plugin>
213                 <groupId>com.googlecode.maven-download-plugin</groupId>
214                 <artifactId>download-maven-plugin</artifactId>
215                 <version>1.2.1</version>
216                 <executions>
217                     <execution>
218                         <id>swagger-ui</id>
219                         <goals>
220                             <goal>wget</goal>
221                         </goals>
222                         <configuration>
223                             <url>https://github.com/swagger-api/swagger-ui/archive/master.tar.gz</url>
224                             <unpack>true</unpack>
225                             <outputDirectory>${project.build.directory}</outputDirectory>
226                         </configuration>
227                     </execution>
228                 </executions>
229             </plugin>
230         </plugins>
231     </build>
232 </project>