Added VNFM Simulator project
[so.git] / vnfm-simulator / vnfm-api / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <groupId>org.onap.so.vnfm</groupId>
6         <artifactId>vnfm-simulator</artifactId>
7        <version>1.4.0-SNAPSHOT</version>
8     </parent>
9     <artifactId>vnfm-api</artifactId>
10     <name>${project.artifactId}</name>
11     <properties>
12         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14         <maven.compiler.source>1.8</maven.compiler.source>
15         <maven.compiler.target>1.8</maven.compiler.target>
16         <gson-fire-version>1.8.2</gson-fire-version>
17         <retrofit-version>2.3.0</retrofit-version>
18         <threetenbp-version>1.3.5</threetenbp-version>
19         <rxjava-version>2.0.0-RC1</rxjava-version>
20         <oltu-version>1.0.1</oltu-version>
21         <swagger-core-version>1.5.15</swagger-core-version>
22         <gson-version>2.8.5</gson-version>
23     </properties>
24     <description>VNFM Simulator adapter API</description>
25
26     <build>
27         <plugins>
28             <plugin>
29                 <groupId>io.swagger</groupId>
30                 <artifactId>swagger-codegen-maven-plugin</artifactId>
31                 <version>2.3.1</version>
32                 <executions>
33                     <execution>
34                         <id>vnfmsimulator</id>
35                         <phase>generate-sources</phase>
36                         <goals>
37                             <goal>generate</goal>
38                         </goals>
39                         <configuration>
40                             <inputSpec>${basedir}/src/main/resources/vnfm-sim-swagger.yaml</inputSpec>
41                             <language>java</language>
42                             <library>retrofit2</library>
43                             <output>${project.build.directory}/generated-sources/vnfmsimulator</output>
44                             <apiPackage>org.onap.vnfm.v1.api</apiPackage>
45                             <modelPackage>org.onap.vnfm.v1.model</modelPackage>
46                             <configOptions>
47                                 <jackson>true</jackson>
48                                 <sourceFolder>src/gen/java/main</sourceFolder>
49                                 <withXml>true</withXml>
50                                 <useRxJava2>true</useRxJava2>
51                             </configOptions>
52                         </configuration>
53                     </execution>
54                 </executions>
55             </plugin>
56         </plugins>
57     </build>
58     <dependencies>
59         <dependency>
60             <groupId>io.swagger</groupId>
61             <artifactId>swagger-annotations</artifactId>
62             <version>${swagger-core-version}</version>
63         </dependency>
64         <dependency>
65             <groupId>com.squareup.retrofit2</groupId>
66             <artifactId>converter-gson</artifactId>
67             <version>${retrofit-version}</version>
68         </dependency>
69         <dependency>
70             <groupId>com.squareup.retrofit2</groupId>
71             <artifactId>retrofit</artifactId>
72             <version>${retrofit-version}</version>
73         </dependency>
74         <dependency>
75             <groupId>com.squareup.retrofit2</groupId>
76             <artifactId>converter-scalars</artifactId>
77             <version>${retrofit-version}</version>
78         </dependency>
79         <dependency>
80             <groupId>org.apache.oltu.oauth2</groupId>
81             <artifactId>org.apache.oltu.oauth2.client</artifactId>
82             <version>${oltu-version}</version>
83         </dependency>
84         <dependency>
85             <groupId>io.gsonfire</groupId>
86             <artifactId>gson-fire</artifactId>
87             <version>${gson-fire-version}</version>
88         </dependency>
89         <dependency>
90             <groupId>org.threeten</groupId>
91             <artifactId>threetenbp</artifactId>
92             <version>${threetenbp-version}</version>
93         </dependency>
94         <dependency>
95             <groupId>io.reactivex.rxjava2</groupId>
96             <artifactId>rxjava</artifactId>
97             <version>${rxjava-version}</version>
98         </dependency>
99         <dependency>
100             <groupId>com.squareup.retrofit2</groupId>
101             <artifactId>adapter-rxjava2</artifactId>
102             <version>${retrofit-version}</version>
103         </dependency>
104         <dependency>
105             <groupId>com.google.code.gson</groupId>
106             <artifactId>gson</artifactId>
107             <version>${gson-version}</version>
108         </dependency>
109     </dependencies>
110 </project>