blob: 24c881d5662afe0b9dd618a38afa821625cf86db [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>
362 <groupId>javax.ws.rs</groupId>
363 <artifactId>javax.ws.rs-api</artifactId>
364 <version>2.0</version>
365 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400366 <!-- for encoding the url the same way A&AI does -->
367 <dependency>
368 <groupId>org.openecomp.so</groupId>
369 <artifactId>MSOMockServer</artifactId>
370 <version>${project.version}</version>
371 <classifier>classes</classifier>
372 <scope>test</scope>
373 </dependency>
374 <dependency>
375 <groupId>org.openecomp.so</groupId>
376 <artifactId>MSORESTClient</artifactId>
377 <version>${project.version}</version>
378 </dependency>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700379
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400380 <dependency>
381 <groupId>javax.servlet</groupId>
382 <artifactId>javax.servlet-api</artifactId>
383 <version>3.0.1</version>
384 <scope>provided</scope>
385 </dependency>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700386
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400387 <dependency>
388 <groupId>org.springframework</groupId>
389 <artifactId>spring-test</artifactId>
390 <version>4.3.2.RELEASE</version>
391 </dependency>
392
393 <dependency>
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700394 <groupId>com.github.tomakehurst</groupId>
395 <artifactId>wiremock</artifactId>
396 <version>1.56</version>
397 <scope>test</scope>
398 <classifier>standalone</classifier>
399 <exclusions>
400 <exclusion>
401 <groupId>org.mortbay.jetty</groupId>
402 <artifactId>jetty</artifactId>
403 </exclusion>
404 <exclusion>
405 <groupId>com.google.guava</groupId>
406 <artifactId>guava</artifactId>
407 </exclusion>
408 <exclusion>
409 <groupId>com.fasterxml.jackson.core</groupId>
410 <artifactId>jackson-core</artifactId>
411 </exclusion>
412 <exclusion>
413 <groupId>com.fasterxml.jackson.core</groupId>
414 <artifactId>jackson-annotations</artifactId>
415 </exclusion>
416 <exclusion>
417 <groupId>com.fasterxml.jackson.core</groupId>
418 <artifactId>jackson-databind</artifactId>
419 </exclusion>
420 <exclusion>
421 <groupId>org.apache.httpcomponents</groupId>
422 <artifactId>httpclient</artifactId>
423 </exclusion>
424 <exclusion>
425 <groupId>org.skyscreamer</groupId>
426 <artifactId>jsonassert</artifactId>
427 </exclusion>
428 <exclusion>
429 <groupId>xmlunit</groupId>
430 <artifactId>xmlunit</artifactId>
431 </exclusion>
432 <exclusion>
433 <groupId>com.jayway.jsonpath</groupId>
434 <artifactId>json-path</artifactId>
435 </exclusion>
436 <exclusion>
437 <groupId>net.sf.jopt-simple</groupId>
438 <artifactId>jopt-simple</artifactId>
439 </exclusion>
440 </exclusions>
441 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400442 <dependency>
443 <groupId>org.camunda.bpm</groupId>
444 <artifactId>camunda-engine-spring</artifactId>
445 </dependency>
446 <dependency>
447 <groupId>org.springframework</groupId>
448 <artifactId>spring-beans</artifactId>
449 </dependency>
450 <dependency>
451 <groupId>com.fasterxml.jackson.core</groupId>
452 <artifactId>jackson-annotations</artifactId>
453 <version>2.8.7</version>
454 </dependency>
455 <dependency>
456 <groupId>com.fasterxml.jackson.core</groupId>
457 <artifactId>jackson-core</artifactId>
458 <version>2.8.7</version>
459 </dependency>
460 <dependency>
461 <groupId>com.fasterxml.jackson.module</groupId>
462 <artifactId>jackson-module-jaxb-annotations</artifactId>
463 <version>2.4.0</version>
464 </dependency>
465 <dependency>
466 <groupId>org.aspectj</groupId>
467 <artifactId>aspectjrt</artifactId>
468 <version>1.6.12</version>
469 </dependency>
470 <dependency>
471 <groupId>commons-httpclient</groupId>
472 <artifactId>commons-httpclient</artifactId>
473 <version>${httpclient.version}</version>
474 </dependency>
475 <dependency>
476 <groupId>org.openecomp.appc.client</groupId>
477 <artifactId>client-kit</artifactId>
478 <version>1.1.0</version>
479 </dependency>
480 <dependency>
481 <groupId>org.openecomp.appc.client</groupId>
482 <artifactId>client-lib</artifactId>
483 <version>1.1.0</version>
484 </dependency>
485
486 <dependency>
487 <groupId>org.onap.aai.aai-common</groupId>
488 <artifactId>aai-schema</artifactId>
489 <version>1.1.0-SNAPSHOT</version>
490 </dependency>
491
492
493 <dependency>
494 <groupId>com.fasterxml.jackson.core</groupId>
495 <artifactId>jackson-databind</artifactId>
496 <version>2.8.7</version>
497 </dependency>
498 <dependency>
499 <groupId>org.mockito</groupId>
500 <artifactId>mockito-all</artifactId>
501 <version>1.10.19</version>
502 </dependency>
503 <dependency>
504 <groupId>commons-lang</groupId>
505 <artifactId>commons-lang</artifactId>
506 <version>2.6</version>
507 </dependency>
508 <dependency>
509 <groupId>com.openpojo</groupId>
510 <artifactId>openpojo</artifactId>
511 <version>0.8.6</version>
512 </dependency>
513 <dependency>
514 <groupId>com.jayway.jsonpath</groupId>
515 <artifactId>json-path</artifactId>
516 <version>2.2.0</version>
517 </dependency>
518 <dependency>
519 <groupId>org.springframework</groupId>
520 <artifactId>spring-web</artifactId>
521 <version>4.3.2.RELEASE</version>
522 </dependency>
523 <dependency>
524 <groupId>org.springframework</groupId>
525 <artifactId>spring-test</artifactId>
526 <version>${spring.version}</version>
527 </dependency>
528 <dependency>
529 <groupId>junit</groupId>
530 <artifactId>junit</artifactId>
531 <version>4.12</version>
532 </dependency>
533 <dependency>
534 <groupId>commons-httpclient</groupId>
535 <artifactId>commons-httpclient</artifactId>
536 <version>${httpclient.version}</version>
537 </dependency>
538 <dependency>
539 <groupId>javax.ws.rs</groupId>
540 <artifactId>javax.ws.rs-api</artifactId>
541 <version>${jax.ws.rs}</version>
542 </dependency>
543
544 <dependency>
545 <groupId>org.openecomp.appc.client</groupId>
546 <artifactId>client-kit</artifactId>
547 <version>1.1.0</version>
548 </dependency>
549 <dependency>
550 <groupId>org.openecomp.appc.client</groupId>
551 <artifactId>client-lib</artifactId>
552 <version>1.1.0</version>
553 </dependency>
554
555 <dependency>
556 <groupId>com.fasterxml.jackson.core</groupId>
557 <artifactId>jackson-databind</artifactId>
558 <version>2.8.7</version>
559 </dependency>
560 <dependency>
561 <groupId>com.fasterxml.jackson.core</groupId>
562 <artifactId>jackson-annotations</artifactId>
563 <version>2.8.7</version>
564 </dependency>
565 <dependency>
566 <groupId>com.fasterxml.jackson.module</groupId>
567 <artifactId>jackson-module-jaxb-annotations</artifactId>
568 <version>2.4.0</version>
569 </dependency>
570 <dependency>
571 <groupId>org.aspectj</groupId>
572 <artifactId>aspectjrt</artifactId>
573 <version>1.6.12</version>
574 </dependency>
575 <dependency>
576 <groupId>org.mockito</groupId>
577 <artifactId>mockito-all</artifactId>
578 <version>1.10.19</version>
579 </dependency>
580 <dependency>
581 <groupId>com.att.nsa</groupId>
582 <artifactId>dmaapClient</artifactId>
583 <version>0.2.12</version>
584 </dependency>
585 <dependency>
586 <!-- Optional Plugin for Camunda BPM Workbench -->
587 <groupId>org.camunda.bpm.workbench</groupId>
588 <artifactId>camunda-workbench-dist-embeddable</artifactId>
589 <version>1.0.0-alpha8</version>
590 <scope>test</scope>
591 </dependency>
592 <dependency>
593 <groupId>org.jboss.resteasy</groupId>
594 <artifactId>resteasy-jackson2-provider</artifactId>
595 <version>3.0.11.Final</version>
596 </dependency>
597
Determe, Sebastien (sd378r)94ee9252017-05-02 03:53:18 -0700598 </dependencies>
599</project>