blob: ab524ca80841a791c9693e48c6e5ed7f028bbcf9 [file] [log] [blame]
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -04001<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>
seshukmb9af26a2020-02-26 19:30:17 +08007 <version>1.6.0-SNAPSHOT</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -04008 </parent>
9 <artifactId>mso-vnfm-adapter-ext-clients</artifactId>
10 <properties>
11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
13 <swagger-core-version>1.5.15</swagger-core-version>
14 <okhttp-version>2.7.5</okhttp-version>
15 <gson-fire-version>1.8.2</gson-fire-version>
16 <threetenbp-version>1.3.5</threetenbp-version>
17 <retrofit2-version>2.4.0</retrofit2-version>
18 <okhttp3-version>3.14.0</okhttp3-version>
19 <oltu-version>1.0.1</oltu-version>
20 </properties>
21 <name>mso-vnfm-adapter-ext-clients</name>
22 <description>Clients for the vnfm adpater to use towards REST endpoints which are external to the VNFM adapter/</description>
MichaelMorris44a205e2019-04-02 13:46:47 +000023
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040024 <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>sol003-vnf-lcm-api</id>
33 <goals>
34 <goal>generate</goal>
35 </goals>
36 <configuration>
37 <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleManagement-API.json</inputSpec>
38 <language>java</language>
39 <library>okhttp-gson</library>
40 <output>${project.build.directory}/generated-sources/sol003-vnf-lcm</output>
41 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.api</apiPackage>
42 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.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-vnf-lcn-api</id>
54 <goals>
55 <goal>generate</goal>
56 </goals>
57 <configuration>
58 <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleManagementNotification-API.json</inputSpec>
59 <language>java</language>
60 <library>okhttp-gson</library>
61 <output>${project.build.directory}/generated-sources/sol003-vnf-lcn</output>
62 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.api</apiPackage>
63 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.lcn.model</modelPackage>
64 <configOptions>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040065 <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>sol003-vnf-grant-api</id>
74 <goals>
75 <goal>generate</goal>
76 </goals>
77 <configuration>
rope252fc06fdb2019-11-06 14:59:58 +000078 <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleOperationGranting-API.json</inputSpec>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040079 <language>java</language>
MichaelMorrisdf6508f2019-04-25 11:31:45 +000080 <library>okhttp-gson</library>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040081 <output>${project.build.directory}/generated-sources/sol003-vnf-grant</output>
MichaelMorrisdf6508f2019-04-25 11:31:45 +000082 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.api</apiPackage>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040083 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.grant.model</modelPackage>
84 <configOptions>
85 <generateSupportingFiles>false</generateSupportingFiles>
86 <sourceFolder>src/gen/java/main</sourceFolder>
87 <withXml>true</withXml>
88 <useRxJava2>true</useRxJava2>
MichaelMorrisdf6508f2019-04-25 11:31:45 +000089 <serializableModel>true</serializableModel>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040090 </configOptions>
91 </configuration>
92 </execution>
rope252fc06fdb2019-11-06 14:59:58 +000093 <execution>
94 <id>sol003-vnf-packagemanagement-api</id>
95 <goals>
96 <goal>generate</goal>
97 </goals>
98 <configuration>
99 <inputSpec>${basedir}/src/main/resources/SOL003-VNFPackageManagement-API.json</inputSpec>
100 <language>java</language>
101 <library>okhttp-gson</library>
102 <output>${project.build.directory}/generated-sources/sol003-vnf-packagemanagement</output>
103 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.packagemanagement.api</apiPackage>
104 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.packagemanagement.model</modelPackage>
105 <configOptions>
106 <sourceFolder>src/gen/java/main</sourceFolder>
107 <withXml>true</withXml>
108 <useRxJava2>true</useRxJava2>
109 <serializableModel>true</serializableModel>
110 </configOptions>
111 </configuration>
112 </execution>
rope252381f8802019-11-29 12:50:21 +0000113 <execution>
114 <id>etsicatalog-api</id>
115 <goals>
116 <goal>generate</goal>
117 </goals>
118 <configuration>
119 <inputSpec>${basedir}/src/main/resources/ETSI-Catalog-API.json</inputSpec>
120 <language>java</language>
121 <library>okhttp-gson</library>
122 <output>${project.build.directory}/generated-sources/etsicatalog</output>
123 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.etsicatalog.api</apiPackage>
124 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.etsicatalog.model</modelPackage>
125 <configOptions>
126 <sourceFolder>src/gen/java/main</sourceFolder>
127 <withXml>true</withXml>
128 <useRxJava2>true</useRxJava2>
129 <serializableModel>true</serializableModel>
130 </configOptions>
131 </configuration>
132 </execution>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400133 </executions>
134 </plugin>
Benjamin, Max26275322020-03-16 10:09:29 -0400135 <plugin>
136 <groupId>org.codehaus.mojo</groupId>
137 <artifactId>build-helper-maven-plugin</artifactId>
138 <executions>
139 <execution>
140 <id>add-source</id>
141 <phase>generate-sources</phase>
142 <goals>
143 <goal>add-source</goal>
144 </goals>
145 <configuration>
146 <sources>
147 <source>${project.basedir}/target/generated-sources/etsicatalog/src/gen/java/main</source>
148 <source>${project.basedir}/target/generated-sources/sol003-vnf-packagemanagement/src/gen/java/main</source>
149 <source>${project.basedir}/target/generated-sources/sol003-vnf-grant/src/gen/java/main</source>
150 <source>${project.basedir}/target/generated-sources/sol003-vnf-lcn/src/gen/java/main</source>
151 <source>${project.basedir}/target/generated-sources/sol003-vnf-lcm/src/gen/java/main</source>
152
153 </sources>
154 </configuration>
155 </execution>
156 </executions>
157 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400158 </plugins>
Benjamin, Max168f9dd2020-03-17 14:27:16 -0400159 <pluginManagement>
160 <plugins>
161 <plugin>
162 <groupId>org.eclipse.m2e</groupId>
163 <artifactId>lifecycle-mapping</artifactId>
164 <version>1.0.0</version>
165 <configuration>
166 <lifecycleMappingMetadata>
167 <pluginExecutions>
168 <pluginExecution>
169 <pluginExecutionFilter>
170 <groupId>io.swagger</groupId>
171 <artifactId>swagger-codegen-maven-plugin</artifactId>
172 <goals>
173 <goal>generate</goal>
174 </goals>
175 <versionRange>[2.2.0,)</versionRange>
176 </pluginExecutionFilter>
177 <action>
178 <execute>
179 <runOnIncremental>false</runOnIncremental>
180 </execute>
181 </action>
182 </pluginExecution>
183 </pluginExecutions>
184 </lifecycleMappingMetadata>
185 </configuration>
186 </plugin>
187 </plugins>
188 </pluginManagement>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400189 </build>
MichaelMorris44a205e2019-04-02 13:46:47 +0000190
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400191 <dependencies>
192 <dependency>
193 <groupId>io.swagger</groupId>
194 <artifactId>swagger-annotations</artifactId>
195 <version>${swagger-core-version}</version>
196 </dependency>
197 <dependency>
198 <groupId>com.squareup.okhttp</groupId>
199 <artifactId>okhttp</artifactId>
200 <version>${okhttp-version}</version>
201 </dependency>
202 <dependency>
203 <groupId>com.squareup.okhttp</groupId>
204 <artifactId>logging-interceptor</artifactId>
205 <version>${okhttp-version}</version>
206 </dependency>
207 <dependency>
208 <groupId>com.google.code.gson</groupId>
209 <artifactId>gson</artifactId>
210 </dependency>
211 <dependency>
212 <groupId>io.gsonfire</groupId>
213 <artifactId>gson-fire</artifactId>
214 <version>${gson-fire-version}</version>
215 </dependency>
216 <dependency>
217 <groupId>org.threeten</groupId>
218 <artifactId>threetenbp</artifactId>
219 <version>${threetenbp-version}</version>
220 </dependency>
221 <dependency>
222 <groupId>junit</groupId>
223 <artifactId>junit</artifactId>
224 <version>4.12</version>
225 <!-- the test code is generated into the main source code :( -->
226 <scope>provided</scope>
227 </dependency>
228 <dependency>
229 <groupId>com.squareup.retrofit2</groupId>
230 <artifactId>converter-gson</artifactId>
231 <version>${retrofit2-version}</version>
232 </dependency>
233 <dependency>
234 <groupId>com.squareup.retrofit2</groupId>
235 <artifactId>retrofit</artifactId>
236 <version>${retrofit2-version}</version>
237 </dependency>
238 <dependency>
239 <groupId>com.squareup.retrofit2</groupId>
240 <artifactId>converter-scalars</artifactId>
241 <version>${retrofit2-version}</version>
242 </dependency>
243 <dependency>
244 <groupId>com.squareup.retrofit2</groupId>
245 <artifactId>adapter-rxjava2</artifactId>
246 <version>${retrofit2-version}</version>
247 </dependency>
248 <dependency>
249 <groupId>com.squareup.okhttp3</groupId>
250 <artifactId>okhttp</artifactId>
251 <version>${okhttp3-version}</version>
252 </dependency>
253 <dependency>
254 <groupId>com.squareup.okhttp3</groupId>
255 <artifactId>logging-interceptor</artifactId>
256 <version>${okhttp3-version}</version>
257 </dependency>
258 <dependency>
259 <groupId>com.squareup.okhttp</groupId>
260 <artifactId>logging-interceptor</artifactId>
261 <version>${okhttp-version}</version>
262 </dependency>
rope2528105de42019-04-09 18:20:13 +0000263
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400264 <!-- Will clean these dependencies before commit From here-->
265 <dependency>
266 <groupId>org.apache.oltu.oauth2</groupId>
267 <artifactId>org.apache.oltu.oauth2.client</artifactId>
268 <version>${oltu-version}</version>
269 </dependency>
270 <dependency>
271 <groupId>org.apache.oltu.oauth2</groupId>
272 <artifactId>org.apache.oltu.oauth2.common</artifactId>
273 <version>${oltu-version}</version>
274 </dependency>
275 <dependency>
276 <groupId>org.apache.oltu.oauth2</groupId>
277 <artifactId>org.apache.oltu.oauth2.client</artifactId>
278 <version>${oltu-version}</version>
279 </dependency>
280 <dependency>
281 <groupId>org.apache.oltu.oauth2</groupId>
282 <artifactId>org.apache.oltu.oauth2.httpclient4</artifactId>
283 <version>${oltu-version}</version>
284 </dependency>
285 <dependency>
286 <groupId>org.apache.oltu.oauth2</groupId>
287 <artifactId>org.apache.oltu.oauth2.dynamicreg.client</artifactId>
288 <version>${oltu-version}</version>
289 </dependency>
290 <dependency>
291 <groupId>org.apache.oltu.oauth2</groupId>
292 <artifactId>org.apache.oltu.oauth2.dynamicreg.common</artifactId>
293 <version>${oltu-version}</version>
294 </dependency>
295 <dependency>
296 <groupId>org.apache.oltu.oauth2</groupId>
297 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
298 <version>${oltu-version}</version>
299 </dependency>
300 <dependency>
301 <groupId>org.apache.oltu.oauth2</groupId>
302 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
303 <version>${oltu-version}</version>
304 </dependency>
305 <dependency>
306 <groupId>org.apache.oltu.oauth2</groupId>
307 <artifactId>org.apache.oltu.oauth2.resourceserver-filter</artifactId>
308 <version>${oltu-version}</version>
309 </dependency>
310 <dependency>
311 <groupId>org.apache.oltu.oauth2</groupId>
312 <artifactId>org.apache.oltu.oauth2.dynamicreg.server</artifactId>
313 <version>${oltu-version}</version>
314 </dependency>
315 <dependency>
316 <groupId>org.apache.oltu.oauth2</groupId>
317 <artifactId>org.apache.oltu.oauth2.jwt</artifactId>
318 <version>${oltu-version}</version>
319 </dependency>
320 <!-- To here-->
rope2528105de42019-04-09 18:20:13 +0000321
322
323
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400324 </dependencies>
MichaelMorris8aeffa02019-03-13 17:24:42 +0000325</project>