9650b4ca9b1f75f5c486fe92b7b77d3806d199aa
[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.openecomp.so</groupId>
8                 <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>4.3.2.RELEASE</spring.version>
18                 <httpclient.version>3.1</httpclient.version>
19                 <jax.ws.rs>2.0.1</jax.ws.rs>
20                 <jackson.version>1.1.1</jackson.version>
21                 <maven.compiler.target>1.8</maven.compiler.target>
22                 <maven.compiler.source>1.8</maven.compiler.source>
23         </properties>
24
25
26         <build>
27                 <plugins>
28                         <plugin>
29                                 <groupId>org.apache.maven.plugins</groupId>
30                                 <artifactId>maven-compiler-plugin</artifactId>
31                                 <executions>
32                                         <execution>
33                                                 <id>test-compile</id>
34                                                 <phase>compile</phase>
35                                                 <goals>
36                                                         <goal>testCompile</goal>
37                                                 </goals>
38                                                 <configuration>
39                                                         <skip>false</skip>
40                                                 </configuration>
41                                         </execution>
42                                 </executions>
43                         </plugin>
44
45                         <plugin>
46                                 <groupId>org.apache.maven.plugins</groupId>
47                                 <artifactId>maven-jar-plugin</artifactId>
48                                 <version>2.6</version>
49                                 <executions>
50                                         <execution>
51                                                 <!-- Build MSOCommonBPMN-${version}.jar -->
52                                                 <id>default-jar</id>
53                                                 <phase>package</phase>
54                                                 <goals>
55                                                         <goal>jar</goal>
56                                                 </goals>
57                                                 <configuration>
58                                                         <excludes>
59                                                                 <exclude>org/openecomp/mso/bpmn/common/MSOCommonApplication.class</exclude>
60                                                                 <!-- <exclude>META-INF/</exclude> -->
61                                                         </excludes>
62                                                 </configuration>
63                                         </execution>
64                                         <execution>
65                                                 <goals>
66                                                         <goal>test-jar</goal>
67                                                 </goals>
68                                                 <configuration>
69                                                         <forceCreation>true</forceCreation>
70                                                         <skip>false</skip>
71                                                 </configuration>
72                                         </execution>
73                                 </executions>
74                         </plugin>
75                         <plugin>
76                                 <groupId>org.codehaus.mojo</groupId>
77                                 <artifactId>build-helper-maven-plugin</artifactId>
78                                 <version>3.0.0</version>
79                                 <executions>
80                                         <execution>
81                                                 <goals>
82                                                         <goal>attach-artifact</goal>
83                                                 </goals>
84                                                 <phase>package</phase>
85                                                 <configuration>
86                                                         <artifacts>
87                                                                 <artifact>
88                                                                         <file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
89                                                                         <type>jar</type>
90                                                                 </artifact>
91                                                         </artifacts>
92                                                 </configuration>
93                                         </execution>
94                                 </executions>
95                         </plugin>
96
97                         <plugin>
98                                 <groupId>org.apache.maven.plugins</groupId>
99                                 <artifactId>maven-war-plugin</artifactId>
100                                 <version>2.3</version>
101                                 <configuration>
102                                         <failOnMissingWebXml>false</failOnMissingWebXml>
103                                 </configuration>
104                         </plugin>
105                         <plugin>
106                                 <groupId>org.apache.cxf</groupId>
107                                 <artifactId>cxf-codegen-plugin</artifactId>
108                                 <version>2.5.2</version>
109                         </plugin>
110                         <plugin>
111                                 <groupId>org.apache.maven.plugins</groupId>
112                                 <artifactId>maven-eclipse-plugin</artifactId>
113                                 <version>2.8</version>
114                                 <configuration>
115                                         <additionalProjectnatures>
116                                                 <projectnature>org.eclipse.jdt.groovy.core.groovyNature</projectnature>
117                                         </additionalProjectnatures>
118                                         <sourceIncludes>
119                                                 <sourceInclude>**/*.groovy</sourceInclude>
120                                         </sourceIncludes>
121                                 </configuration>
122                         </plugin>
123                         <plugin>
124                                 <artifactId>maven-antrun-plugin</artifactId>
125                                 <executions>
126                                         <execution>
127                                                 <id>compile</id>
128                                                 <phase>compile</phase>
129                                                 <configuration>
130                                                         <tasks>
131                                                                 <mkdir dir="${basedir}/src/main/groovy" />
132                                                                 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
133                                                                         <classpath refid="maven.compile.classpath" />
134                                                                 </taskdef>
135                                                                 <mkdir dir="${project.build.outputDirectory}" />
136                                                                 <groovyc destdir="${project.build.outputDirectory}"
137                                                                         srcdir="${basedir}/src/main/groovy/" listfiles="true">
138                                                                         <classpath refid="maven.compile.classpath" />
139                                                                 </groovyc>
140                                                         </tasks>
141                                                 </configuration>
142                                                 <goals>
143                                                         <goal>run</goal>
144                                                 </goals>
145                                         </execution>
146                                         <execution>
147                                                 <id>test-compile</id>
148                                                 <phase>test-compile</phase>
149                                                 <configuration>
150                                                         <tasks>
151                                                                 <mkdir dir="${basedir}/src/test/groovy" />
152                                                                 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
153                                                                         <classpath refid="maven.test.classpath" />
154                                                                 </taskdef>
155                                                                 <mkdir dir="${project.build.testOutputDirectory}" />
156                                                                 <groovyc destdir="${project.build.testOutputDirectory}"
157                                                                         srcdir="${basedir}/src/test/groovy/" listfiles="true">
158                                                                         <classpath refid="maven.test.classpath" />
159                                                                 </groovyc>
160                                                         </tasks>
161                                                 </configuration>
162                                                 <goals>
163                                                         <goal>run</goal>
164                                                 </goals>
165                                         </execution>
166                                 </executions>
167                         </plugin>
168                         <plugin>
169                                 <groupId>org.codehaus.mojo</groupId>
170                                 <artifactId>jaxb2-maven-plugin</artifactId>
171                                 <version>2.3</version>
172                                 <executions>
173                                         <execution>
174                                                 <id>xjc</id>
175                                                 <goals>
176                                                         <goal>xjc</goal>
177                                                 </goals>
178                                         </execution>
179                                 </executions>
180                                 <configuration>
181                                         <extension>true</extension>
182                                         <arguments>
183                                                 <argument>-Xannotate</argument>
184                                                 <argument>-Xcommons-lang</argument>
185                                         </arguments>
186                                         <sources>
187                                                 <source>src/main/resources/xsd</source>
188                                         </sources>
189                                         <xjbSources>
190                                                 <xjbSource>src/main/resources/xjb</xjbSource>
191                                         </xjbSources>
192                                         <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
193                                 </configuration>
194                                 <dependencies>
195                                         <dependency>
196                                                 <groupId>org.jvnet.jaxb2_commons</groupId>
197                                                 <artifactId>jaxb2-basics-annotate</artifactId>
198                                                 <version>0.6.4</version>
199                                         </dependency>
200                                         <dependency>
201                                                 <groupId>org.jvnet.jaxb2_commons</groupId>
202                                                 <artifactId>jaxb2-commons-lang</artifactId>
203                                                 <version>2.3</version>
204                                         </dependency>
205                                         <dependency>
206                                                 <groupId>com.sun.codemodel</groupId>
207                                                 <artifactId>codemodel</artifactId>
208                                                 <version>2.6</version>
209                                         </dependency>
210                                 </dependencies>
211                         </plugin>
212                 </plugins>
213                 <pluginManagement>
214                         <plugins>
215                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
216                                         only. It has no influence on the Maven build itself. -->
217                                 <plugin>
218                                         <groupId>org.eclipse.m2e</groupId>
219                                         <artifactId>lifecycle-mapping</artifactId>
220                                         <version>1.0.0</version>
221                                         <configuration>
222                                                 <lifecycleMappingMetadata>
223                                                         <pluginExecutions>
224                                                                 <pluginExecution>
225                                                                         <pluginExecutionFilter>
226                                                                                 <groupId>
227                                                                                         org.apache.maven.plugins
228                                                                                 </groupId>
229                                                                                 <artifactId>
230                                                                                         maven-antrun-plugin
231                                                                                 </artifactId>
232                                                                                 <versionRange>
233                                                                                         [1.3,)
234                                                                                 </versionRange>
235                                                                                 <goals>
236                                                                                         <goal>run</goal>
237                                                                                 </goals>
238                                                                         </pluginExecutionFilter>
239                                                                         <action>
240                                                                                 <ignore></ignore>
241                                                                         </action>
242                                                                 </pluginExecution>
243                                                         </pluginExecutions>
244                                                 </lifecycleMappingMetadata>
245                                         </configuration>
246                                 </plugin>
247
248
249                         </plugins>
250                 </pluginManagement>
251         </build>
252
253         <dependencies>
254
255                 <dependency>
256                         <!-- process engine, in compile scope to include it in the war file -->
257                         <groupId>org.camunda.bpm</groupId>
258                         <artifactId>camunda-engine</artifactId>
259                         <scope>compile</scope>
260                         <exclusions>
261                                 <exclusion>
262                                         <groupId>org.slf4j</groupId>
263                                         <artifactId>slf4j-api</artifactId>
264                                 </exclusion>
265                         </exclusions>
266                 </dependency>
267                 <!-- Using the `DefaultEjbProcessApplication` result in: `java.sql.SQLException: 
268                         You cannot commit during a managed transaction!` -->
269                 <dependency>
270                         <!-- CDI integration, needs to be included in WAR, otherwise CDI can not 
271                                 work correctly -->
272                         <groupId>org.camunda.bpm</groupId>
273                         <artifactId>camunda-engine-cdi</artifactId>
274                 </dependency>
275
276                 <dependency>
277                         <groupId>org.camunda.bpm.extension</groupId>
278                         <artifactId>camunda-bpm-assert</artifactId>
279                         <scope>test</scope>
280                 </dependency>
281                 <dependency>
282                         <groupId>org.mockito</groupId>
283                         <artifactId>mockito-all</artifactId>
284                         <version>1.10.19</version>
285                         <scope>test</scope>
286                 </dependency>
287                 
288                 <!-- Spin dataformat support, in compile scope to include it in the war 
289                         file -->
290                 <dependency>
291                         <groupId>org.camunda.spin</groupId>
292                         <artifactId>camunda-spin-dataformat-all</artifactId>
293                         <scope>compile</scope>
294                 </dependency>
295                 <dependency>
296                         <groupId>org.camunda.bpm</groupId>
297                         <artifactId>camunda-engine-plugin-spin</artifactId>
298                         <scope>compile</scope>
299                 </dependency>
300
301                 <dependency>
302                         <groupId>org.camunda.bpm</groupId>
303                         <artifactId>camunda-engine-plugin-connect</artifactId>
304                         <scope>compile</scope>
305                 </dependency>
306
307                 <dependency>
308                         <!-- Bootstrap for styling via Webjars project -->
309                         <groupId>org.webjars</groupId>
310                         <artifactId>bootstrap</artifactId>
311                         <version>2.3.2</version>
312                 </dependency>
313
314                 <dependency>
315                         <groupId>org.jboss.resteasy</groupId>
316                         <artifactId>resteasy-client</artifactId>
317                         <version>3.0.19.Final</version>
318                         <scope>provided</scope>
319                         <exclusions>
320                                 <exclusion>
321                                         <groupId>org.apache.httpcomponents</groupId>
322                                         <artifactId>httpclient</artifactId>
323                                 </exclusion>
324                         </exclusions>
325                 </dependency>
326
327                 <dependency>
328                         <!-- Needed for InMemoryH2Test -->
329                         <groupId>com.h2database</groupId>
330                         <artifactId>h2</artifactId>
331                         <scope>test</scope>
332                 </dependency>
333
334                 <dependency>
335                         <groupId>com.fasterxml.uuid</groupId>
336                         <artifactId>java-uuid-generator</artifactId>
337                 </dependency>
338                 <dependency>
339                         <groupId>org.codehaus.groovy</groupId>
340                         <artifactId>groovy-all</artifactId>
341                 </dependency>
342                 <dependency>
343                         <groupId>org.apache.commons</groupId>
344                         <artifactId>commons-lang3</artifactId>
345                         <version>3.4</version>
346                 </dependency>
347                 <dependency>
348                         <groupId>org.openecomp.so</groupId>
349                         <artifactId>MSOCoreBPMN</artifactId>
350                         <version>${project.version}</version>
351                 </dependency>
352                 <dependency>
353                         <!-- unit test utilities -->
354                         <groupId>org.openecomp.so</groupId>
355                         <artifactId>MSOCoreBPMN</artifactId>
356                         <version>${project.version}</version>
357                         <classifier>tests</classifier>
358                         <scope>test</scope>
359                 </dependency>
360                 <dependency>
361             <groupId>org.openecomp.so</groupId>
362             <artifactId>common</artifactId>
363             <version>${project.version}</version>
364         </dependency>
365                 <dependency>
366                         <groupId>javax.ws.rs</groupId>
367                         <artifactId>javax.ws.rs-api</artifactId>
368                         <version>2.0</version>
369                 </dependency>
370                 <!-- for encoding the url the same way A&AI does -->
371                 <dependency>
372                         <groupId>org.openecomp.so</groupId>
373                         <artifactId>MSOMockServer</artifactId>
374                         <version>${project.version}</version>
375                         <classifier>classes</classifier>
376                         <scope>test</scope>
377                 </dependency>
378                 <dependency>
379                         <groupId>org.openecomp.so</groupId>
380                         <artifactId>MSORESTClient</artifactId>
381                         <version>${project.version}</version>
382                 </dependency>
383
384                 <dependency>
385                         <groupId>javax.servlet</groupId>
386                         <artifactId>javax.servlet-api</artifactId>
387                         <version>3.0.1</version>
388                         <scope>provided</scope>
389                 </dependency>
390
391                 <dependency>
392                         <groupId>org.springframework</groupId>
393                         <artifactId>spring-test</artifactId>
394                         <version>${spring.version}</version>
395                 </dependency>
396
397                 <dependency>
398                         <groupId>com.github.tomakehurst</groupId>
399                         <artifactId>wiremock</artifactId>
400                         <version>1.56</version>
401                         <scope>test</scope>
402                         <classifier>standalone</classifier>
403                         <exclusions>
404                                 <exclusion>
405                                         <groupId>org.mortbay.jetty</groupId>
406                                         <artifactId>jetty</artifactId>
407                                 </exclusion>
408                                 <exclusion>
409                                         <groupId>com.google.guava</groupId>
410                                         <artifactId>guava</artifactId>
411                                 </exclusion>
412                                 <exclusion>
413                                         <groupId>com.fasterxml.jackson.core</groupId>
414                                         <artifactId>jackson-core</artifactId>
415                                 </exclusion>
416                                 <exclusion>
417                                         <groupId>com.fasterxml.jackson.core</groupId>
418                                         <artifactId>jackson-annotations</artifactId>
419                                 </exclusion>
420                                 <exclusion>
421                                         <groupId>com.fasterxml.jackson.core</groupId>
422                                         <artifactId>jackson-databind</artifactId>
423                                 </exclusion>
424                                 <exclusion>
425                                         <groupId>org.apache.httpcomponents</groupId>
426                                         <artifactId>httpclient</artifactId>
427                                 </exclusion>
428                                 <exclusion>
429                                         <groupId>org.skyscreamer</groupId>
430                                         <artifactId>jsonassert</artifactId>
431                                 </exclusion>
432                                 <exclusion>
433                                         <groupId>xmlunit</groupId>
434                                         <artifactId>xmlunit</artifactId>
435                                 </exclusion>
436                                 <exclusion>
437                                         <groupId>com.jayway.jsonpath</groupId>
438                                         <artifactId>json-path</artifactId>
439                                 </exclusion>
440                                 <exclusion>
441                                         <groupId>net.sf.jopt-simple</groupId>
442                                         <artifactId>jopt-simple</artifactId>
443                                 </exclusion>
444                         </exclusions>
445                 </dependency>
446                 <dependency>
447                         <groupId>org.camunda.bpm</groupId>
448                         <artifactId>camunda-engine-spring</artifactId>
449                 </dependency>
450                 <dependency>
451                         <groupId>org.springframework</groupId>
452                         <artifactId>spring-beans</artifactId>
453                         <version>4.3.2.RELEASE</version>
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</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>${spring.version}</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     <dependency>
603                 <groupId>com.google.guava</groupId>
604                 <artifactId>guava</artifactId>
605                 <version>22.0</version>
606         </dependency>
607                                 
608         </dependencies>
609 </project>