blob: 54f05859d9bb548d336ef4096d75282c11f46f5b [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>
6 <artifactId>mso-vnfm-adapter</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>
9 <artifactId>mso-vnfm-adapter-api</artifactId>
10 <properties>
11 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
13 <gson-fire-version>1.8.2</gson-fire-version>
14 <retrofit-version>2.3.0</retrofit-version>
15 <threetenbp-version>1.3.5</threetenbp-version>
16 <oltu-version>1.0.1</oltu-version>
17 <swagger-core-version>1.5.15</swagger-core-version>
rope252524b5c72019-12-20 13:14:13 +000018 <okhttp3-version>3.14.0</okhttp3-version>
19 <okhttp-version>2.7.5</okhttp-version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040020 </properties>
21 <name>mso-vnfm-adapter-api</name>
22 <description>MSO VNFM adapter API</description>
MichaelMorris90a91362019-03-13 21:32:25 +000023
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040024 <build>
25 <plugins>
26 <plugin>
27 <groupId>io.swagger</groupId>
28 <artifactId>swagger-codegen-maven-plugin</artifactId>
29 <version>2.3.1</version>
30 <executions>
31 <execution>
32 <id>vnfmadapter</id>
33 <goals>
34 <goal>generate</goal>
35 </goals>
36 <configuration>
37 <inputSpec>${basedir}/src/main/resources/vnfmadapter.yaml</inputSpec>
38 <language>java</language>
39 <library>retrofit2</library>
40 <output>${project.build.directory}/generated-sources/vnfmadapter</output>
41 <apiPackage>org.onap.vnfmadapter.v1.api</apiPackage>
42 <modelPackage>org.onap.vnfmadapter.v1.model</modelPackage>
43 <configOptions>
44 <jackson>true</jackson>
45 <sourceFolder>src/gen/java/main</sourceFolder>
46 <withXml>true</withXml>
47 <useRxJava2>true</useRxJava2>
48 <serializableModel>true</serializableModel>
49 </configOptions>
50 </configuration>
51 </execution>
rope25293c822c2020-02-10 14:15:37 +000052 <execution>
53 <id>sol003-packagemanagement-notification-api</id>
54 <goals>
55 <goal>generate</goal>
56 </goals>
57 <configuration>
58 <inputSpec>${basedir}/src/main/resources/SOL003-VNFPackageManagement-Notification-API.json</inputSpec>
59 <language>java</language>
60 <library>okhttp-gson</library>
61 <output>${project.build.directory}/generated-sources/sol003-vnf-packagemanagement/notification</output>
62 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.packagemanagement.notification.api</apiPackage>
63 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.packagemanagement.notification.model</modelPackage>
64 <configOptions>
65 <sourceFolder>src/gen/java/main</sourceFolder>
66 <withXml>true</withXml>
67 <useRxJava2>true</useRxJava2>
68 <serializableModel>true</serializableModel>
69 </configOptions>
70 </configuration>
71 </execution>
rope252524b5c72019-12-20 13:14:13 +000072 <execution>
73 <id>etsicatalog-notification-api</id>
74 <goals>
75 <goal>generate</goal>
76 </goals>
77 <configuration>
78 <inputSpec>${basedir}/src/main/resources/ETSI-Catalog-Notification-API.json</inputSpec>
79 <language>java</language>
80 <library>okhttp-gson</library>
81 <output>${project.build.directory}/generated-sources/etsicatalog/notification</output>
82 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.etsicatalog.notification.api</apiPackage>
83 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.etsicatalog.notification.model</modelPackage>
84 <configOptions>
85 <sourceFolder>src/gen/java/main</sourceFolder>
86 <withXml>true</withXml>
87 <useRxJava2>true</useRxJava2>
88 <serializableModel>true</serializableModel>
89 </configOptions>
90 </configuration>
91 </execution>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040092 </executions>
93 </plugin>
Benjamin, Max26275322020-03-16 10:09:29 -040094 <plugin>
95 <groupId>org.codehaus.mojo</groupId>
96 <artifactId>build-helper-maven-plugin</artifactId>
97 <executions>
98 <execution>
99 <id>add-source</id>
100 <phase>generate-sources</phase>
101 <goals>
102 <goal>add-source</goal>
103 </goals>
104 <configuration>
105 <sources>
Benjamin, Max168f9dd2020-03-17 14:27:16 -0400106 <source>${project.basedir}/target/generated-sources/etsicatalog/notification/src/gen/java/main</source>
107 <source>${project.basedir}/target/generated-sources/sol003-vnf-packagemanagement/notification/src/gen/java/main</source>
Benjamin, Max26275322020-03-16 10:09:29 -0400108 <source>${project.basedir}/target/generated-sources/vnfmadapter/src/gen/java/main</source>
109 </sources>
110 </configuration>
111 </execution>
112 </executions>
113 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400114 </plugins>
Benjamin, Max168f9dd2020-03-17 14:27:16 -0400115 <pluginManagement>
116 <plugins>
117 <plugin>
118 <groupId>org.eclipse.m2e</groupId>
119 <artifactId>lifecycle-mapping</artifactId>
120 <version>1.0.0</version>
121 <configuration>
122 <lifecycleMappingMetadata>
123 <pluginExecutions>
124 <pluginExecution>
125 <pluginExecutionFilter>
126 <groupId>io.swagger</groupId>
127 <artifactId>swagger-codegen-maven-plugin</artifactId>
128 <goals>
129 <goal>generate</goal>
130 </goals>
131 <versionRange>[2.2.0,)</versionRange>
132 </pluginExecutionFilter>
133 <action>
134 <execute>
135 <runOnIncremental>false</runOnIncremental>
136 </execute>
137 </action>
138 </pluginExecution>
139 </pluginExecutions>
140 </lifecycleMappingMetadata>
141 </configuration>
142 </plugin>
143 </plugins>
144 </pluginManagement>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400145 </build>
146 <dependencies>
147 <dependency>
148 <groupId>io.swagger</groupId>
149 <artifactId>swagger-annotations</artifactId>
150 <version>${swagger-core-version}</version>
151 </dependency>
152 <dependency>
153 <groupId>com.squareup.retrofit2</groupId>
154 <artifactId>converter-gson</artifactId>
155 <version>${retrofit-version}</version>
156 </dependency>
157 <dependency>
158 <groupId>com.squareup.retrofit2</groupId>
159 <artifactId>retrofit</artifactId>
160 <version>${retrofit-version}</version>
161 </dependency>
162 <dependency>
163 <groupId>com.squareup.retrofit2</groupId>
164 <artifactId>converter-scalars</artifactId>
165 <version>${retrofit-version}</version>
166 </dependency>
167 <dependency>
168 <groupId>org.apache.oltu.oauth2</groupId>
169 <artifactId>org.apache.oltu.oauth2.client</artifactId>
170 <version>${oltu-version}</version>
171 </dependency>
172 <dependency>
173 <groupId>io.gsonfire</groupId>
174 <artifactId>gson-fire</artifactId>
175 <version>${gson-fire-version}</version>
176 </dependency>
177 <dependency>
178 <groupId>org.threeten</groupId>
179 <artifactId>threetenbp</artifactId>
180 <version>${threetenbp-version}</version>
181 </dependency>
182 <dependency>
183 <groupId>io.reactivex.rxjava2</groupId>
184 <artifactId>rxjava</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>com.squareup.retrofit2</groupId>
188 <artifactId>adapter-rxjava2</artifactId>
189 <version>${retrofit-version}</version>
190 </dependency>
191 <dependency>
192 <groupId>com.google.code.gson</groupId>
193 <artifactId>gson</artifactId>
194 </dependency>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000195 <dependency>
196 <groupId>com.squareup.okio</groupId>
197 <artifactId>okio</artifactId>
198 <version>1.13.0</version>
199 </dependency>
rope252439c3a22019-11-19 16:23:34 +0000200 <dependency>
rope252524b5c72019-12-20 13:14:13 +0000201 <groupId>com.squareup.okhttp3</groupId>
202 <artifactId>okhttp</artifactId>
203 <version>${okhttp3-version}</version>
204 </dependency>
205 <dependency>
206 <groupId>com.squareup.okhttp3</groupId>
207 <artifactId>logging-interceptor</artifactId>
208 <version>${okhttp3-version}</version>
209 </dependency>
210 <dependency>
211 <groupId>com.squareup.okhttp</groupId>
212 <artifactId>logging-interceptor</artifactId>
213 <version>${okhttp-version}</version>
214 </dependency>
215 <dependency>
216 <groupId>com.squareup.okhttp</groupId>
217 <artifactId>okhttp</artifactId>
218 <version>${okhttp-version}</version>
219 </dependency>
220 <dependency>
221 <groupId>com.squareup.okhttp</groupId>
222 <artifactId>logging-interceptor</artifactId>
223 <version>${okhttp-version}</version>
224 </dependency>
225 <dependency>
rope252439c3a22019-11-19 16:23:34 +0000226 <groupId>junit</groupId>
227 <artifactId>junit</artifactId>
228 </dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400229 </dependencies>
MichaelMorris8aeffa02019-03-13 17:24:42 +0000230</project>