63a46d591e61aca35cb9ad5658b197eadaec29e7
[so.git] / adapters / etsi-sol003-adapter / etsi-sol003-lcm / etsi-sol003-lcm-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>etsi-sol003-lcm</artifactId>
7     <version>1.8.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>etsi-sol003-lcm-api</artifactId>
10   <name>ETSI SOL003 Life Cycle Management Adapter API</name>
11   <build>
12     <plugins>
13       <plugin>
14         <groupId>io.swagger</groupId>
15         <artifactId>swagger-codegen-maven-plugin</artifactId>
16         <version>${version-swagger-codegen}</version>
17         <executions>
18           <execution>
19             <id>vnfmadapter</id>
20             <goals>
21               <goal>generate</goal>
22             </goals>
23             <configuration>
24               <inputSpec>${basedir}/src/main/resources/etsisol003adapter.yaml</inputSpec>
25               <language>java</language>
26               <library>retrofit2</library>
27               <output>${project.build.directory}/generated-sources/etsisol003adapter</output>
28               <apiPackage>org.onap.so.adapters.etsisol003adapter.lcm.v1.api</apiPackage>
29               <modelPackage>org.onap.so.adapters.etsisol003adapter.lcm.v1.model</modelPackage>
30               <generateApiTests>false</generateApiTests>
31               <generateModelTests>false</generateModelTests>
32               <configOptions>
33                 <jackson>true</jackson>
34                 <sourceFolder>src/gen/java/main</sourceFolder>
35                 <withXml>true</withXml>
36                 <useRxJava2>true</useRxJava2>
37                 <serializableModel>true</serializableModel>
38               </configOptions>
39             </configuration>
40           </execution>
41           <execution>
42             <id>sol003-vnf-lcn-api</id>
43             <goals>
44               <goal>generate</goal>
45             </goals>
46             <configuration>
47               <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleManagementNotification-API.json</inputSpec>
48               <language>java</language>
49               <library>okhttp-gson</library>
50               <output>${project.build.directory}/generated-sources/sol003-vnf-lcn</output>
51               <apiPackage>org.onap.so.adapters.etsisol003adapter.lcm.lcn.api</apiPackage>
52               <modelPackage>org.onap.so.adapters.etsisol003adapter.lcm.lcn.model</modelPackage>
53               <generateApiTests>false</generateApiTests>
54               <generateModelTests>false</generateModelTests>
55               <configOptions>
56                 <sourceFolder>src/gen/java/main</sourceFolder>
57                 <withXml>true</withXml>
58                 <useRxJava2>true</useRxJava2>
59                 <serializableModel>true</serializableModel>
60               </configOptions>
61             </configuration>
62           </execution>
63           <execution>
64             <id>sol003-vnf-grant-api</id>
65             <goals>
66               <goal>generate</goal>
67             </goals>
68             <configuration>
69               <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleOperationGranting-API.json</inputSpec>
70               <language>java</language>
71               <library>okhttp-gson</library>
72               <output>${project.build.directory}/generated-sources/sol003-vnf-grant</output>
73               <apiPackage>org.onap.so.adapters.etsisol003adapter.lcm.grant.api</apiPackage>
74               <modelPackage>org.onap.so.adapters.etsisol003adapter.lcm.grant.model</modelPackage>
75               <generateApiTests>false</generateApiTests>
76               <generateModelTests>false</generateModelTests>
77               <configOptions>
78                 <generateSupportingFiles>false</generateSupportingFiles>
79                 <sourceFolder>src/gen/java/main</sourceFolder>
80                 <withXml>true</withXml>
81                 <useRxJava2>true</useRxJava2>
82                 <serializableModel>true</serializableModel>
83               </configOptions>
84             </configuration>
85           </execution>
86         </executions>
87       </plugin>
88       <plugin>
89         <groupId>org.codehaus.mojo</groupId>
90         <artifactId>build-helper-maven-plugin</artifactId>
91         <executions>
92           <execution>
93             <id>add-source</id>
94             <phase>generate-sources</phase>
95             <goals>
96               <goal>add-source</goal>
97             </goals>
98             <configuration>
99               <sources>
100                 <source>${project.basedir}/target/generated-sources/vnfmadapter/src/gen/java/main</source>
101                 <source>${project.basedir}/target/generated-sources/sol003-vnf-lcn/src/gen/java/main</source>
102                 <source>${project.basedir}/target/generated-sources/sol003-vnf-grant/src/gen/java/main</source>
103                 <source>${project.basedir}/target/generated-sources/etsisol003adapter/src/gen/java/main</source>
104               </sources>
105             </configuration>
106           </execution>
107         </executions>
108       </plugin>
109     </plugins>
110     <pluginManagement>
111       <plugins>
112         <plugin>
113           <groupId>org.eclipse.m2e</groupId>
114           <artifactId>lifecycle-mapping</artifactId>
115           <version>1.0.0</version>
116           <configuration>
117             <lifecycleMappingMetadata>
118               <pluginExecutions>
119                 <pluginExecution>
120                   <pluginExecutionFilter>
121                     <groupId>io.swagger</groupId>
122                     <artifactId>swagger-codegen-maven-plugin</artifactId>
123                     <goals>
124                       <goal>generate</goal>
125                     </goals>
126                     <versionRange>[2.2.0,)</versionRange>
127                   </pluginExecutionFilter>
128                   <action>
129                     <execute>
130                       <runOnIncremental>false</runOnIncremental>
131                     </execute>
132                   </action>
133                 </pluginExecution>
134               </pluginExecutions>
135             </lifecycleMappingMetadata>
136           </configuration>
137         </plugin>
138       </plugins>
139     </pluginManagement>
140   </build>
141   <dependencies>
142     <dependency>
143       <groupId>io.swagger</groupId>
144       <artifactId>swagger-annotations</artifactId>
145       <version>${swagger-core-version}</version>
146     </dependency>
147     <dependency>
148       <groupId>com.squareup.retrofit2</groupId>
149       <artifactId>converter-gson</artifactId>
150       <version>${retrofit-version}</version>
151     </dependency>
152     <dependency>
153       <groupId>com.squareup.retrofit2</groupId>
154       <artifactId>retrofit</artifactId>
155       <version>${retrofit-version}</version>
156     </dependency>
157     <dependency>
158       <groupId>com.squareup.retrofit2</groupId>
159       <artifactId>converter-scalars</artifactId>
160       <version>${retrofit-version}</version>
161     </dependency>
162     <dependency>
163       <groupId>org.apache.oltu.oauth2</groupId>
164       <artifactId>org.apache.oltu.oauth2.client</artifactId>
165       <version>${oltu-version}</version>
166     </dependency>
167     <dependency>
168       <groupId>io.gsonfire</groupId>
169       <artifactId>gson-fire</artifactId>
170       <version>${gson-fire-version}</version>
171     </dependency>
172     <dependency>
173       <groupId>org.threeten</groupId>
174       <artifactId>threetenbp</artifactId>
175       <version>${threetenbp-version}</version>
176     </dependency>
177     <dependency>
178       <groupId>io.reactivex.rxjava2</groupId>
179       <artifactId>rxjava</artifactId>
180     </dependency>
181     <dependency>
182       <groupId>com.squareup.retrofit2</groupId>
183       <artifactId>adapter-rxjava2</artifactId>
184       <version>${retrofit-version}</version>
185     </dependency>
186     <dependency>
187       <groupId>com.google.code.gson</groupId>
188       <artifactId>gson</artifactId>
189     </dependency>
190     <dependency>
191       <groupId>com.squareup.okio</groupId>
192       <artifactId>okio</artifactId>
193       <version>${okio-version}</version>
194     </dependency>
195     <dependency>
196       <groupId>com.squareup.okhttp3</groupId>
197       <artifactId>okhttp</artifactId>
198       <version>${okhttp3-version}</version>
199     </dependency>
200     <dependency>
201       <groupId>com.squareup.okhttp3</groupId>
202       <artifactId>logging-interceptor</artifactId>
203       <version>${okhttp3-version}</version>
204     </dependency>
205     <dependency>
206       <groupId>com.squareup.okhttp</groupId>
207       <artifactId>logging-interceptor</artifactId>
208       <version>${okhttp-version}</version>
209     </dependency>
210     <dependency>
211       <groupId>com.squareup.okhttp</groupId>
212       <artifactId>okhttp</artifactId>
213       <version>${okhttp-version}</version>
214     </dependency>
215     <dependency>
216       <groupId>com.squareup.okhttp</groupId>
217       <artifactId>logging-interceptor</artifactId>
218       <version>${okhttp-version}</version>
219     </dependency>
220   </dependencies>
221 </project>