blob: f6789575c643fdc1e23fe8409f168327b38878ac [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>
seshukmb9af26a2020-02-26 19:30:17 +08007 <version>1.6.0-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, Max26275322020-03-16 10:09:29 -0400103 </sources>
104 </configuration>
105 </execution>
106 </executions>
107 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400108 </plugins>
Benjamin, Max168f9dd2020-03-17 14:27:16 -0400109 <pluginManagement>
110 <plugins>
111 <plugin>
112 <groupId>org.eclipse.m2e</groupId>
113 <artifactId>lifecycle-mapping</artifactId>
114 <version>1.0.0</version>
115 <configuration>
116 <lifecycleMappingMetadata>
117 <pluginExecutions>
118 <pluginExecution>
119 <pluginExecutionFilter>
120 <groupId>io.swagger</groupId>
121 <artifactId>swagger-codegen-maven-plugin</artifactId>
122 <goals>
123 <goal>generate</goal>
124 </goals>
125 <versionRange>[2.2.0,)</versionRange>
126 </pluginExecutionFilter>
127 <action>
128 <execute>
129 <runOnIncremental>false</runOnIncremental>
130 </execute>
131 </action>
132 </pluginExecution>
133 </pluginExecutions>
134 </lifecycleMappingMetadata>
135 </configuration>
136 </plugin>
137 </plugins>
138 </pluginManagement>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400139 </build>
140 <dependencies>
141 <dependency>
142 <groupId>io.swagger</groupId>
143 <artifactId>swagger-annotations</artifactId>
144 <version>${swagger-core-version}</version>
145 </dependency>
146 <dependency>
147 <groupId>com.squareup.retrofit2</groupId>
148 <artifactId>converter-gson</artifactId>
149 <version>${retrofit-version}</version>
150 </dependency>
151 <dependency>
152 <groupId>com.squareup.retrofit2</groupId>
153 <artifactId>retrofit</artifactId>
154 <version>${retrofit-version}</version>
155 </dependency>
156 <dependency>
157 <groupId>com.squareup.retrofit2</groupId>
158 <artifactId>converter-scalars</artifactId>
159 <version>${retrofit-version}</version>
160 </dependency>
161 <dependency>
162 <groupId>org.apache.oltu.oauth2</groupId>
163 <artifactId>org.apache.oltu.oauth2.client</artifactId>
164 <version>${oltu-version}</version>
165 </dependency>
166 <dependency>
167 <groupId>io.gsonfire</groupId>
168 <artifactId>gson-fire</artifactId>
169 <version>${gson-fire-version}</version>
170 </dependency>
171 <dependency>
172 <groupId>org.threeten</groupId>
173 <artifactId>threetenbp</artifactId>
174 <version>${threetenbp-version}</version>
175 </dependency>
176 <dependency>
177 <groupId>io.reactivex.rxjava2</groupId>
178 <artifactId>rxjava</artifactId>
179 </dependency>
180 <dependency>
181 <groupId>com.squareup.retrofit2</groupId>
182 <artifactId>adapter-rxjava2</artifactId>
183 <version>${retrofit-version}</version>
184 </dependency>
185 <dependency>
186 <groupId>com.google.code.gson</groupId>
187 <artifactId>gson</artifactId>
188 </dependency>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000189 <dependency>
190 <groupId>com.squareup.okio</groupId>
191 <artifactId>okio</artifactId>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100192 <version>${okio-version}</version>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000193 </dependency>
rope252439c3a22019-11-19 16:23:34 +0000194 <dependency>
rope252524b5c72019-12-20 13:14:13 +0000195 <groupId>com.squareup.okhttp3</groupId>
196 <artifactId>okhttp</artifactId>
197 <version>${okhttp3-version}</version>
198 </dependency>
199 <dependency>
200 <groupId>com.squareup.okhttp3</groupId>
201 <artifactId>logging-interceptor</artifactId>
202 <version>${okhttp3-version}</version>
203 </dependency>
204 <dependency>
205 <groupId>com.squareup.okhttp</groupId>
206 <artifactId>logging-interceptor</artifactId>
207 <version>${okhttp-version}</version>
208 </dependency>
209 <dependency>
210 <groupId>com.squareup.okhttp</groupId>
211 <artifactId>okhttp</artifactId>
212 <version>${okhttp-version}</version>
213 </dependency>
214 <dependency>
215 <groupId>com.squareup.okhttp</groupId>
216 <artifactId>logging-interceptor</artifactId>
217 <version>${okhttp-version}</version>
218 </dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400219 </dependencies>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100220</project>