bf293e5f4bd99bf55a988449baa9cf2f10ab3653
[so.git] / adapters / mso-vnfm-adapter / mso-vnfm-adapter-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.adapters</groupId>
6     <artifactId>mso-vnfm-adapter</artifactId>
7     <version>1.4.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>mso-vnfm-adapter-api</artifactId>
10   <properties>
11     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
13     <gson-fire-version>1.8.2</gson-fire-version>
14     <retrofit-version>2.3.0</retrofit-version>
15     <threetenbp-version>1.3.5</threetenbp-version>
16     <oltu-version>1.0.1</oltu-version>
17     <swagger-core-version>1.5.15</swagger-core-version>
18     <okhttp3-version>3.14.0</okhttp3-version>
19     <okhttp-version>2.7.5</okhttp-version>
20   </properties>
21   <name>mso-vnfm-adapter-api</name>
22   <description>MSO VNFM adapter API</description>
23
24   <build>
25     <plugins>
26       <plugin>
27         <groupId>io.swagger</groupId>
28         <artifactId>swagger-codegen-maven-plugin</artifactId>
29         <version>2.3.1</version>
30         <executions>
31           <execution>
32             <id>vnfmadapter</id>
33             <goals>
34               <goal>generate</goal>
35             </goals>
36             <configuration>
37               <inputSpec>${basedir}/src/main/resources/vnfmadapter.yaml</inputSpec>
38               <language>java</language>
39               <library>retrofit2</library>
40               <output>${project.build.directory}/generated-sources/vnfmadapter</output>
41               <apiPackage>org.onap.vnfmadapter.v1.api</apiPackage>
42               <modelPackage>org.onap.vnfmadapter.v1.model</modelPackage>
43               <configOptions>
44                 <jackson>true</jackson>
45                 <sourceFolder>src/gen/java/main</sourceFolder>
46                 <withXml>true</withXml>
47                 <useRxJava2>true</useRxJava2>
48                 <serializableModel>true</serializableModel>
49               </configOptions>
50             </configuration>
51           </execution>
52           <execution>
53             <id>sol003-packagemanagement-notification-api</id>
54             <goals>
55               <goal>generate</goal>
56             </goals>
57             <configuration>
58               <inputSpec>${basedir}/src/main/resources/SOL003-VNFPackageManagement-Notification-API.json</inputSpec>
59               <language>java</language>
60               <library>okhttp-gson</library>
61               <output>${project.build.directory}/generated-sources/sol003-vnf-packagemanagement/notification</output>
62               <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.packagemanagement.notification.api</apiPackage>
63               <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.packagemanagement.notification.model</modelPackage>
64               <configOptions>
65                 <sourceFolder>src/gen/java/main</sourceFolder>
66                 <withXml>true</withXml>
67                 <useRxJava2>true</useRxJava2>
68                 <serializableModel>true</serializableModel>
69               </configOptions>
70             </configuration>
71           </execution>
72           <execution>
73             <id>etsicatalog-notification-api</id>
74             <goals>
75               <goal>generate</goal>
76             </goals>
77             <configuration>
78               <inputSpec>${basedir}/src/main/resources/ETSI-Catalog-Notification-API.json</inputSpec>
79               <language>java</language>
80               <library>okhttp-gson</library>
81               <output>${project.build.directory}/generated-sources/etsicatalog/notification</output>
82               <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.etsicatalog.notification.api</apiPackage>
83               <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.etsicatalog.notification.model</modelPackage>
84               <configOptions>
85                 <sourceFolder>src/gen/java/main</sourceFolder>
86                 <withXml>true</withXml>
87                 <useRxJava2>true</useRxJava2>
88                 <serializableModel>true</serializableModel>
89               </configOptions>
90             </configuration>
91           </execution>
92         </executions>
93       </plugin>
94     </plugins>
95   </build>
96   <dependencies>
97     <dependency>
98       <groupId>io.swagger</groupId>
99       <artifactId>swagger-annotations</artifactId>
100       <version>${swagger-core-version}</version>
101     </dependency>
102     <dependency>
103       <groupId>com.squareup.retrofit2</groupId>
104       <artifactId>converter-gson</artifactId>
105       <version>${retrofit-version}</version>
106     </dependency>
107     <dependency>
108       <groupId>com.squareup.retrofit2</groupId>
109       <artifactId>retrofit</artifactId>
110       <version>${retrofit-version}</version>
111     </dependency>
112     <dependency>
113       <groupId>com.squareup.retrofit2</groupId>
114       <artifactId>converter-scalars</artifactId>
115       <version>${retrofit-version}</version>
116     </dependency>
117     <dependency>
118       <groupId>org.apache.oltu.oauth2</groupId>
119       <artifactId>org.apache.oltu.oauth2.client</artifactId>
120       <version>${oltu-version}</version>
121     </dependency>
122     <dependency>
123       <groupId>io.gsonfire</groupId>
124       <artifactId>gson-fire</artifactId>
125       <version>${gson-fire-version}</version>
126     </dependency>
127     <dependency>
128       <groupId>org.threeten</groupId>
129       <artifactId>threetenbp</artifactId>
130       <version>${threetenbp-version}</version>
131     </dependency>
132     <dependency>
133       <groupId>io.reactivex.rxjava2</groupId>
134       <artifactId>rxjava</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>com.squareup.retrofit2</groupId>
138       <artifactId>adapter-rxjava2</artifactId>
139       <version>${retrofit-version}</version>
140     </dependency>
141     <dependency>
142       <groupId>com.google.code.gson</groupId>
143       <artifactId>gson</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>com.squareup.okio</groupId>
147       <artifactId>okio</artifactId>
148       <version>1.13.0</version>
149     </dependency>
150     <dependency>
151       <groupId>com.squareup.okhttp3</groupId>
152       <artifactId>okhttp</artifactId>
153       <version>${okhttp3-version}</version>
154     </dependency>
155     <dependency>
156       <groupId>com.squareup.okhttp3</groupId>
157       <artifactId>logging-interceptor</artifactId>
158       <version>${okhttp3-version}</version>
159     </dependency>
160     <dependency>
161       <groupId>com.squareup.okhttp</groupId>
162       <artifactId>logging-interceptor</artifactId>
163       <version>${okhttp-version}</version>
164     </dependency>
165     <dependency>
166       <groupId>com.squareup.okhttp</groupId>
167       <artifactId>okhttp</artifactId>
168       <version>${okhttp-version}</version>
169     </dependency>
170     <dependency>
171       <groupId>com.squareup.okhttp</groupId>
172       <artifactId>logging-interceptor</artifactId>
173       <version>${okhttp-version}</version>
174     </dependency>
175     <dependency>
176       <groupId>junit</groupId>
177       <artifactId>junit</artifactId>
178     </dependency>
179   </dependencies>
180 </project>