blob: 088f9499ce5dbc18d1903a023ddd207752ecc7ab [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>
85
86 <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>
126 </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>
150 </plugins>
151
152
153 <pluginManagement>
154 <plugins>
155 <!--This plugin's configuration is used to store Eclipse m2e settings
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400156 only. It has no influence on the Maven build itself. -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400157 <plugin>
158 <groupId>org.eclipse.m2e</groupId>
159 <artifactId>lifecycle-mapping</artifactId>
160 <version>1.0.0</version>
161 <configuration>
162 <lifecycleMappingMetadata>
163 <pluginExecutions>
164 <pluginExecution>
165 <pluginExecutionFilter>
166 <groupId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400167 org.jvnet.jax-ws-commons
168 </groupId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400169 <artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400170 jaxws-maven-plugin
171 </artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400172 <versionRange>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400173 [2.3,)
174 </versionRange>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400175 <goals>
176 <goal>wsgen</goal>
177 </goals>
178 </pluginExecutionFilter>
179 <action>
180 <ignore>
181 </ignore>
182 </action>
183 </pluginExecution>
184 </pluginExecutions>
185 </lifecycleMappingMetadata>
186 </configuration>
187 </plugin>
188 </plugins>
189 </pluginManagement>
190 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400191
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400192 <dependencies>
193 <!-- added for spring boot support -->
194 <dependency>
195 <groupId>org.springframework.boot</groupId>
196 <artifactId>spring-boot-starter-actuator</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>org.springframework.boot</groupId>
200 <artifactId>spring-boot-starter-web</artifactId>
201 </dependency>
202 <dependency>
203 <groupId>org.springframework.boot</groupId>
204 <artifactId>spring-boot-starter-data-jpa</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>org.apache.cxf</groupId>
208 <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
209 <version>${cxf.version}</version>
210 </dependency>
211 <dependency>
212 <groupId>org.apache.cxf</groupId>
213 <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
214 <version>${cxf.version}</version>
215 </dependency>
216 <dependency>
217 <groupId>org.apache.cxf</groupId>
218 <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
219 <version>${cxf.version}</version>
220 </dependency>
221 <dependency>
222 <groupId>org.webjars</groupId>
223 <artifactId>swagger-ui</artifactId>
224 <version>3.5.0</version>
225 </dependency>
226 <dependency>
227 <groupId>org.springframework.boot</groupId>
228 <artifactId>spring-boot-starter-test</artifactId>
229 <scope>test</scope>
230 </dependency>
231 <dependency>
232 <groupId>janino</groupId>
233 <artifactId>janino</artifactId>
234 <version>2.5.15</version>
235 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500236
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400237 <!-- end added for spring boot support -->
Munir Ahmad563a3572019-02-08 16:42:03 -0500238
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400239 <dependency>
240 <groupId>org.pacesys</groupId>
241 <artifactId>openstack4j-core</artifactId>
242 <version>3.1.0</version>
243 </dependency>
244 <dependency>
245 <groupId>org.pacesys.openstack4j.connectors</groupId>
246 <artifactId>openstack4j-httpclient</artifactId>
247 <version>3.1.0</version>
248 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500249
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400250 <dependency>
251 <groupId>commons-collections</groupId>
252 <artifactId>commons-collections</artifactId>
253 <version>3.2.1</version>
254 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500255
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400256 <dependency>
257 <groupId>com.typesafe</groupId>
258 <artifactId>config</artifactId>
259 <version>1.3.2</version>
260 </dependency>
261 <dependency>
262 <groupId>com.google.code.findbugs</groupId>
263 <artifactId>jsr305</artifactId>
264 <version>1.3.9</version>
265 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500266
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400267 <dependency>
268 <groupId>commons-validator</groupId>
269 <artifactId>commons-validator</artifactId>
270 <version>1.4.0</version>
271 </dependency>
272
273 <!-- added for unit testing -->
274 <dependency>
275 <groupId>org.onap.so.adapters</groupId>
276 <artifactId>mso-adapter-utils</artifactId>
277 <version>${project.version}</version>
278 </dependency>
279 <dependency>
280 <groupId>org.onap.so.adapters</groupId>
281 <artifactId>mso-adapters-rest-interface</artifactId>
282 <version>${project.version}</version>
283 </dependency>
284 <dependency>
285 <groupId>javax.servlet</groupId>
286 <artifactId>javax.servlet-api</artifactId>
287 <scope>test</scope>
288 </dependency>
289 <dependency>
290 <groupId>org.mariadb.jdbc</groupId>
291 <artifactId>mariadb-java-client</artifactId>
292 </dependency>
293 <dependency>
294 <groupId>org.onap.so</groupId>
295 <artifactId>common</artifactId>
296 <version>${project.version}</version>
297 </dependency>
298 <dependency>
299 <groupId>ch.vorburger.mariaDB4j</groupId>
300 <artifactId>mariaDB4j</artifactId>
301 <version>2.2.3</version>
302 <scope>test</scope>
303 </dependency>
304 <dependency>
305 <groupId>org.springframework.cloud</groupId>
306 <artifactId>spring-cloud-contract-wiremock</artifactId>
307 <version>1.2.4.RELEASE</version>
308 <scope>test</scope>
309 </dependency>
310 <dependency>
311 <groupId>org.onap.so</groupId>
312 <artifactId>cxf-logging</artifactId>
313 <version>${project.version}</version>
314 </dependency>
315 <dependency>
316 <groupId>org.onap.so.libs.openstack-java-sdk</groupId>
317 <artifactId>nova-model</artifactId>
318 <version>${openstack.version}</version>
319 </dependency>
320 <dependency>
321 <groupId>org.camunda.bpm</groupId>
322 <artifactId>camunda-external-task-client</artifactId>
323 <version>1.1.1</version>
324 </dependency>
325 </dependencies>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400326</project>