blob: ad41b0f050c88c7bc1b7599777bfe55fa0d901e7 [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -04002 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</groupId>
6 <artifactId>adapters</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>
9 <artifactId>mso-openstack-adapters</artifactId>
10 <packaging>jar</packaging>
11 <name>mso-openstack-adapters</name>
12 <description>Consolidate openstack adapters into one Spring Boot project</description>
13 <properties>
14 <openfeign.version>10.1.0</openfeign.version>
15 </properties>
16 <build>
17 <finalName>${project.artifactId}-${project.version}</finalName>
Munir Ahmad563a3572019-02-08 16:42:03 -050018
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040019 <plugins>
20 <plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040021 <groupId>org.springframework.boot</groupId>
22 <artifactId>spring-boot-maven-plugin</artifactId>
23 <configuration>
24 <mainClass>org.onap.so.adapters.openstack.MsoOpenstackAdaptersApplication</mainClass>
25 </configuration>
26 <executions>
27 <execution>
28 <goals>
29 <goal>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040030 repackage
31 </goal>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040032 </goals>
33 </execution>
34 </executions>
35 </plugin>
36 <plugin>
37 <groupId>org.apache.maven.plugins</groupId>
38 <artifactId>maven-surefire-plugin</artifactId>
39 <executions>
40 <execution>
41 <id>default-test</id>
42 <goals>
43 <goal>test</goal>
44 </goals>
45 <configuration>
46 <includes>
47 <include>**/AllTestsTestSuite.java</include>
48 </includes>
49 <parallel>suites</parallel>
50 </configuration>
51 </execution>
52 </executions>
53 </plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040054
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040055 <!-- run the following plugin only when there's a wsdl change and you need to recompile the java classes
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040056 <plugin>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050057 <groupId>org.codehaus.mojo</groupId>
58 <artifactId>jaxws-maven-plugin</artifactId>
59 <version>2.4.1</version>
60 <executions>
61 <execution>
62 <id>generate-network-async-stubs</id>
63 <phase>process-classes</phase>
64 <goals>
65 <goal>wsimport</goal>
66 </goals>
67 <configuration>
68 <vmArgs>
69 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
70 </vmArgs>
71 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
72 <wsdlFiles>
73 <wsdlFile>NetworkAdapterNotify.wsdl</wsdlFile>
74 </wsdlFiles>
75 <wsdlLocation>/NetworkAdapterNotify.wsdl</wsdlLocation>
76 <packageName>org.onap.so.adapters.network.async.client</packageName>
77 <xnocompile>false</xnocompile>
78 <keep>true</keep>
79 </configuration>
80 </execution>
Benjamin, Max (mb388a)7328b3f2019-04-21 11:11:21 -040081
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050082 <execution>
83 <id>generate-vnf-async-stubs</id>
84 <phase>process-classes</phase>
85 <goals>
86 <goal>wsimport</goal>
87 </goals>
88 <configuration>
89 <vmArgs>
90 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
91 </vmArgs>
92 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
93 <wsdlFiles>
94 <wsdlFile>VnfAdapterNotify.wsdl</wsdlFile>
95 </wsdlFiles>
96 <wsdlLocation>/VnfAdapterNotify.wsdl</wsdlLocation>
97 <packageName>org.onap.so.adapters.vnf.async.client</packageName>
98 <xnocompile>false</xnocompile>
99 <keep>true</keep>
100 </configuration>
101 </execution>
102 </executions>
103 </plugin>
104 <plugin>
105 <groupId>org.codehaus.mojo</groupId>
106 <artifactId>build-helper-maven-plugin</artifactId>
107 <version>3.0.0</version>
108 <executions>
109 <execution>
110 <id>add-source</id>
111 <phase>generate-sources</phase>
112 <goals>
113 <goal>add-source</goal>
114 </goals>
115 <configuration>
116 <sources>
117 <source>${project.build.directory}/generated-sources/wsimport/</source>
118 </sources>
119 </configuration>
120 </execution>
121 </executions>
Benjamin, Max (mb388a)7328b3f2019-04-21 11:11:21 -0400122 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400123 -->
124 <plugin>
125 <groupId>org.jacoco</groupId>
126 <artifactId>jacoco-maven-plugin</artifactId>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-dependency-plugin</artifactId>
131 <executions>
132 <execution>
133 <id>extract-docker-file</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400134 <configuration>
135 <skip>false</skip>
136 </configuration>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <groupId>io.fabric8</groupId>
Benjamin, Max5f57d092020-05-13 17:48:03 -0400142 <artifactId>docker-maven-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400143 <executions>
144 <execution>
145 <id>start</id>
146 </execution>
147 </executions>
148 </plugin>
Smokowski, Stevene4687ee2019-05-15 14:19:49 -0400149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-jar-plugin</artifactId>
152 <executions>
153 <execution>
154 <id>original</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400155 <phase>package</phase>
Smokowski, Stevene4687ee2019-05-15 14:19:49 -0400156 </execution>
157 </executions>
158 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400159 </plugins>
160
161
162 <pluginManagement>
163 <plugins>
Smokowski, Stevene4687ee2019-05-15 14:19:49 -0400164 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build
165 itself. -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400166 <plugin>
167 <groupId>org.eclipse.m2e</groupId>
168 <artifactId>lifecycle-mapping</artifactId>
169 <version>1.0.0</version>
170 <configuration>
171 <lifecycleMappingMetadata>
172 <pluginExecutions>
173 <pluginExecution>
174 <pluginExecutionFilter>
175 <groupId>
Smokowski, Stevene4687ee2019-05-15 14:19:49 -0400176 org.jvnet.jax-ws-commons
177 </groupId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400178 <artifactId>
Smokowski, Stevene4687ee2019-05-15 14:19:49 -0400179 jaxws-maven-plugin
180 </artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400181 <versionRange>
Smokowski, Stevene4687ee2019-05-15 14:19:49 -0400182 [2.3,)
183 </versionRange>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400184 <goals>
185 <goal>wsgen</goal>
186 </goals>
187 </pluginExecutionFilter>
188 <action>
189 <ignore>
190 </ignore>
191 </action>
192 </pluginExecution>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400193 <pluginExecution>
194 <pluginExecutionFilter>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-dependency-plugin</artifactId>
197 <versionRange>[1.0.0,)</versionRange>
198 <goals>
199 <goal>unpack</goal>
200 </goals>
201 </pluginExecutionFilter>
202 <action>
203 <execute />
204 </action>
205 </pluginExecution>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400206 </pluginExecutions>
207 </lifecycleMappingMetadata>
208 </configuration>
209 </plugin>
210 </plugins>
211 </pluginManagement>
212 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400213
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400214 <dependencies>
215 <!-- added for spring boot support -->
216 <dependency>
217 <groupId>org.springframework.boot</groupId>
218 <artifactId>spring-boot-starter-actuator</artifactId>
219 </dependency>
220 <dependency>
221 <groupId>org.springframework.boot</groupId>
222 <artifactId>spring-boot-starter-web</artifactId>
223 </dependency>
224 <dependency>
225 <groupId>org.springframework.boot</groupId>
226 <artifactId>spring-boot-starter-data-jpa</artifactId>
227 </dependency>
228 <dependency>
229 <groupId>org.apache.cxf</groupId>
230 <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
231 <version>${cxf.version}</version>
232 </dependency>
233 <dependency>
234 <groupId>org.apache.cxf</groupId>
235 <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
236 <version>${cxf.version}</version>
237 </dependency>
238 <dependency>
239 <groupId>org.apache.cxf</groupId>
240 <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
241 <version>${cxf.version}</version>
242 </dependency>
243 <dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400244 <groupId>org.springframework.boot</groupId>
245 <artifactId>spring-boot-starter-test</artifactId>
246 <scope>test</scope>
247 </dependency>
248 <dependency>
249 <groupId>janino</groupId>
250 <artifactId>janino</artifactId>
251 <version>2.5.15</version>
252 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500253
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400254 <!-- end added for spring boot support -->
Munir Ahmad563a3572019-02-08 16:42:03 -0500255
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400256 <dependency>
257 <groupId>org.pacesys</groupId>
258 <artifactId>openstack4j-core</artifactId>
Munir Ahmadb05c4752019-10-29 09:05:04 -0400259 <version>3.2.0</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400260 </dependency>
261 <dependency>
262 <groupId>org.pacesys.openstack4j.connectors</groupId>
Boslet, Cory82b61ea2020-06-16 09:47:29 -0400263 <artifactId>openstack4j-jersey2</artifactId>
Munir Ahmadb05c4752019-10-29 09:05:04 -0400264 <version>3.2.0</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400265 </dependency>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400266 <dependency>
Boslet, Cory82b61ea2020-06-16 09:47:29 -0400267 <groupId>org.glassfish.jersey.core</groupId>
268 <artifactId>jersey-client</artifactId>
269 <version>2.22.1</version>
270 </dependency>
271 <dependency>
272 <groupId>org.glassfish.jersey.media</groupId>
273 <artifactId>jersey-media-json-jackson</artifactId>
274 <version>2.22.1</version>
275 </dependency>
276 <dependency>
277 <groupId>org.glassfish.jersey.core</groupId>
278 <artifactId>jersey-common</artifactId>
279 <version>2.22.1</version>
280 </dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400281 <dependency>
282 <groupId>commons-collections</groupId>
283 <artifactId>commons-collections</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400284 <version>3.2.2</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400285 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500286
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400287 <dependency>
288 <groupId>com.typesafe</groupId>
289 <artifactId>config</artifactId>
290 <version>1.3.2</version>
291 </dependency>
292 <dependency>
293 <groupId>com.google.code.findbugs</groupId>
294 <artifactId>jsr305</artifactId>
295 <version>1.3.9</version>
296 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500297
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400298 <dependency>
299 <groupId>commons-validator</groupId>
300 <artifactId>commons-validator</artifactId>
301 <version>1.4.0</version>
302 </dependency>
303
304 <!-- added for unit testing -->
305 <dependency>
306 <groupId>org.onap.so.adapters</groupId>
307 <artifactId>mso-adapter-utils</artifactId>
308 <version>${project.version}</version>
309 </dependency>
310 <dependency>
311 <groupId>org.onap.so.adapters</groupId>
312 <artifactId>mso-adapters-rest-interface</artifactId>
313 <version>${project.version}</version>
314 </dependency>
315 <dependency>
316 <groupId>javax.servlet</groupId>
317 <artifactId>javax.servlet-api</artifactId>
318 <scope>test</scope>
319 </dependency>
320 <dependency>
321 <groupId>org.mariadb.jdbc</groupId>
322 <artifactId>mariadb-java-client</artifactId>
323 </dependency>
324 <dependency>
325 <groupId>org.onap.so</groupId>
326 <artifactId>common</artifactId>
327 <version>${project.version}</version>
328 </dependency>
329 <dependency>
330 <groupId>ch.vorburger.mariaDB4j</groupId>
331 <artifactId>mariaDB4j</artifactId>
332 <version>2.2.3</version>
333 <scope>test</scope>
334 </dependency>
335 <dependency>
336 <groupId>org.springframework.cloud</groupId>
337 <artifactId>spring-cloud-contract-wiremock</artifactId>
338 <version>1.2.4.RELEASE</version>
339 <scope>test</scope>
340 </dependency>
341 <dependency>
342 <groupId>org.onap.so</groupId>
343 <artifactId>cxf-logging</artifactId>
344 <version>${project.version}</version>
345 </dependency>
346 <dependency>
347 <groupId>org.onap.so.libs.openstack-java-sdk</groupId>
348 <artifactId>nova-model</artifactId>
349 <version>${openstack.version}</version>
350 </dependency>
351 <dependency>
352 <groupId>org.camunda.bpm</groupId>
353 <artifactId>camunda-external-task-client</artifactId>
354 <version>1.1.1</version>
355 </dependency>
Boslet, Cory17912772020-07-07 11:49:48 -0400356 <dependency>
357 <groupId>com.github.seancfoley</groupId>
358 <artifactId>ipaddress</artifactId>
359 <version>2.0.0</version>
360 </dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400361 </dependencies>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400362</project>