blob: b636f6818caf8f110b2b4f46b4d3c02176c032b9 [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>
waqas.ikram12bfb7b2020-04-08 15:48:21 +01006 <artifactId>etsi-sol003-lcm</artifactId>
seshukmadbd1c42020-08-03 19:23:51 +05307 <version>1.7.1-SNAPSHOT</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -04008 </parent>
waqas.ikram12bfb7b2020-04-08 15:48:21 +01009 <artifactId>etsi-sol003-lcm-api</artifactId>
10 <name>ETSI SOL003 Life Cycle Management Adapter API</name>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040011 <build>
12 <plugins>
13 <plugin>
14 <groupId>io.swagger</groupId>
15 <artifactId>swagger-codegen-maven-plugin</artifactId>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010016 <version>${version-swagger-codegen}</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040017 <executions>
18 <execution>
19 <id>vnfmadapter</id>
20 <goals>
21 <goal>generate</goal>
22 </goals>
23 <configuration>
waqas.ikram7511bc22020-05-01 12:30:32 +010024 <inputSpec>${basedir}/src/main/resources/etsisol003adapter.yaml</inputSpec>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040025 <language>java</language>
26 <library>retrofit2</library>
waqas.ikram7511bc22020-05-01 12:30:32 +010027 <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>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010030 <generateApiTests>false</generateApiTests>
31 <generateModelTests>false</generateModelTests>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040032 <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>
rope25293c822c2020-02-10 14:15:37 +000041 <execution>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010042 <id>sol003-vnf-lcn-api</id>
rope25293c822c2020-02-10 14:15:37 +000043 <goals>
44 <goal>generate</goal>
45 </goals>
46 <configuration>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010047 <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleManagementNotification-API.json</inputSpec>
rope25293c822c2020-02-10 14:15:37 +000048 <language>java</language>
49 <library>okhttp-gson</library>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010050 <output>${project.build.directory}/generated-sources/sol003-vnf-lcn</output>
waqas.ikram7511bc22020-05-01 12:30:32 +010051 <apiPackage>org.onap.so.adapters.etsisol003adapter.lcm.lcn.api</apiPackage>
52 <modelPackage>org.onap.so.adapters.etsisol003adapter.lcm.lcn.model</modelPackage>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010053 <generateApiTests>false</generateApiTests>
54 <generateModelTests>false</generateModelTests>
rope25293c822c2020-02-10 14:15:37 +000055 <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>
rope252524b5c72019-12-20 13:14:13 +000063 <execution>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010064 <id>sol003-vnf-grant-api</id>
rope252524b5c72019-12-20 13:14:13 +000065 <goals>
66 <goal>generate</goal>
67 </goals>
68 <configuration>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010069 <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleOperationGranting-API.json</inputSpec>
rope252524b5c72019-12-20 13:14:13 +000070 <language>java</language>
71 <library>okhttp-gson</library>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010072 <output>${project.build.directory}/generated-sources/sol003-vnf-grant</output>
waqas.ikram7511bc22020-05-01 12:30:32 +010073 <apiPackage>org.onap.so.adapters.etsisol003adapter.lcm.grant.api</apiPackage>
74 <modelPackage>org.onap.so.adapters.etsisol003adapter.lcm.grant.model</modelPackage>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010075 <generateApiTests>false</generateApiTests>
76 <generateModelTests>false</generateModelTests>
rope252524b5c72019-12-20 13:14:13 +000077 <configOptions>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010078 <generateSupportingFiles>false</generateSupportingFiles>
rope252524b5c72019-12-20 13:14:13 +000079 <sourceFolder>src/gen/java/main</sourceFolder>
80 <withXml>true</withXml>
81 <useRxJava2>true</useRxJava2>
82 <serializableModel>true</serializableModel>
83 </configOptions>
84 </configuration>
85 </execution>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040086 </executions>
87 </plugin>
Benjamin, Max26275322020-03-16 10:09:29 -040088 <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>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100101 <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>
Benjamin, Max2505a542020-09-21 11:38:23 -0400103 <source>${project.basedir}/target/generated-sources/etsisol003adapter/src/gen/java/main</source>
Benjamin, Max26275322020-03-16 10:09:29 -0400104 </sources>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400109 </plugins>
Benjamin, Max168f9dd2020-03-17 14:27:16 -0400110 <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>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400140 </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>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000190 <dependency>
191 <groupId>com.squareup.okio</groupId>
192 <artifactId>okio</artifactId>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100193 <version>${okio-version}</version>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000194 </dependency>
rope252439c3a22019-11-19 16:23:34 +0000195 <dependency>
rope252524b5c72019-12-20 13:14:13 +0000196 <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>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400220 </dependencies>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100221</project>