Merge "JUnit tests for MsoMulticloudUtils"
[so.git] / bpmn / MSOCommonBPMN / pom.xml
1 <?xml version="1.0"?>
2 <project
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5         <modelVersion>4.0.0</modelVersion>
6         <parent>
7                 <groupId>org.onap.so</groupId>
8                 <artifactId>bpmn</artifactId>
9                 <version>1.4.0-SNAPSHOT</version>
10         </parent>
11         <artifactId>MSOCommonBPMN</artifactId>
12         <name>MSOCommonBPMN</name>
13         <packaging>jar</packaging>
14
15         <properties>
16                 <maven.compiler.target>1.8</maven.compiler.target>
17                 <maven.compiler.source>1.8</maven.compiler.source>
18         </properties>
19
20         <build>
21                 <plugins>
22                         <plugin>
23                                 <groupId>org.apache.maven.plugins</groupId>
24                                 <artifactId>maven-compiler-plugin</artifactId>
25                                 <executions>
26                                         <execution>
27                                                 <id>test-compile</id>
28                                                 <phase>compile</phase>
29                                                 <goals>
30                                                         <goal>testCompile</goal>
31                                                 </goals>
32                                                 <configuration>
33                                                         <skip>false</skip>
34                                                 </configuration>
35                                         </execution>
36                                 </executions>
37                         </plugin>
38
39                         <plugin>
40                                 <groupId>org.apache.maven.plugins</groupId>
41                                 <artifactId>maven-jar-plugin</artifactId>
42                                 <version>3.0.2</version>
43                                 <executions>
44                                         <execution>
45                                                 <goals>
46                                                         <goal>test-jar</goal>
47                                                 </goals>
48                                                 <configuration>
49                                                         <skip>false</skip>
50                                                         <excludes>
51                                                                 <exclude>**/validation/*</exclude>
52                                                         </excludes>
53                                                 </configuration>
54                                         </execution>
55                                 </executions>
56                         </plugin>
57                         <plugin>
58                                 <groupId>org.apache.cxf</groupId>
59                                 <artifactId>cxf-codegen-plugin</artifactId>
60                                 <version>2.5.2</version>
61                         </plugin>
62                         <plugin>
63                                 <groupId>org.apache.maven.plugins</groupId>
64                                 <artifactId>maven-eclipse-plugin</artifactId>
65                                 <version>2.8</version>
66                                 <configuration>
67                                         <additionalProjectnatures>
68                                                 <projectnature>org.eclipse.jdt.groovy.core.groovyNature</projectnature>
69                                         </additionalProjectnatures>
70                                         <sourceIncludes>
71                                                 <sourceInclude>**/*.groovy</sourceInclude>
72                                         </sourceIncludes>
73                                 </configuration>
74                         </plugin>
75                         <plugin>
76                                 <artifactId>maven-antrun-plugin</artifactId>
77                                 <executions>
78                                         <execution>
79                                                 <id>compile</id>
80                                                 <phase>compile</phase>
81                                                 <configuration>
82                                                         <tasks>
83                                                                 <mkdir dir="${basedir}/src/main/groovy" />
84                                                                 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
85                                                                         <classpath refid="maven.compile.classpath" />
86                                                                 </taskdef>
87                                                                 <mkdir dir="${project.build.outputDirectory}" />
88                                                                 <groovyc destdir="${project.build.outputDirectory}"
89                                                                         srcdir="${basedir}/src/main/groovy/" listfiles="true">
90                                                                         <classpath refid="maven.compile.classpath" />
91                                                                 </groovyc>
92                                                         </tasks>
93                                                 </configuration>
94                                                 <goals>
95                                                         <goal>run</goal>
96                                                 </goals>
97                                         </execution>
98                                         <execution>
99                                                 <id>test-compile</id>
100                                                 <phase>test-compile</phase>
101                                                 <configuration>
102                                                         <tasks>
103                                                                 <mkdir dir="${basedir}/src/test/groovy" />
104                                                                 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
105                                                                         <classpath refid="maven.test.classpath" />
106                                                                 </taskdef>
107                                                                 <mkdir dir="${project.build.testOutputDirectory}" />
108                                                                 <groovyc destdir="${project.build.testOutputDirectory}"
109                                                                         srcdir="${basedir}/src/test/groovy/" listfiles="true">
110                                                                         <classpath refid="maven.test.classpath" />
111                                                                 </groovyc>
112                                                         </tasks>
113                                                 </configuration>
114                                                 <goals>
115                                                         <goal>run</goal>
116                                                 </goals>
117                                         </execution>
118                                 </executions>
119                         </plugin>
120                         <plugin>
121                                 <groupId>org.apache.maven.plugins</groupId>
122                                 <artifactId>maven-surefire-plugin</artifactId>
123                                 <executions>
124                                         <execution>
125                                                 <id>default-test</id>
126                                                 <goals>
127                                                         <goal>test</goal>
128                                                 </goals>
129                                                 <configuration>
130                                                         <includes>
131                                                                 <include>**/AllTestSuites.java</include>
132                                                         </includes>
133                                                 </configuration>
134                                         </execution>
135                                         <execution>
136                                                 <id>non-spring-tests</id>
137                                                 <goals>
138                                                         <goal>test</goal>
139                                                 </goals>
140                                                 <configuration>
141                                                         <includes>
142                                                                 <include>**/NonSpringSuite.java</include>
143                                                         </includes>
144                                                 </configuration>
145                                         </execution>
146                                         <execution>
147                                                 <id>groovy-tests</id>
148                                                 <goals>
149                                                         <goal>test</goal>
150                                                 </goals>
151                                                 <configuration>
152                                                         <includes>
153                                                                 <include>**/AllGroovyTestSuites.java</include>
154                                                         </includes>
155                                                 </configuration>
156                                         </execution>
157                                 </executions>
158                                 <configuration>
159                                         <parallel>suites</parallel>
160                                 </configuration>
161                         </plugin>
162                 </plugins>
163                 <pluginManagement>
164                         <plugins>
165                                 <!--This plugin's configuration is used to store Eclipse m2e settings
166                                         only. It has no influence on the Maven build itself. -->
167                                 <plugin>
168                                         <groupId>org.eclipse.m2e</groupId>
169                                         <artifactId>lifecycle-mapping</artifactId>
170                                         <version>1.0.0</version>
171                                         <configuration>
172                                                 <lifecycleMappingMetadata>
173                                                         <pluginExecutions>
174                                                                 <pluginExecution>
175                                                                         <pluginExecutionFilter>
176                                                                                 <groupId>
177                                                                                         org.apache.maven.plugins
178                                                                                 </groupId>
179                                                                                 <artifactId>
180                                                                                         maven-antrun-plugin
181                                                                                 </artifactId>
182                                                                                 <versionRange>
183                                                                                         [1.3,)
184                                                                                 </versionRange>
185                                                                                 <goals>
186                                                                                         <goal>run</goal>
187                                                                                 </goals>
188                                                                         </pluginExecutionFilter>
189                                                                         <action>
190                                                                                 <ignore></ignore>
191                                                                         </action>
192                                                                 </pluginExecution>
193                                                         </pluginExecutions>
194                                                 </lifecycleMappingMetadata>
195                                         </configuration>
196                                 </plugin>
197                         </plugins>
198                 </pluginManagement>
199         </build>
200         <dependencyManagement>
201                 <dependencies>
202                         <dependency>
203                                 <!-- Import dependency management from camunda -->
204                                 <groupId>org.camunda.bpm</groupId>
205                                 <artifactId>camunda-bom</artifactId>
206                                 <version>${camunda.version}</version>
207                                 <scope>import</scope>
208                                 <type>pom</type>
209                         </dependency>
210                 </dependencies>
211         </dependencyManagement>
212         <dependencies>
213                 <dependency>
214                         <groupId>org.camunda.bpm.springboot</groupId>
215                         <artifactId>camunda-bpm-spring-boot-starter</artifactId>
216                         <version>${camunda.springboot.version}</version>
217                         <scope>test</scope>
218                 </dependency>
219                 <dependency>
220                         <groupId>org.springframework.cloud</groupId>
221                         <artifactId>spring-cloud-contract-wiremock</artifactId>
222                         <version>1.2.4.RELEASE</version>
223                         <scope>test</scope>
224                 </dependency>
225                 <dependency>
226                         <groupId>org.springframework.boot</groupId>
227                         <artifactId>spring-boot-starter-test</artifactId>
228                         <scope>test</scope>
229                 </dependency>
230                 <dependency>
231                         <groupId>org.camunda.bpm.extension.mockito</groupId>
232                         <artifactId>camunda-bpm-mockito</artifactId>
233                         <version>3.2.1</version>
234                         <scope>test</scope>
235                 </dependency>
236                 <dependency>
237                         <groupId>org.camunda.connect</groupId>
238                         <artifactId>camunda-connect-connectors-all</artifactId>
239                 </dependency>
240                 <dependency>
241                         <groupId>commons-beanutils</groupId>
242                         <artifactId>commons-beanutils</artifactId>
243                         <version>1.9.3</version>
244                 </dependency>
245                 <dependency>
246                         <groupId>org.springframework.boot</groupId>
247                         <artifactId>spring-boot-starter-actuator</artifactId>
248                 </dependency>
249                 <dependency>
250                         <groupId>org.springframework.boot</groupId>
251                         <artifactId>spring-boot-starter-web</artifactId>
252                 </dependency>
253                 <dependency>
254                         <!-- Needed for InMemoryH2Test -->
255                         <groupId>com.h2database</groupId>
256                         <artifactId>h2</artifactId>
257                         <scope>test</scope>
258                 </dependency>
259                 <dependency>
260                         <groupId>org.codehaus.groovy</groupId>
261                         <artifactId>groovy-all</artifactId>
262                 </dependency>
263                 <dependency>
264                         <groupId>org.onap.so</groupId>
265                         <artifactId>MSOCoreBPMN</artifactId>
266                         <version>${project.version}</version>
267                 </dependency>
268                 <dependency>
269                         <groupId>org.onap.so</groupId>
270                         <artifactId>mso-catalog-db</artifactId>
271                         <version>${project.version}</version>
272                 </dependency>
273                 <dependency>
274                         <groupId>org.onap.so</groupId>
275                         <artifactId>mso-requests-db</artifactId>
276                         <version>${project.version}</version>
277                 </dependency>
278                 <dependency>
279                         <groupId>org.onap.so</groupId>
280                         <artifactId>common</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                 </dependency>
292                 <dependency>
293                         <groupId>org.apache.httpcomponents</groupId>
294                         <artifactId>httpclient</artifactId>
295                 </dependency>
296                 <dependency>
297                         <groupId>commons-lang</groupId>
298                         <artifactId>commons-lang</artifactId>
299                         <version>2.6</version>
300                 </dependency>
301                 <dependency>
302                         <groupId>com.jayway.jsonpath</groupId>
303                         <artifactId>json-path</artifactId>
304                 </dependency>
305                 <dependency>
306                         <groupId>javax.ws.rs</groupId>
307                         <artifactId>javax.ws.rs-api</artifactId>
308                         <version>${jax.ws.rs}</version>
309                 </dependency>
310
311                 <dependency>
312                         <groupId>org.onap.appc.client</groupId>
313                         <artifactId>client-lib</artifactId>
314                         <version>1.4.4</version>
315                         <exclusions>
316                                 <exclusion>
317                                         <groupId>org.mockito</groupId>
318                                         <artifactId>mockito-core</artifactId>
319                                 </exclusion>
320                                 <exclusion>
321                                         <groupId>org.powermock</groupId>
322                                         <artifactId>powermock-module-junit4</artifactId>
323                                 </exclusion>
324                                 <exclusion>
325                                         <groupId>org.powermock</groupId>
326                                         <artifactId>powermock-api-mockito</artifactId>
327                                 </exclusion>
328                         </exclusions>
329                 </dependency>
330                 <dependency>
331                         <groupId>org.onap.appc.client</groupId>
332                         <artifactId>client-kit</artifactId>
333                         <version>1.4.4</version>
334                         <exclusions>
335                                 <exclusion>
336                                         <groupId>org.mockito</groupId>
337                                         <artifactId>mockito-core</artifactId>
338                                 </exclusion>
339                         </exclusions>
340                 </dependency>
341                 <dependency>
342                         <groupId>org.aspectj</groupId>
343                         <artifactId>aspectjrt</artifactId>
344                 </dependency>
345                 <dependency>
346                         <groupId>org.json</groupId>
347                         <artifactId>json</artifactId>
348                 </dependency>
349                 <dependency>
350                         <groupId>org.glassfish.jersey.core</groupId>
351                         <artifactId>jersey-common</artifactId>
352                 </dependency>
353                 <dependency>
354                         <groupId>org.glassfish.jersey.core</groupId>
355                         <artifactId>jersey-client</artifactId>
356                 </dependency>
357                 <dependency>
358                 <groupId>org.glassfish.jersey.inject</groupId>
359                 <artifactId>jersey-hk2</artifactId>
360                 <version>2.26</version>
361         </dependency>
362                 <dependency>
363                         <groupId>org.glassfish.jersey.media</groupId>
364                         <artifactId>jersey-media-json-jackson</artifactId>
365                 </dependency>
366                 <dependency>
367                         <groupId>org.onap.sdc.sdc-tosca</groupId>
368                         <artifactId>sdc-tosca</artifactId>
369                         <version>1.4.4</version>
370                 </dependency>
371                 <dependency>
372                         <groupId>org.onap.sdc.jtosca</groupId>
373                         <artifactId>jtosca</artifactId>
374                         <version>1.4.4</version>
375                 </dependency>
376                 <dependency>
377                         <groupId>org.springframework.boot</groupId>
378                         <artifactId>spring-boot-starter-test</artifactId>
379                         <scope>test</scope>
380                 </dependency>
381                 <dependency>
382                         <groupId>uk.co.blackpepper.bowman</groupId>
383                         <artifactId>bowman-client</artifactId>
384                         <version>0.3.0</version>
385                 </dependency>
386                 <dependency>
387                         <groupId>pl.pragmatists</groupId>
388                         <artifactId>JUnitParams</artifactId>
389                         <version>1.1.0</version>
390                 </dependency>
391                 <dependency>
392                         <groupId>ch.vorburger.mariaDB4j</groupId>
393                         <artifactId>mariaDB4j</artifactId>
394                         <version>2.2.3</version>
395                         <scope>test</scope>
396                 </dependency>
397                 <dependency>
398                         <groupId>org.springframework.cloud</groupId>
399                         <artifactId>spring-cloud-contract-wiremock</artifactId>
400                         <version>1.2.4.RELEASE</version>
401                         <scope>test</scope>
402                 </dependency>
403                 <dependency>
404                         <groupId>org.assertj</groupId>
405                         <artifactId>assertj-core</artifactId>
406                         <version>3.11.1</version>
407                         <scope>test</scope>
408                 </dependency>
409         </dependencies>
410 </project>