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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.msb.java-sdk</groupId>
7 <artifactId>msb-java-sdk-example</artifactId>
8 <name>msb-java-sdk-example</name>
9 <version>1.2.0-SNAPSHOT</version>
10 <packaging>jar</packaging>
14 <groupId>org.onap.msb.java-sdk</groupId>
15 <artifactId>msb-java-sdk</artifactId>
16 <version>1.2.5</version>
19 <groupId>io.dropwizard</groupId>
20 <artifactId>dropwizard-core</artifactId>
21 <version>1.2.4</version>
27 <artifactId>maven-compiler-plugin</artifactId>
35 <groupId>org.codehaus.mojo</groupId>
36 <artifactId>properties-maven-plugin</artifactId>
37 <version>1.0.0</version>
40 <phase>initialize</phase>
42 <goal>read-project-properties</goal>
46 <file>${basedir}/src/main/resources/swagger.properties</file>
53 <groupId>com.github.kongchen</groupId>
54 <artifactId>swagger-maven-plugin</artifactId>
55 <version>3.1.4</version>
59 <locations>${api-rest-package}</locations>
60 <schemes>http,https</schemes>
61 <host>${api-host-ip}:${api-host-port}</host>
62 <basePath>${api-base-path}</basePath>
64 <title>${api-title}</title>
65 <version>${api-version}</version>
66 <description>${api-description}</description>
68 <name>${api-license}</name>
71 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
77 <phase>compile</phase>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-install-plugin</artifactId>
87 <version>2.3.1</version>
90 <id>install-file-id</id>
91 <phase>install</phase>
93 <goal>install-file</goal>
96 <file>${basedir}/src/main/resources/swagger.json</file>
97 <groupId>${project.groupId}</groupId>
98 <artifactId>${project.artifactId}-swagger-schema</artifactId>
99 <version>${project.version}</version>
100 <packaging>json</packaging>