[MSB]Bump apigateway version to 1.5.0
[msb/apigateway.git] / apiroute / apiroute-service / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE) 
3         Licensed under the Apache License, Version 2.0 (the "License"); you may not 
4         use this file except in compliance with the License. You may obtain a copy 
5         of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
6         by applicable law or agreed to in writing, software distributed under the 
7         License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
8         OF ANY KIND, either express or implied. See the License for the specific 
9         language governing permissions and limitations under the License. -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12         <parent>
13                 <groupId>org.onap.msb.apigateway.apiroute</groupId>
14                 <artifactId>apiroute-parent</artifactId>
15                 <version>1.5.0-SNAPSHOT</version>
16         </parent>
17         <modelVersion>4.0.0</modelVersion>
18         <groupId>org.onap.msb.apigateway.apiroute</groupId>
19         <artifactId>apiroute-service</artifactId>
20         <name>onap/msb/apigateway/apiroute/apiroute-service</name>
21         <packaging>jar</packaging>
22         <version>1.5.0-SNAPSHOT</version>
23
24
25         <dependencies>
26             <dependency>
27             <groupId>org.javassist</groupId>
28             <artifactId>javassist</artifactId>
29             <version>3.23.1-GA</version>
30         </dependency>
31                 <dependency>
32                         <groupId>io.dropwizard</groupId>
33                         <artifactId>dropwizard-core</artifactId>
34                 </dependency>
35                 <dependency>
36                         <groupId>io.dropwizard</groupId>
37                         <artifactId>dropwizard-assets</artifactId>
38                 </dependency>
39                 <dependency>
40                         <groupId>io.dropwizard</groupId>
41                         <artifactId>dropwizard-client</artifactId>
42                 </dependency>
43                 <!-- add by wangyg:增加redis的java客户端jedis依赖 -->
44                 <dependency>
45                         <groupId>redis.clients</groupId>
46                         <artifactId>jedis</artifactId>
47                 </dependency>
48                 <dependency>
49                         <groupId>org.projectlombok</groupId>
50                         <artifactId>lombok</artifactId>
51                 </dependency>
52
53                 <dependency>
54                         <groupId>junit</groupId>
55                         <artifactId>junit</artifactId>
56                         <scope>test</scope>
57                 </dependency>
58                 <dependency>
59                         <groupId>org.powermock</groupId>
60                         <artifactId>powermock-module-junit4</artifactId>
61                         <version>2.0.0</version>
62                         <scope>test</scope>
63                 </dependency>
64
65                 <dependency>
66                         <groupId>org.powermock</groupId>
67                         <artifactId>powermock-api-mockito2</artifactId>
68                         <version>2.0.0</version>
69                         <scope>test</scope>
70                 </dependency>
71                 <dependency>
72                         <groupId>com.orbitz.consul</groupId>
73                         <artifactId>consul-client</artifactId>
74                 </dependency>
75
76                 <dependency>
77                         <groupId>com.fasterxml.jackson.core</groupId>
78                         <artifactId>jackson-databind</artifactId>
79                 </dependency>
80
81                 <dependency>
82                         <groupId>com.fasterxml.jackson.core</groupId>
83                         <artifactId>jackson-core</artifactId>
84                 </dependency>
85
86                 <dependency>
87                         <groupId>com.fasterxml.jackson.core</groupId>
88                         <artifactId>jackson-annotations</artifactId>
89                 </dependency>
90
91                 <dependency>
92                         <groupId>org.apache.httpcomponents</groupId>
93                         <artifactId>httpasyncclient</artifactId>
94                 </dependency>
95
96                 <dependency>
97                         <groupId>org.immutables</groupId>
98                         <artifactId>value</artifactId>
99                         <scope>compile</scope>
100                 </dependency>
101
102                 <dependency>
103                         <groupId>com.fiftyonred</groupId>
104                         <artifactId>mock-jedis</artifactId>
105                 </dependency>
106
107                 <dependency>
108                         <groupId>commons-io</groupId>
109                         <artifactId>commons-io</artifactId>
110                 </dependency>
111
112                 <dependency>
113                         <groupId>org.onap.msb.swagger-sdk</groupId>
114                         <artifactId>swagger-sdk</artifactId>
115                         <version>1.1.0</version>
116                         <exclusions>
117                                 <exclusion>
118                                         <groupId>org.slf4j</groupId>
119                                         <artifactId>slf4j-log4j12</artifactId>
120                                 </exclusion>
121                                 <exclusion>
122                                         <groupId>commons-beanutils</groupId>
123                                         <artifactId>commons-beanutils</artifactId>
124                                 </exclusion>
125                                 <exclusion>
126                                         <groupId>commons-collections</groupId>
127                                         <artifactId>commons-collections</artifactId>
128                                 </exclusion>
129                                 <exclusion>
130                                         <groupId>org.springframework</groupId>
131                                         <artifactId>spring-core</artifactId>
132                                 </exclusion>
133                         </exclusions>
134                 </dependency>
135
136         </dependencies>
137         <build>
138                 <plugins>
139                         <plugin>
140                                 <groupId>org.apache.maven.plugins</groupId>
141                                 <artifactId>maven-jar-plugin</artifactId>
142                                 <version>2.4</version>
143                                 <configuration>
144                                         <archive>
145                                                 <manifest>
146                                                         <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
147                                                 </manifest>
148                                         </archive>
149                                 </configuration>
150                         </plugin>
151                         <plugin>
152                                 <groupId>org.apache.maven.plugins</groupId>
153                                 <artifactId>maven-shade-plugin</artifactId>
154                                 <version>2.3</version>
155                                 <configuration>
156                                         <createDependencyReducedPom>true</createDependencyReducedPom>
157                                         <filters>
158                                                 <filter>
159                                                         <artifact>*:*</artifact>
160                                                         <excludes>
161                                                                 <exclude>META-INF/*.SF</exclude>
162                                                                 <exclude>META-INF/*.DSA</exclude>
163                                                                 <exclude>META-INF/*.RSA</exclude>
164                                                         </excludes>
165                                                 </filter>
166                                         </filters>
167                                 </configuration>
168                                 <executions>
169                                         <execution>
170                                                 <phase>package</phase>
171                                                 <goals>
172                                                         <goal>shade</goal>
173                                                 </goals>
174                                                 <configuration>
175                                                         <transformers>
176                                                                 <transformer
177                                                                         implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
178                                                                 <transformer
179                                                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
180                                                                         <mainClass>org.onap.msb.apiroute.ApiRouteApp</mainClass>
181                                                                 </transformer>
182                                                         </transformers>
183                                                 </configuration>
184                                         </execution>
185                                 </executions>
186                         </plugin>
187                         <plugin>
188                                 <groupId>org.apache.maven.plugins</groupId>
189                                 <artifactId>maven-clean-plugin</artifactId>
190                                 <version>3.0.0</version>
191                                 <executions>
192                                         <execution>
193                                                 <id>clean-generated-files</id>
194                                                 <phase>generate-sources</phase>
195                                                 <goals>
196                                                         <goal>clean</goal>
197                                                 </goals>
198                                                 <configuration>
199                                                         <filesets>
200                                                                 <fileset>
201                                                                         <directory>${project.build.directory}/generated-sources</directory>
202                                                                 </fileset>
203                                                         </filesets>
204                                                 </configuration>
205                                         </execution>
206                                 </executions>
207                         </plugin>
208                 </plugins>
209                 <resources>
210                         <resource>
211                                 <directory>src/main/java</directory>
212                                 <includes>
213                                         <include>**/*.properties</include>
214                                 </includes>
215                         </resource>
216                         <resource>
217                                 <directory>src/main/resources</directory>
218                         </resource>
219                 </resources>
220         </build>
221 </project>