blob: 89e5ce24eaa2eed72fb49e6ec136f61a0359182d [file] [log] [blame]
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -07001<?xml version="1.0"?>
Arthur Martella62cd6aa2017-09-08 13:27:46 -04002<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">
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -07005 <modelVersion>4.0.0</modelVersion>
6 <parent>
Rob Daugherty9de3ce02017-08-04 12:15:51 -04007 <groupId>org.openecomp.so</groupId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -04008 <artifactId>bpmn</artifactId>
9 <version>1.1.0-SNAPSHOT</version>
10 </parent>
11 <artifactId>MSOCommonBPMN</artifactId>
12 <name>MSOCommonBPMN</name>
13 <packaging>war</packaging>
14
15 <properties>
16 <camunda.version>7.6.0</camunda.version>
17 <spring.version>3.1.2.RELEASE</spring.version>
18 <httpclient.version>3.1</httpclient.version>
19 <jax.ws.rs>2.0.1</jax.ws.rs>
20 <springmvc>4.1.4.RELEASE</springmvc>
21 <jackson.version>1.1.1</jackson.version>
22 <maven.compiler.target>1.8</maven.compiler.target>
23 <maven.compiler.source>1.8</maven.compiler.source>
24 </properties>
25
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070026
27 <build>
28 <plugins>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040029 <plugin>
30 <groupId>org.apache.maven.plugins</groupId>
31 <artifactId>maven-compiler-plugin</artifactId>
32 <executions>
33 <execution>
34 <id>test-compile</id>
35 <phase>compile</phase>
36 <goals>
37 <goal>testCompile</goal>
38 </goals>
39 <configuration>
40 <skip>false</skip>
41 </configuration>
42 </execution>
43 </executions>
44 </plugin>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070045
46 <plugin>
47 <groupId>org.apache.maven.plugins</groupId>
48 <artifactId>maven-jar-plugin</artifactId>
49 <version>2.6</version>
50 <executions>
51 <execution>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040052 <!-- Build MSOCommonBPMN-${version}.jar -->
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070053 <id>default-jar</id>
54 <phase>package</phase>
55 <goals>
56 <goal>jar</goal>
57 </goals>
58 <configuration>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040059 <excludes>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070060 <exclude>org/openecomp/mso/bpmn/common/MSOCommonApplication.class</exclude>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040061 <!-- <exclude>META-INF/</exclude> -->
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070062 </excludes>
63 </configuration>
64 </execution>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040065 <execution>
66 <goals>
67 <goal>test-jar</goal>
68 </goals>
69 <configuration>
70 <forceCreation>true</forceCreation>
71 <skip>false</skip>
72 </configuration>
73 </execution>
74 </executions>
75 </plugin>
76 <plugin>
77 <groupId>org.codehaus.mojo</groupId>
78 <artifactId>build-helper-maven-plugin</artifactId>
79 <version>3.0.0</version>
80 <executions>
81 <execution>
82 <goals>
83 <goal>attach-artifact</goal>
84 </goals>
85 <phase>package</phase>
86 <configuration>
87 <artifacts>
88 <artifact>
89 <file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
90 <type>jar</type>
91 </artifact>
92 </artifacts>
93 </configuration>
94 </execution>
95 </executions>
96 </plugin>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -070097
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-war-plugin</artifactId>
101 <version>2.3</version>
102 <configuration>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400103 <failOnMissingWebXml>false</failOnMissingWebXml>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700104 </configuration>
105 </plugin>
106 <plugin>
107 <groupId>org.apache.cxf</groupId>
108 <artifactId>cxf-codegen-plugin</artifactId>
109 <version>2.5.2</version>
110 </plugin>
111 <plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-eclipse-plugin</artifactId>
114 <version>2.8</version>
115 <configuration>
116 <additionalProjectnatures>
117 <projectnature>org.eclipse.jdt.groovy.core.groovyNature</projectnature>
118 </additionalProjectnatures>
119 <sourceIncludes>
120 <sourceInclude>**/*.groovy</sourceInclude>
121 </sourceIncludes>
122 </configuration>
123 </plugin>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700124 <plugin>
125 <artifactId>maven-antrun-plugin</artifactId>
126 <executions>
127 <execution>
128 <id>compile</id>
129 <phase>compile</phase>
130 <configuration>
131 <tasks>
132 <mkdir dir="${basedir}/src/main/groovy" />
133 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
134 <classpath refid="maven.compile.classpath" />
135 </taskdef>
136 <mkdir dir="${project.build.outputDirectory}" />
137 <groovyc destdir="${project.build.outputDirectory}"
138 srcdir="${basedir}/src/main/groovy/" listfiles="true">
139 <classpath refid="maven.compile.classpath" />
140 </groovyc>
141 </tasks>
142 </configuration>
143 <goals>
144 <goal>run</goal>
145 </goals>
146 </execution>
147 <execution>
148 <id>test-compile</id>
149 <phase>test-compile</phase>
150 <configuration>
151 <tasks>
152 <mkdir dir="${basedir}/src/test/groovy" />
153 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
154 <classpath refid="maven.test.classpath" />
155 </taskdef>
156 <mkdir dir="${project.build.testOutputDirectory}" />
157 <groovyc destdir="${project.build.testOutputDirectory}"
158 srcdir="${basedir}/src/test/groovy/" listfiles="true">
159 <classpath refid="maven.test.classpath" />
160 </groovyc>
161 </tasks>
162 </configuration>
163 <goals>
164 <goal>run</goal>
165 </goals>
166 </execution>
167 </executions>
168 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400169 <plugin>
170 <groupId>org.codehaus.mojo</groupId>
171 <artifactId>jaxb2-maven-plugin</artifactId>
172 <version>2.3</version>
173 <executions>
174 <execution>
175 <id>xjc</id>
176 <goals>
177 <goal>xjc</goal>
178 </goals>
179 </execution>
180 </executions>
181 <configuration>
182 <extension>true</extension>
183 <arguments>
184 <argument>-Xannotate</argument>
185 <argument>-Xcommons-lang</argument>
186 </arguments>
187 <sources>
188 <source>src/main/resources/xsd</source>
189 </sources>
190 <xjbSources>
191 <xjbSource>src/main/resources/xjb</xjbSource>
192 </xjbSources>
193 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
194 </configuration>
195 <dependencies>
196 <dependency>
197 <groupId>org.jvnet.jaxb2_commons</groupId>
198 <artifactId>jaxb2-basics-annotate</artifactId>
199 <version>0.6.4</version>
200 </dependency>
201 <dependency>
202 <groupId>org.jvnet.jaxb2_commons</groupId>
203 <artifactId>jaxb2-commons-lang</artifactId>
204 <version>2.3</version>
205 </dependency>
206 <dependency>
207 <groupId>com.sun.codemodel</groupId>
208 <artifactId>codemodel</artifactId>
209 <version>2.6</version>
210 </dependency>
211 </dependencies>
212 </plugin>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700213 </plugins>
214 <pluginManagement>
215 <plugins>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400216 <!--This plugin's configuration is used to store Eclipse m2e settings
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700217 only. It has no influence on the Maven build itself. -->
218 <plugin>
219 <groupId>org.eclipse.m2e</groupId>
220 <artifactId>lifecycle-mapping</artifactId>
221 <version>1.0.0</version>
222 <configuration>
223 <lifecycleMappingMetadata>
224 <pluginExecutions>
225 <pluginExecution>
226 <pluginExecutionFilter>
227 <groupId>
228 org.apache.maven.plugins
229 </groupId>
230 <artifactId>
231 maven-antrun-plugin
232 </artifactId>
233 <versionRange>
234 [1.3,)
235 </versionRange>
236 <goals>
237 <goal>run</goal>
238 </goals>
239 </pluginExecutionFilter>
240 <action>
241 <ignore></ignore>
242 </action>
243 </pluginExecution>
244 </pluginExecutions>
245 </lifecycleMappingMetadata>
246 </configuration>
247 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400248
249
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700250 </plugins>
251 </pluginManagement>
252 </build>
253
254 <dependencies>
255
256 <dependency>
257 <!-- process engine, in compile scope to include it in the war file -->
258 <groupId>org.camunda.bpm</groupId>
259 <artifactId>camunda-engine</artifactId>
260 <scope>compile</scope>
261 <exclusions>
262 <exclusion>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-api</artifactId>
265 </exclusion>
266 </exclusions>
267 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400268 <!-- Using the `DefaultEjbProcessApplication` result in: `java.sql.SQLException:
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700269 You cannot commit during a managed transaction!` -->
270 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400271 <!-- CDI integration, needs to be included in WAR, otherwise CDI can not
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700272 work correctly -->
273 <groupId>org.camunda.bpm</groupId>
274 <artifactId>camunda-engine-cdi</artifactId>
275 </dependency>
276
277 <dependency>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700278 <groupId>org.camunda.bpm.extension</groupId>
279 <artifactId>camunda-bpm-assert</artifactId>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700280 <scope>test</scope>
281 </dependency>
282 <dependency>
283 <groupId>org.mockito</groupId>
284 <artifactId>mockito-all</artifactId>
285 <version>1.10.19</version>
286 <scope>test</scope>
287 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400288
289 <!-- Spin dataformat support, in compile scope to include it in the war
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700290 file -->
291 <dependency>
292 <groupId>org.camunda.spin</groupId>
293 <artifactId>camunda-spin-dataformat-all</artifactId>
294 <scope>compile</scope>
295 </dependency>
296 <dependency>
297 <groupId>org.camunda.bpm</groupId>
298 <artifactId>camunda-engine-plugin-spin</artifactId>
299 <scope>compile</scope>
300 </dependency>
301
302 <dependency>
303 <groupId>org.camunda.bpm</groupId>
304 <artifactId>camunda-engine-plugin-connect</artifactId>
305 <scope>compile</scope>
306 </dependency>
307
308 <dependency>
309 <!-- Bootstrap for styling via Webjars project -->
310 <groupId>org.webjars</groupId>
311 <artifactId>bootstrap</artifactId>
312 <version>2.3.2</version>
313 </dependency>
314
315 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400316 <groupId>org.jboss.resteasy</groupId>
317 <artifactId>resteasy-client</artifactId>
318 <version>3.0.19.Final</version>
319 <scope>provided</scope>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700320 <exclusions>
321 <exclusion>
322 <groupId>org.apache.httpcomponents</groupId>
323 <artifactId>httpclient</artifactId>
324 </exclusion>
325 </exclusions>
326 </dependency>
327
328 <dependency>
329 <!-- Needed for InMemoryH2Test -->
330 <groupId>com.h2database</groupId>
331 <artifactId>h2</artifactId>
332 <scope>test</scope>
333 </dependency>
334
335 <dependency>
336 <groupId>com.fasterxml.uuid</groupId>
337 <artifactId>java-uuid-generator</artifactId>
338 </dependency>
339 <dependency>
340 <groupId>org.codehaus.groovy</groupId>
341 <artifactId>groovy-all</artifactId>
342 </dependency>
343 <dependency>
344 <groupId>org.apache.commons</groupId>
345 <artifactId>commons-lang3</artifactId>
346 <version>3.4</version>
347 </dependency>
348 <dependency>
Rob Daugherty9de3ce02017-08-04 12:15:51 -0400349 <groupId>org.openecomp.so</groupId>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700350 <artifactId>MSOCoreBPMN</artifactId>
351 <version>${project.version}</version>
352 </dependency>
353 <dependency>
354 <!-- unit test utilities -->
Rob Daugherty9de3ce02017-08-04 12:15:51 -0400355 <groupId>org.openecomp.so</groupId>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700356 <artifactId>MSOCoreBPMN</artifactId>
357 <version>${project.version}</version>
358 <classifier>tests</classifier>
359 <scope>test</scope>
360 </dependency>
361 <dependency>
seshukm171ec7b2017-09-12 16:13:47 +0530362 <groupId>org.openecomp.so</groupId>
363 <artifactId>common</artifactId>
364 <version>${project.version}</version>
365 </dependency>
366 <dependency>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700367 <groupId>javax.ws.rs</groupId>
368 <artifactId>javax.ws.rs-api</artifactId>
369 <version>2.0</version>
370 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400371 <!-- for encoding the url the same way A&AI does -->
372 <dependency>
373 <groupId>org.openecomp.so</groupId>
374 <artifactId>MSOMockServer</artifactId>
375 <version>${project.version}</version>
376 <classifier>classes</classifier>
377 <scope>test</scope>
378 </dependency>
379 <dependency>
380 <groupId>org.openecomp.so</groupId>
381 <artifactId>MSORESTClient</artifactId>
382 <version>${project.version}</version>
383 </dependency>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700384
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400385 <dependency>
386 <groupId>javax.servlet</groupId>
387 <artifactId>javax.servlet-api</artifactId>
388 <version>3.0.1</version>
389 <scope>provided</scope>
390 </dependency>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700391
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400392 <dependency>
393 <groupId>org.springframework</groupId>
394 <artifactId>spring-test</artifactId>
395 <version>4.3.2.RELEASE</version>
396 </dependency>
397
398 <dependency>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700399 <groupId>com.github.tomakehurst</groupId>
400 <artifactId>wiremock</artifactId>
401 <version>1.56</version>
402 <scope>test</scope>
403 <classifier>standalone</classifier>
404 <exclusions>
405 <exclusion>
406 <groupId>org.mortbay.jetty</groupId>
407 <artifactId>jetty</artifactId>
408 </exclusion>
409 <exclusion>
410 <groupId>com.google.guava</groupId>
411 <artifactId>guava</artifactId>
412 </exclusion>
413 <exclusion>
414 <groupId>com.fasterxml.jackson.core</groupId>
415 <artifactId>jackson-core</artifactId>
416 </exclusion>
417 <exclusion>
418 <groupId>com.fasterxml.jackson.core</groupId>
419 <artifactId>jackson-annotations</artifactId>
420 </exclusion>
421 <exclusion>
422 <groupId>com.fasterxml.jackson.core</groupId>
423 <artifactId>jackson-databind</artifactId>
424 </exclusion>
425 <exclusion>
426 <groupId>org.apache.httpcomponents</groupId>
427 <artifactId>httpclient</artifactId>
428 </exclusion>
429 <exclusion>
430 <groupId>org.skyscreamer</groupId>
431 <artifactId>jsonassert</artifactId>
432 </exclusion>
433 <exclusion>
434 <groupId>xmlunit</groupId>
435 <artifactId>xmlunit</artifactId>
436 </exclusion>
437 <exclusion>
438 <groupId>com.jayway.jsonpath</groupId>
439 <artifactId>json-path</artifactId>
440 </exclusion>
441 <exclusion>
442 <groupId>net.sf.jopt-simple</groupId>
443 <artifactId>jopt-simple</artifactId>
444 </exclusion>
445 </exclusions>
446 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400447 <dependency>
448 <groupId>org.camunda.bpm</groupId>
449 <artifactId>camunda-engine-spring</artifactId>
450 </dependency>
451 <dependency>
452 <groupId>org.springframework</groupId>
453 <artifactId>spring-beans</artifactId>
454 </dependency>
455 <dependency>
456 <groupId>com.fasterxml.jackson.core</groupId>
457 <artifactId>jackson-annotations</artifactId>
458 <version>2.8.7</version>
459 </dependency>
460 <dependency>
461 <groupId>com.fasterxml.jackson.core</groupId>
462 <artifactId>jackson-core</artifactId>
463 <version>2.8.7</version>
464 </dependency>
465 <dependency>
466 <groupId>com.fasterxml.jackson.module</groupId>
467 <artifactId>jackson-module-jaxb-annotations</artifactId>
468 <version>2.4.0</version>
469 </dependency>
470 <dependency>
471 <groupId>org.aspectj</groupId>
472 <artifactId>aspectjrt</artifactId>
473 <version>1.6.12</version>
474 </dependency>
475 <dependency>
476 <groupId>commons-httpclient</groupId>
477 <artifactId>commons-httpclient</artifactId>
478 <version>${httpclient.version}</version>
479 </dependency>
480 <dependency>
481 <groupId>org.openecomp.appc.client</groupId>
482 <artifactId>client-kit</artifactId>
483 <version>1.1.0</version>
484 </dependency>
485 <dependency>
486 <groupId>org.openecomp.appc.client</groupId>
487 <artifactId>client-lib</artifactId>
488 <version>1.1.0</version>
489 </dependency>
490
491 <dependency>
492 <groupId>org.onap.aai.aai-common</groupId>
493 <artifactId>aai-schema</artifactId>
494 <version>1.1.0-SNAPSHOT</version>
495 </dependency>
496
497
498 <dependency>
499 <groupId>com.fasterxml.jackson.core</groupId>
500 <artifactId>jackson-databind</artifactId>
501 <version>2.8.7</version>
502 </dependency>
503 <dependency>
504 <groupId>org.mockito</groupId>
505 <artifactId>mockito-all</artifactId>
506 <version>1.10.19</version>
507 </dependency>
508 <dependency>
509 <groupId>commons-lang</groupId>
510 <artifactId>commons-lang</artifactId>
511 <version>2.6</version>
512 </dependency>
513 <dependency>
514 <groupId>com.openpojo</groupId>
515 <artifactId>openpojo</artifactId>
516 <version>0.8.6</version>
517 </dependency>
518 <dependency>
519 <groupId>com.jayway.jsonpath</groupId>
520 <artifactId>json-path</artifactId>
521 <version>2.2.0</version>
522 </dependency>
523 <dependency>
524 <groupId>org.springframework</groupId>
525 <artifactId>spring-web</artifactId>
526 <version>4.3.2.RELEASE</version>
527 </dependency>
528 <dependency>
529 <groupId>org.springframework</groupId>
530 <artifactId>spring-test</artifactId>
531 <version>${spring.version}</version>
532 </dependency>
533 <dependency>
534 <groupId>junit</groupId>
535 <artifactId>junit</artifactId>
536 <version>4.12</version>
537 </dependency>
538 <dependency>
539 <groupId>commons-httpclient</groupId>
540 <artifactId>commons-httpclient</artifactId>
541 <version>${httpclient.version}</version>
542 </dependency>
543 <dependency>
544 <groupId>javax.ws.rs</groupId>
545 <artifactId>javax.ws.rs-api</artifactId>
546 <version>${jax.ws.rs}</version>
547 </dependency>
548
549 <dependency>
550 <groupId>org.openecomp.appc.client</groupId>
551 <artifactId>client-kit</artifactId>
552 <version>1.1.0</version>
553 </dependency>
554 <dependency>
555 <groupId>org.openecomp.appc.client</groupId>
556 <artifactId>client-lib</artifactId>
557 <version>1.1.0</version>
558 </dependency>
559
560 <dependency>
561 <groupId>com.fasterxml.jackson.core</groupId>
562 <artifactId>jackson-databind</artifactId>
563 <version>2.8.7</version>
564 </dependency>
565 <dependency>
566 <groupId>com.fasterxml.jackson.core</groupId>
567 <artifactId>jackson-annotations</artifactId>
568 <version>2.8.7</version>
569 </dependency>
570 <dependency>
571 <groupId>com.fasterxml.jackson.module</groupId>
572 <artifactId>jackson-module-jaxb-annotations</artifactId>
573 <version>2.4.0</version>
574 </dependency>
575 <dependency>
576 <groupId>org.aspectj</groupId>
577 <artifactId>aspectjrt</artifactId>
578 <version>1.6.12</version>
579 </dependency>
580 <dependency>
581 <groupId>org.mockito</groupId>
582 <artifactId>mockito-all</artifactId>
583 <version>1.10.19</version>
584 </dependency>
585 <dependency>
586 <groupId>com.att.nsa</groupId>
587 <artifactId>dmaapClient</artifactId>
588 <version>0.2.12</version>
589 </dependency>
590 <dependency>
591 <!-- Optional Plugin for Camunda BPM Workbench -->
592 <groupId>org.camunda.bpm.workbench</groupId>
593 <artifactId>camunda-workbench-dist-embeddable</artifactId>
594 <version>1.0.0-alpha8</version>
595 <scope>test</scope>
596 </dependency>
597 <dependency>
598 <groupId>org.jboss.resteasy</groupId>
599 <artifactId>resteasy-jackson2-provider</artifactId>
600 <version>3.0.11.Final</version>
601 </dependency>
602
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700603 </dependencies>
604</project>