blob: 977541cc16cab512f973ba1f5a33bcebe886102d [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>
106 <source>${project.basedir}/target/generated-sources/vnfmadapter/src/gen/java/main</source>
107 </sources>
108 </configuration>
109 </execution>
110 </executions>
111 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400112 </plugins>
113 </build>
114 <dependencies>
115 <dependency>
116 <groupId>io.swagger</groupId>
117 <artifactId>swagger-annotations</artifactId>
118 <version>${swagger-core-version}</version>
119 </dependency>
120 <dependency>
121 <groupId>com.squareup.retrofit2</groupId>
122 <artifactId>converter-gson</artifactId>
123 <version>${retrofit-version}</version>
124 </dependency>
125 <dependency>
126 <groupId>com.squareup.retrofit2</groupId>
127 <artifactId>retrofit</artifactId>
128 <version>${retrofit-version}</version>
129 </dependency>
130 <dependency>
131 <groupId>com.squareup.retrofit2</groupId>
132 <artifactId>converter-scalars</artifactId>
133 <version>${retrofit-version}</version>
134 </dependency>
135 <dependency>
136 <groupId>org.apache.oltu.oauth2</groupId>
137 <artifactId>org.apache.oltu.oauth2.client</artifactId>
138 <version>${oltu-version}</version>
139 </dependency>
140 <dependency>
141 <groupId>io.gsonfire</groupId>
142 <artifactId>gson-fire</artifactId>
143 <version>${gson-fire-version}</version>
144 </dependency>
145 <dependency>
146 <groupId>org.threeten</groupId>
147 <artifactId>threetenbp</artifactId>
148 <version>${threetenbp-version}</version>
149 </dependency>
150 <dependency>
151 <groupId>io.reactivex.rxjava2</groupId>
152 <artifactId>rxjava</artifactId>
153 </dependency>
154 <dependency>
155 <groupId>com.squareup.retrofit2</groupId>
156 <artifactId>adapter-rxjava2</artifactId>
157 <version>${retrofit-version}</version>
158 </dependency>
159 <dependency>
160 <groupId>com.google.code.gson</groupId>
161 <artifactId>gson</artifactId>
162 </dependency>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000163 <dependency>
164 <groupId>com.squareup.okio</groupId>
165 <artifactId>okio</artifactId>
166 <version>1.13.0</version>
167 </dependency>
rope252439c3a22019-11-19 16:23:34 +0000168 <dependency>
rope252524b5c72019-12-20 13:14:13 +0000169 <groupId>com.squareup.okhttp3</groupId>
170 <artifactId>okhttp</artifactId>
171 <version>${okhttp3-version}</version>
172 </dependency>
173 <dependency>
174 <groupId>com.squareup.okhttp3</groupId>
175 <artifactId>logging-interceptor</artifactId>
176 <version>${okhttp3-version}</version>
177 </dependency>
178 <dependency>
179 <groupId>com.squareup.okhttp</groupId>
180 <artifactId>logging-interceptor</artifactId>
181 <version>${okhttp-version}</version>
182 </dependency>
183 <dependency>
184 <groupId>com.squareup.okhttp</groupId>
185 <artifactId>okhttp</artifactId>
186 <version>${okhttp-version}</version>
187 </dependency>
188 <dependency>
189 <groupId>com.squareup.okhttp</groupId>
190 <artifactId>logging-interceptor</artifactId>
191 <version>${okhttp-version}</version>
192 </dependency>
193 <dependency>
rope252439c3a22019-11-19 16:23:34 +0000194 <groupId>junit</groupId>
195 <artifactId>junit</artifactId>
196 </dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400197 </dependencies>
MichaelMorris8aeffa02019-03-13 17:24:42 +0000198</project>