blob: 862516bdd93877656a2649375a969f7f39243bc3 [file] [log] [blame]
MukeshKumar4de859b2021-02-04 09:40:16 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
waqas.ikramb74192c2021-02-05 09:08:37 +00002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
MukeshKumar4de859b2021-02-04 09:40:16 +00003 <modelVersion>4.0.0</modelVersion>
4 <parent>
waqas.ikramb74192c2021-02-05 09:08:37 +00005 <groupId>org.onap.so.adapters.so-etsi-sol003-adapter.lcm</groupId>
MukeshKumara6cddad2021-02-04 15:16:35 +00006 <artifactId>so-etsi-sol003-adapter-lcm</artifactId>
MukeshKumare38802a2021-02-26 09:45:02 +00007 <version>1.8.1-SNAPSHOT</version>
MukeshKumar4de859b2021-02-04 09:40:16 +00008 </parent>
MukeshKumara6cddad2021-02-04 15:16:35 +00009 <artifactId>so-etsi-sol003-adapter-lcm-api</artifactId>
10 <name>SO ETSI SOL003 Life Cycle Management Adapter API</name>
MukeshKumar4de859b2021-02-04 09:40:16 +000011 <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>
48 ${basedir}/src/main/resources/SOL003-VNFLifecycleManagementNotification-API.json
49 </inputSpec>
50 <language>java</language>
51 <library>okhttp-gson</library>
52 <output>${project.build.directory}/generated-sources/sol003-vnf-lcn</output>
53 <apiPackage>org.onap.so.adapters.etsisol003adapter.lcm.lcn.api</apiPackage>
54 <modelPackage>org.onap.so.adapters.etsisol003adapter.lcm.lcn.model</modelPackage>
55 <generateApiTests>false</generateApiTests>
56 <generateModelTests>false</generateModelTests>
57 <configOptions>
58 <sourceFolder>src/gen/java/main</sourceFolder>
59 <withXml>true</withXml>
60 <useRxJava2>true</useRxJava2>
61 <serializableModel>true</serializableModel>
62 </configOptions>
63 </configuration>
64 </execution>
65 <execution>
66 <id>sol003-vnf-grant-api</id>
67 <goals>
68 <goal>generate</goal>
69 </goals>
70 <configuration>
71 <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleOperationGranting-API.json
72 </inputSpec>
73 <language>java</language>
74 <library>okhttp-gson</library>
75 <output>${project.build.directory}/generated-sources/sol003-vnf-grant</output>
76 <apiPackage>org.onap.so.adapters.etsisol003adapter.lcm.grant.api</apiPackage>
77 <modelPackage>org.onap.so.adapters.etsisol003adapter.lcm.grant.model</modelPackage>
78 <generateApiTests>false</generateApiTests>
79 <generateModelTests>false</generateModelTests>
80 <configOptions>
81 <generateSupportingFiles>false</generateSupportingFiles>
82 <sourceFolder>src/gen/java/main</sourceFolder>
83 <withXml>true</withXml>
84 <useRxJava2>true</useRxJava2>
85 <serializableModel>true</serializableModel>
86 </configOptions>
87 </configuration>
88 </execution>
89 </executions>
90 </plugin>
91 <plugin>
92 <groupId>org.codehaus.mojo</groupId>
93 <artifactId>build-helper-maven-plugin</artifactId>
94 <executions>
95 <execution>
96 <id>add-source</id>
97 <phase>generate-sources</phase>
98 <goals>
99 <goal>add-source</goal>
100 </goals>
101 <configuration>
102 <sources>
103 <source>${project.basedir}/target/generated-sources/vnfmadapter/src/gen/java/main
104 </source>
105 <source>${project.basedir}/target/generated-sources/sol003-vnf-lcn/src/gen/java/main
106 </source>
107 <source>${project.basedir}/target/generated-sources/sol003-vnf-grant/src/gen/java/main
108 </source>
109 <source>
110 ${project.basedir}/target/generated-sources/etsisol003adapter/src/gen/java/main
111 </source>
112 </sources>
113 </configuration>
114 </execution>
115 </executions>
116 </plugin>
117 </plugins>
118 <pluginManagement>
119 <plugins>
120 <plugin>
121 <groupId>org.eclipse.m2e</groupId>
122 <artifactId>lifecycle-mapping</artifactId>
123 <version>1.0.0</version>
124 <configuration>
125 <lifecycleMappingMetadata>
126 <pluginExecutions>
127 <pluginExecution>
128 <pluginExecutionFilter>
129 <groupId>io.swagger</groupId>
130 <artifactId>swagger-codegen-maven-plugin</artifactId>
131 <goals>
132 <goal>generate</goal>
133 </goals>
134 <versionRange>[2.2.0,)</versionRange>
135 </pluginExecutionFilter>
136 <action>
137 <execute>
138 <runOnIncremental>false</runOnIncremental>
139 </execute>
140 </action>
141 </pluginExecution>
142 </pluginExecutions>
143 </lifecycleMappingMetadata>
144 </configuration>
145 </plugin>
146 </plugins>
147 </pluginManagement>
148 </build>
149 <dependencies>
150 <dependency>
151 <groupId>io.swagger</groupId>
152 <artifactId>swagger-annotations</artifactId>
153 <version>${swagger-core-version}</version>
154 </dependency>
155 <dependency>
156 <groupId>com.squareup.retrofit2</groupId>
157 <artifactId>converter-gson</artifactId>
158 <version>${retrofit-version}</version>
159 </dependency>
160 <dependency>
161 <groupId>com.squareup.retrofit2</groupId>
162 <artifactId>retrofit</artifactId>
163 <version>${retrofit-version}</version>
164 </dependency>
165 <dependency>
166 <groupId>com.squareup.retrofit2</groupId>
167 <artifactId>converter-scalars</artifactId>
168 <version>${retrofit-version}</version>
169 </dependency>
170 <dependency>
171 <groupId>org.apache.oltu.oauth2</groupId>
172 <artifactId>org.apache.oltu.oauth2.client</artifactId>
173 <version>${oltu-version}</version>
174 </dependency>
175 <dependency>
176 <groupId>io.gsonfire</groupId>
177 <artifactId>gson-fire</artifactId>
178 <version>${gson-fire-version}</version>
179 </dependency>
180 <dependency>
181 <groupId>org.threeten</groupId>
182 <artifactId>threetenbp</artifactId>
183 <version>${threetenbp-version}</version>
184 </dependency>
185 <dependency>
186 <groupId>io.reactivex.rxjava2</groupId>
187 <artifactId>rxjava</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>com.squareup.retrofit2</groupId>
191 <artifactId>adapter-rxjava2</artifactId>
192 <version>${retrofit-version}</version>
193 </dependency>
194 <dependency>
195 <groupId>com.google.code.gson</groupId>
196 <artifactId>gson</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>com.squareup.okio</groupId>
200 <artifactId>okio</artifactId>
201 <version>${okio-version}</version>
202 </dependency>
203 <dependency>
204 <groupId>com.squareup.okhttp3</groupId>
205 <artifactId>okhttp</artifactId>
206 <version>${okhttp3-version}</version>
207 </dependency>
208 <dependency>
209 <groupId>com.squareup.okhttp3</groupId>
210 <artifactId>logging-interceptor</artifactId>
211 <version>${okhttp3-version}</version>
212 </dependency>
213 <dependency>
214 <groupId>com.squareup.okhttp</groupId>
215 <artifactId>logging-interceptor</artifactId>
216 <version>${okhttp-version}</version>
217 </dependency>
218 <dependency>
219 <groupId>com.squareup.okhttp</groupId>
220 <artifactId>okhttp</artifactId>
221 <version>${okhttp-version}</version>
222 </dependency>
223 <dependency>
224 <groupId>com.squareup.okhttp</groupId>
225 <artifactId>logging-interceptor</artifactId>
226 <version>${okhttp-version}</version>
227 </dependency>
228 <dependency>
229 <groupId>javax.xml.bind</groupId>
230 <artifactId>jaxb-api</artifactId>
231 </dependency>
232 </dependencies>
MukeshKumar04436052021-02-03 16:31:00 +0000233</project>