blob: 7ffcd8308c054d0b19351a442aa81ecfd0afbd59 [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>
7 <version>1.4.0-SNAPSHOT</version>
8 </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>
21 <groupId>org.apache.maven.plugins</groupId>
22 <artifactId>maven-dependency-plugin</artifactId>
23 </plugin>
24 <plugin>
25 <groupId>org.springframework.boot</groupId>
26 <artifactId>spring-boot-maven-plugin</artifactId>
27 <configuration>
28 <mainClass>org.onap.so.adapters.openstack.MsoOpenstackAdaptersApplication</mainClass>
29 </configuration>
30 <executions>
31 <execution>
32 <goals>
33 <goal>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040034 repackage
35 </goal>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040036 </goals>
37 </execution>
38 </executions>
39 </plugin>
40 <plugin>
41 <groupId>org.apache.maven.plugins</groupId>
42 <artifactId>maven-surefire-plugin</artifactId>
43 <executions>
44 <execution>
45 <id>default-test</id>
46 <goals>
47 <goal>test</goal>
48 </goals>
49 <configuration>
50 <includes>
51 <include>**/AllTestsTestSuite.java</include>
52 </includes>
53 <parallel>suites</parallel>
54 </configuration>
55 </execution>
56 </executions>
57 </plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040058
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040059 <!-- 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 -040060 <plugin>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050061 <groupId>org.codehaus.mojo</groupId>
62 <artifactId>jaxws-maven-plugin</artifactId>
63 <version>2.4.1</version>
64 <executions>
65 <execution>
66 <id>generate-network-async-stubs</id>
67 <phase>process-classes</phase>
68 <goals>
69 <goal>wsimport</goal>
70 </goals>
71 <configuration>
72 <vmArgs>
73 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
74 </vmArgs>
75 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
76 <wsdlFiles>
77 <wsdlFile>NetworkAdapterNotify.wsdl</wsdlFile>
78 </wsdlFiles>
79 <wsdlLocation>/NetworkAdapterNotify.wsdl</wsdlLocation>
80 <packageName>org.onap.so.adapters.network.async.client</packageName>
81 <xnocompile>false</xnocompile>
82 <keep>true</keep>
83 </configuration>
84 </execution>
Benjamin, Max (mb388a)7328b3f2019-04-21 11:11:21 -040085
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050086 <execution>
87 <id>generate-vnf-async-stubs</id>
88 <phase>process-classes</phase>
89 <goals>
90 <goal>wsimport</goal>
91 </goals>
92 <configuration>
93 <vmArgs>
94 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
95 </vmArgs>
96 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
97 <wsdlFiles>
98 <wsdlFile>VnfAdapterNotify.wsdl</wsdlFile>
99 </wsdlFiles>
100 <wsdlLocation>/VnfAdapterNotify.wsdl</wsdlLocation>
101 <packageName>org.onap.so.adapters.vnf.async.client</packageName>
102 <xnocompile>false</xnocompile>
103 <keep>true</keep>
104 </configuration>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>build-helper-maven-plugin</artifactId>
111 <version>3.0.0</version>
112 <executions>
113 <execution>
114 <id>add-source</id>
115 <phase>generate-sources</phase>
116 <goals>
117 <goal>add-source</goal>
118 </goals>
119 <configuration>
120 <sources>
121 <source>${project.build.directory}/generated-sources/wsimport/</source>
122 </sources>
123 </configuration>
124 </execution>
125 </executions>
Benjamin, Max (mb388a)7328b3f2019-04-21 11:11:21 -0400126 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400127 -->
128 <plugin>
129 <groupId>org.jacoco</groupId>
130 <artifactId>jacoco-maven-plugin</artifactId>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-dependency-plugin</artifactId>
135 <executions>
136 <execution>
137 <id>extract-docker-file</id>
138 </execution>
139 </executions>
140 </plugin>
141 <plugin>
142 <groupId>io.fabric8</groupId>
143 <artifactId>fabric8-maven-plugin</artifactId>
144 <executions>
145 <execution>
146 <id>start</id>
147 </execution>
148 </executions>
149 </plugin>
Smokowski, Stevene4687ee2019-05-15 14:19:49 -0400150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-jar-plugin</artifactId>
153 <executions>
154 <execution>
155 <id>original</id>
156 </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>
193 </pluginExecutions>
194 </lifecycleMappingMetadata>
195 </configuration>
196 </plugin>
197 </plugins>
198 </pluginManagement>
199 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400200
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400201 <dependencies>
202 <!-- added for spring boot support -->
203 <dependency>
204 <groupId>org.springframework.boot</groupId>
205 <artifactId>spring-boot-starter-actuator</artifactId>
206 </dependency>
207 <dependency>
208 <groupId>org.springframework.boot</groupId>
209 <artifactId>spring-boot-starter-web</artifactId>
210 </dependency>
211 <dependency>
212 <groupId>org.springframework.boot</groupId>
213 <artifactId>spring-boot-starter-data-jpa</artifactId>
214 </dependency>
215 <dependency>
216 <groupId>org.apache.cxf</groupId>
217 <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
218 <version>${cxf.version}</version>
219 </dependency>
220 <dependency>
221 <groupId>org.apache.cxf</groupId>
222 <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
223 <version>${cxf.version}</version>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.cxf</groupId>
227 <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
228 <version>${cxf.version}</version>
229 </dependency>
230 <dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400231 <groupId>org.springframework.boot</groupId>
232 <artifactId>spring-boot-starter-test</artifactId>
233 <scope>test</scope>
234 </dependency>
235 <dependency>
236 <groupId>janino</groupId>
237 <artifactId>janino</artifactId>
238 <version>2.5.15</version>
239 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500240
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400241 <!-- end added for spring boot support -->
Munir Ahmad563a3572019-02-08 16:42:03 -0500242
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400243 <dependency>
244 <groupId>org.pacesys</groupId>
245 <artifactId>openstack4j-core</artifactId>
246 <version>3.1.0</version>
247 </dependency>
248 <dependency>
249 <groupId>org.pacesys.openstack4j.connectors</groupId>
250 <artifactId>openstack4j-httpclient</artifactId>
251 <version>3.1.0</version>
252 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500253
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400254 <dependency>
255 <groupId>commons-collections</groupId>
256 <artifactId>commons-collections</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400257 <version>3.2.2</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400258 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500259
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400260 <dependency>
261 <groupId>com.typesafe</groupId>
262 <artifactId>config</artifactId>
263 <version>1.3.2</version>
264 </dependency>
265 <dependency>
266 <groupId>com.google.code.findbugs</groupId>
267 <artifactId>jsr305</artifactId>
268 <version>1.3.9</version>
269 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500270
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400271 <dependency>
272 <groupId>commons-validator</groupId>
273 <artifactId>commons-validator</artifactId>
274 <version>1.4.0</version>
275 </dependency>
276
277 <!-- added for unit testing -->
278 <dependency>
279 <groupId>org.onap.so.adapters</groupId>
280 <artifactId>mso-adapter-utils</artifactId>
281 <version>${project.version}</version>
282 </dependency>
283 <dependency>
284 <groupId>org.onap.so.adapters</groupId>
285 <artifactId>mso-adapters-rest-interface</artifactId>
286 <version>${project.version}</version>
287 </dependency>
288 <dependency>
289 <groupId>javax.servlet</groupId>
290 <artifactId>javax.servlet-api</artifactId>
291 <scope>test</scope>
292 </dependency>
293 <dependency>
294 <groupId>org.mariadb.jdbc</groupId>
295 <artifactId>mariadb-java-client</artifactId>
296 </dependency>
297 <dependency>
298 <groupId>org.onap.so</groupId>
299 <artifactId>common</artifactId>
300 <version>${project.version}</version>
301 </dependency>
302 <dependency>
303 <groupId>ch.vorburger.mariaDB4j</groupId>
304 <artifactId>mariaDB4j</artifactId>
305 <version>2.2.3</version>
306 <scope>test</scope>
307 </dependency>
308 <dependency>
309 <groupId>org.springframework.cloud</groupId>
310 <artifactId>spring-cloud-contract-wiremock</artifactId>
311 <version>1.2.4.RELEASE</version>
312 <scope>test</scope>
313 </dependency>
314 <dependency>
315 <groupId>org.onap.so</groupId>
316 <artifactId>cxf-logging</artifactId>
317 <version>${project.version}</version>
318 </dependency>
319 <dependency>
320 <groupId>org.onap.so.libs.openstack-java-sdk</groupId>
321 <artifactId>nova-model</artifactId>
322 <version>${openstack.version}</version>
323 </dependency>
324 <dependency>
325 <groupId>org.camunda.bpm</groupId>
326 <artifactId>camunda-external-task-client</artifactId>
327 <version>1.1.1</version>
328 </dependency>
329 </dependencies>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400330</project>