Merge "Fix some security vulnerabilities"
[vfc/nfvo/driver/vnfm/svnfm.git] / nokiav2 / generatedapis / pom.xml
1 <?xml version="1.0"?>
2 <!--
3     Copyright 2017 Nokia Corporation.
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9             http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16 -->
17 <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/xsd/maven-4.0.0.xsd">
18   <parent>
19     <groupId>org.onap.vfc.nfvo.driver.vnfm.svnfm.nokiav2</groupId>
20     <artifactId>vfc-nfvo-driver-vnfm-svnfm-nokiav2</artifactId>
21     <version>1.1.0-SNAPSHOT</version>
22   </parent>
23   <modelVersion>4.0.0</modelVersion>
24   <groupId>org.onap.vfc.nfvo.driver.vnfm.svnfm.nokiav2</groupId>
25   <artifactId>vfc-nfvo-driver-vnfm-svnfm-nokiav2-clients</artifactId>
26   <version>1.1.0-SNAPSHOT</version>
27   <packaging>jar</packaging>
28   <name>vfc/nfvo/driver/vnfm/svnfm/nokiav2/generatedapis</name>
29   <properties>
30     <gson-fire-version>1.8.2</gson-fire-version>
31     <retrofit-version>2.3.0</retrofit-version>
32     <rxjava-version>2.0.0</rxjava-version>
33     <threetenbp-version>1.3.5</threetenbp-version>
34     <oltu-version>1.0.1</oltu-version>
35     <swagger-core-version>1.5.15</swagger-core-version>
36   </properties>
37   <build>
38     <plugins>
39       <plugin>
40         <groupId>io.swagger</groupId>
41         <artifactId>swagger-codegen-maven-plugin</artifactId>
42         <version>2.3.1</version>
43         <executions>
44           <execution>
45             <id>cbamlcm</id>
46             <goals>
47               <goal>generate</goal>
48             </goals>
49             <configuration>
50               <inputSpec>${basedir}/src/main/resources/nokia.vnfm.api.v3.lcm.json</inputSpec>
51               <language>java</language>
52               <library>retrofit2</library>
53               <output>${project.build.directory}/generated-sources/cbam</output>
54               <apiPackage>com.nokia.cbam.lcm.v32.api</apiPackage>
55               <modelPackage>com.nokia.cbam.lcm.v32.model</modelPackage>
56               <configOptions>
57                 <jackson>true</jackson>
58                 <sourceFolder>src/gen/java/main</sourceFolder>
59                 <withXml>true</withXml>
60                 <useRxJava2>true</useRxJava2>
61               </configOptions>
62             </configuration>
63           </execution>
64           <execution>
65             <id>cbamlcn</id>
66             <goals>
67               <goal>generate</goal>
68             </goals>
69             <configuration>
70               <inputSpec>${basedir}/src/main/resources/nokia.vnfm.api.v3.lcn.subscription.json</inputSpec>
71               <language>java</language>
72               <library>retrofit2</library>
73               <output>${project.build.directory}/generated-sources/cbam</output>
74               <apiPackage>com.nokia.cbam.lcn.v32.api</apiPackage>
75               <modelPackage>com.nokia.cbam.lcn.v32.model</modelPackage>
76               <configOptions>
77                 <generateSupportingFiles>false</generateSupportingFiles>
78                 <sourceFolder>src/gen/java/main</sourceFolder>
79                 <withXml>true</withXml>
80                 <useRxJava2>true</useRxJava2>
81               </configOptions>
82             </configuration>
83           </execution>
84           <execution>
85             <id>cbamcatalog</id>
86             <goals>
87               <goal>generate</goal>
88             </goals>
89             <configuration>
90               <inputSpec>${basedir}/src/main/resources/nokia.catalog.json</inputSpec>
91               <language>java</language>
92               <library>retrofit2</library>
93               <output>${project.build.directory}/generated-sources/cbam</output>
94               <apiPackage>com.nokia.cbam.catalog.v1.api</apiPackage>
95               <modelPackage>com.nokia.cbam.catalog.v1.model</modelPackage>
96               <configOptions>
97                 <generateSupportingFiles>false</generateSupportingFiles>
98                 <sourceFolder>src/gen/java/main</sourceFolder>
99               </configOptions>
100             </configuration>
101           </execution>
102           <execution>
103             <id>catalog</id>
104             <goals>
105               <goal>generate</goal>
106             </goals>
107             <configuration>
108               <inputSpec>${basedir}/src/main/resources/vfc.catalog.swagger.json</inputSpec>
109               <language>java</language>
110               <library>retrofit2</library>
111               <output>${project.build.directory}/generated-sources/vfccatalog</output>
112               <apiPackage>org.onap.vfccatalog.api</apiPackage>
113               <modelPackage>org.onap.vfccatalog.model</modelPackage>
114               <configOptions>
115                 <generateSupportingFiles>false</generateSupportingFiles>
116                 <sourceFolder>src/gen/java/main</sourceFolder>
117               </configOptions>
118             </configuration>
119           </execution>
120           <execution>
121             <id>svnfm</id>
122             <goals>
123               <goal>generate</goal>
124             </goals>
125             <configuration>
126               <inputSpec>${basedir}/src/main/resources/vfc.vnfdriver.swagger.json</inputSpec>
127               <language>java</language>
128               <library>retrofit2</library>
129               <output>${project.build.directory}/generated-sources/vnfmdriver</output>
130               <apiPackage>org.onap.vnfmdriver.api</apiPackage>
131               <modelPackage>org.onap.vnfmdriver.model</modelPackage>
132               <configOptions>
133                 <generateSupportingFiles>false</generateSupportingFiles>
134                 <sourceFolder>src/gen/java/main</sourceFolder>
135               </configOptions>
136             </configuration>
137           </execution>
138 <!--
139           <execution>
140             <id>soadapter</id>
141             <goals>
142               <goal>generate</goal>
143             </goals>
144             <configuration>
145               <inputSpec>${basedir}/src/main/resources/so.vnfm.json</inputSpec>
146               <language>java</language>
147               <library>retrofit2</library>
148               <output>${project.build.directory}/generated-sources/soadapter</output>
149               <apiPackage>org.onap.soadapter.api</apiPackage>
150               <modelPackage>org.onap.soadapter.model</modelPackage>
151               <configOptions>
152                 <generateSupportingFiles>false</generateSupportingFiles>
153                 <sourceFolder>src/gen/java/main</sourceFolder>
154               </configOptions>
155             </configuration>
156           </execution>
157 -->
158         </executions>
159       </plugin>
160       <plugin>
161         <groupId>org.apache.maven.plugins</groupId>
162         <artifactId>maven-patch-plugin</artifactId>
163         <version>1.2</version>
164         <configuration>
165           <targetDirectory>${project.build.directory}/generated-sources</targetDirectory>
166           <skipApplication>false</skipApplication>
167         </configuration>
168         <executions>
169           <execution>
170             <id>bugfix-patches</id>
171             <configuration>
172               <patchFile>src/main/resources/patch</patchFile>
173               <strip>1</strip>
174             </configuration>
175             <phase>process-sources</phase>
176             <goals>
177               <goal>apply</goal>
178             </goals>
179           </execution>
180         </executions>
181       </plugin>
182       <plugin>
183         <groupId>org.apache.maven.plugins</groupId>
184         <artifactId>maven-compiler-plugin</artifactId>
185         <version>3.7.0</version>
186         <configuration>
187           <source>1.8</source>
188           <target>1.8</target>
189         </configuration>
190       </plugin>
191     </plugins>
192   </build>
193   <dependencies>
194     <dependency>
195       <groupId>io.swagger</groupId>
196       <artifactId>swagger-annotations</artifactId>
197       <version>${swagger-core-version}</version>
198     </dependency>
199     <dependency>
200       <groupId>com.squareup.retrofit2</groupId>
201       <artifactId>converter-gson</artifactId>
202       <version>${retrofit-version}</version>
203     </dependency>
204     <dependency>
205       <groupId>com.squareup.retrofit2</groupId>
206       <artifactId>retrofit</artifactId>
207       <version>${retrofit-version}</version>
208     </dependency>
209     <dependency>
210       <groupId>com.squareup.retrofit2</groupId>
211       <artifactId>converter-scalars</artifactId>
212       <version>${retrofit-version}</version>
213     </dependency>
214     <dependency>
215       <groupId>org.apache.oltu.oauth2</groupId>
216       <artifactId>org.apache.oltu.oauth2.client</artifactId>
217       <version>${oltu-version}</version>
218     </dependency>
219     <dependency>
220       <groupId>io.gsonfire</groupId>
221       <artifactId>gson-fire</artifactId>
222       <version>${gson-fire-version}</version>
223     </dependency>
224     <dependency>
225       <groupId>org.threeten</groupId>
226       <artifactId>threetenbp</artifactId>
227       <version>${threetenbp-version}</version>
228     </dependency>
229     <dependency>
230       <groupId>io.reactivex.rxjava2</groupId>
231       <artifactId>rxjava</artifactId>
232       <version>${rxjava-version}</version>
233     </dependency>
234     <dependency>
235       <groupId>com.squareup.retrofit2</groupId>
236       <artifactId>adapter-rxjava2</artifactId>
237       <version>${retrofit-version}</version>
238     </dependency>
239     <dependency>
240       <groupId>junit</groupId>
241       <artifactId>junit</artifactId>
242       <version>4.12</version>
243       <!-- the test code is generated into the main source code :( -->
244       <scope>provided</scope>
245     </dependency>
246     <dependency>
247       <groupId>com.google.guava</groupId>
248       <artifactId>guava</artifactId>
249       <version>24.0-jre</version>
250       <scope>test</scope>
251     </dependency>
252   </dependencies>
253 </project>