1 <?xml version="1.0" encoding="UTF-8"?>
2 <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/maven-v4_0_0.xsd">
4 <artifactId>apiroute-parent</artifactId>
5 <groupId>org.onap.msb.apigateway.apiroute</groupId>
6 <version>1.0.0-SNAPSHOT</version>
8 <modelVersion>4.0.0</modelVersion>
9 <groupId>org.onap.msb.apigateway.apiroute</groupId>
10 <artifactId>apiroute-service</artifactId>
11 <name>onap/msb/apigateway/apiroute/apiroute-service</name>
12 <version>1.0.0-SNAPSHOT</version>
16 <directory>src/main/java</directory>
18 <include>**/*.properties</include>
22 <directory>src/main/resources</directory>
27 <artifactId>maven-jar-plugin</artifactId>
28 <version>2.4</version>
32 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
38 <artifactId>maven-shade-plugin</artifactId>
39 <version>2.3</version>
42 <phase>package</phase>
50 <mainClass>org.onap.msb.apiroute.ApiRouteApp</mainClass>
57 <createDependencyReducedPom>true</createDependencyReducedPom>
60 <artifact>*:*</artifact>
62 <exclude>META-INF/*.SF</exclude>
63 <exclude>META-INF/*.DSA</exclude>
64 <exclude>META-INF/*.RSA</exclude>
71 <groupId>org.codehaus.mojo</groupId>
72 <artifactId>properties-maven-plugin</artifactId>
73 <version>1.0.0</version>
76 <phase>initialize</phase>
78 <goal>read-project-properties</goal>
82 <file>${basedir}/src/main/resources/swagger.properties</file>
89 <groupId>com.github.kongchen</groupId>
90 <artifactId>swagger-maven-plugin</artifactId>
91 <version>3.1.4</version>
94 <phase>compile</phase>
103 <locations>${api-rest-package}</locations>
104 <schemes>http,https</schemes>
105 <host>${api-host-ip}:${api-host-port}</host>
106 <basePath>${api-base-path}</basePath>
108 <title>${api-title}</title>
109 <version>${api-version}</version>
110 <description>${api-description}</description>
112 <name>${api-license}</name>
115 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
121 <artifactId>maven-install-plugin</artifactId>
122 <version>2.3.1</version>
125 <id>install-file-id</id>
126 <phase>install</phase>
128 <goal>install-file</goal>
131 <file>${basedir}/src/main/resources/swagger.json</file>
132 <groupId>${project.groupId}</groupId>
133 <artifactId>${project.artifactId}-swagger-schema</artifactId>
134 <version>${project.version}</version>
135 <packaging>json</packaging>
144 <groupId>junit</groupId>
145 <artifactId>junit</artifactId>
146 <version>4.11</version>
150 <artifactId>hamcrest-core</artifactId>
151 <groupId>org.hamcrest</groupId>
156 <groupId>org.powermock</groupId>
157 <artifactId>powermock-module-junit4</artifactId>
158 <version>1.6.6</version>
162 <artifactId>powermock-module-junit4-common</artifactId>
163 <groupId>org.powermock</groupId>
168 <groupId>org.powermock</groupId>
169 <artifactId>powermock-api-mockito</artifactId>
170 <version>1.6.6</version>
174 <artifactId>mockito-core</artifactId>
175 <groupId>org.mockito</groupId>
178 <artifactId>powermock-api-mockito-common</artifactId>
179 <groupId>org.powermock</groupId>
182 <artifactId>hamcrest-core</artifactId>
183 <groupId>org.hamcrest</groupId>
188 <groupId>com.fiftyonred</groupId>
189 <artifactId>mock-jedis</artifactId>
190 <version>0.4.0</version>