[MSO-8] Update the maven dependency
[so.git] / bpmn / MSOInfrastructureBPMN / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <parent>
4                 <groupId>org.openecomp.mso</groupId>
5                 <artifactId>bpmn</artifactId>
6                 <version>1.1.0-SNAPSHOT</version>
7         </parent>
8         <modelVersion>4.0.0</modelVersion>
9         <artifactId>MSOInfrastructureBPMN</artifactId>
10         <packaging>war</packaging>
11
12         <build>
13                 <plugins>
14                         <plugin>
15                                 <groupId>org.apache.maven.plugins</groupId>
16                                 <artifactId>maven-war-plugin</artifactId>
17                                 <version>2.3</version>
18                                 <configuration>
19                                         <failOnMissingWebXml>false</failOnMissingWebXml>
20                                 </configuration>
21                         </plugin>
22                         <plugin>
23                                 <groupId>org.apache.maven.plugins</groupId>
24                                 <artifactId>maven-jar-plugin</artifactId>
25                                 <version>2.6</version>
26                                 <executions>
27                                         <execution>
28                                                 <id>default-jar</id>
29                                                 <phase>package</phase>
30                                                 <goals>
31                                                         <goal>jar</goal>
32                                                 </goals>
33                                                 <configuration>
34                                 <excludes>
35                                                                 <exclude>org/openecomp/mso/bpmn/infrastructure/MSOInfrastructureApplication.class</exclude>
36                                                                 <exclude>META-INF/</exclude>
37                                                         </excludes>
38                                                 </configuration>
39                                         </execution>
40                </executions>
41             </plugin>
42              <plugin>
43                 <groupId>org.codehaus.mojo</groupId>
44                 <artifactId>build-helper-maven-plugin</artifactId>
45                 <version>3.0.0</version>
46                 <executions>
47                     <execution>
48                     <goals>
49                         <goal>attach-artifact</goal>
50                     </goals>
51                     <phase>package</phase>
52                         <configuration>
53                             <artifacts>
54                                 <artifact>
55                                     <file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
56                                     <type>jar</type>
57                                 </artifact>
58                             </artifacts>
59                         </configuration>
60                     </execution>
61                 </executions>
62             </plugin>
63                         <plugin>
64                                 <groupId>org.apache.cxf</groupId>
65                                 <artifactId>cxf-codegen-plugin</artifactId>
66                                 <version>2.5.2</version>
67                         </plugin>
68                         <plugin>
69                 <groupId>org.apache.maven.plugins</groupId>
70                 <artifactId>maven-eclipse-plugin</artifactId>
71                 <version>2.8</version>
72                 <configuration>
73                         <additionalProjectnatures>
74                         <projectnature>org.eclipse.jdt.groovy.core.groovyNature</projectnature>
75                         </additionalProjectnatures>
76                         <sourceIncludes>
77                         <sourceInclude>**/*.groovy</sourceInclude>
78                         </sourceIncludes>
79                 </configuration>
80                 </plugin>
81                         <plugin>
82                                 <artifactId>maven-antrun-plugin</artifactId>
83                                 <executions>
84                                         <execution>
85                                                 <id>compile</id>
86                                                 <phase>compile</phase>
87                                                 <configuration>
88                                                         <tasks>
89                                                                 <mkdir dir="${basedir}/src/main/groovy" />
90                                                                 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
91                                                                         <classpath refid="maven.compile.classpath" />
92                                                                 </taskdef>
93                                                                 <mkdir dir="${project.build.outputDirectory}" />
94                                                                 <groovyc destdir="${project.build.outputDirectory}"
95                                                                         srcdir="${basedir}/src/main/groovy/" listfiles="true">
96                                                                         <classpath refid="maven.compile.classpath" />
97                                                                 </groovyc>
98                                                         </tasks>
99                                                 </configuration>
100                                                 <goals>
101                                                         <goal>run</goal>
102                                                 </goals>
103                                         </execution>
104                                         <execution>
105                                                 <id>test-compile</id>
106                                                 <phase>test-compile</phase>
107                                                 <configuration>
108                                                         <tasks>
109                                                                 <mkdir dir="${basedir}/src/test/groovy" />
110                                                                 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
111                                                                         <classpath refid="maven.test.classpath" />
112                                                                 </taskdef>
113                                                                 <mkdir dir="${project.build.testOutputDirectory}" />
114                                                                 <groovyc destdir="${project.build.testOutputDirectory}"
115                                                                         srcdir="${basedir}/src/test/groovy/" listfiles="true">
116                                                                         <classpath refid="maven.test.classpath" />
117                                                                 </groovyc>
118                                                         </tasks>
119                                                 </configuration>
120                                                 <goals>
121                                                         <goal>run</goal>
122                                                 </goals>
123                                         </execution>
124                                 </executions>
125                         </plugin>
126                 
127                         <plugin>
128                         <groupId>org.apache.maven.plugins</groupId>
129                         <artifactId>maven-dependency-plugin</artifactId>
130                 </plugin>
131             <plugin>
132                 <artifactId>maven-failsafe-plugin</artifactId>
133                 <version>2.6</version>
134                 <executions>
135                     <execution>
136                         <goals>
137                             <goal>integration-test</goal>
138                             <goal>verify</goal>
139                         </goals>
140                     </execution>
141                 </executions>
142             </plugin>
143         </plugins>
144                 <pluginManagement>
145                         <plugins>
146                                 <!--This plugin's configuration is used to store Eclipse m2e settings
147                                         only. It has no influence on the Maven build itself. -->
148                                 <plugin>
149                                         <groupId>org.eclipse.m2e</groupId>
150                                         <artifactId>lifecycle-mapping</artifactId>
151                                         <version>1.0.0</version>
152                                         <configuration>
153                                                 <lifecycleMappingMetadata>
154                                                         <pluginExecutions>
155                                                                 <pluginExecution>
156                                                                         <pluginExecutionFilter>
157                                                                                 <groupId>
158                                                                                         org.apache.maven.plugins
159                                                                                 </groupId>
160                                                                                 <artifactId>
161                                                                                         maven-antrun-plugin
162                                                                                 </artifactId>
163                                                                                 <versionRange>
164                                                                                         [1.3,)
165                                                                                 </versionRange>
166                                                                                 <goals>
167                                                                                         <goal>run</goal>
168                                                                                 </goals>
169                                                                         </pluginExecutionFilter>
170                                                                         <action>
171                                                                                 <ignore></ignore>
172                                                                         </action>
173                                                                 </pluginExecution>
174                                                         </pluginExecutions>
175                                                 </lifecycleMappingMetadata>
176                                         </configuration>
177                                 </plugin>
178                         </plugins>
179                 </pluginManagement>
180         </build>
181
182         <dependencies>
183                 <dependency>
184                         <!-- process engine, in compile scope to include it in the war file -->
185                         <groupId>org.camunda.bpm</groupId>
186                         <artifactId>camunda-engine</artifactId>
187                         <scope>compile</scope>
188                         <exclusions>
189                                 <exclusion>
190                                         <groupId>org.slf4j</groupId>
191                                         <artifactId>slf4j-api</artifactId>
192                                 </exclusion>
193                         </exclusions>
194                 </dependency>
195                 <!-- Using the `DefaultEjbProcessApplication` result in: `java.sql.SQLException:
196                         You cannot commit during a managed transaction!` -->
197                 <dependency>
198                         <!-- CDI integration, needs to be included in WAR, otherwise CDI can not
199                                 work correctly -->
200                         <groupId>org.camunda.bpm</groupId>
201                         <artifactId>camunda-engine-cdi</artifactId>
202                 </dependency>
203
204                 <dependency>
205                         <!-- AssertJ Testing Library -->
206                         <groupId>org.camunda.bpm.extension</groupId>
207                         <artifactId>camunda-bpm-assert</artifactId>
208                         <version>1.2</version>
209                         <scope>test</scope>
210                 </dependency>
211                 <dependency>
212                         <groupId>org.mockito</groupId>
213                         <artifactId>mockito-all</artifactId>
214                         <version>1.10.19</version>
215                         <scope>test</scope>
216                 </dependency>
217                 <dependency>
218                         <!-- Optional Plugin for Camunda BPM Workbench -->
219                         <groupId>org.camunda.bpm.workbench</groupId>
220                         <artifactId>camunda-workbench-dist-embeddable</artifactId>
221                         <version>1.0.0-alpha8</version>
222                         <scope>test</scope>
223                 </dependency>
224
225                 <!-- Spin dataformat support, in compile scope to include it in the war
226                         file -->
227                 <dependency>
228                         <groupId>org.camunda.spin</groupId>
229                         <artifactId>camunda-spin-dataformat-all</artifactId>
230                         <scope>compile</scope>
231                 </dependency>
232                 <dependency>
233                         <groupId>org.camunda.bpm</groupId>
234                         <artifactId>camunda-engine-plugin-spin</artifactId>
235                         <scope>compile</scope>
236                 </dependency>
237
238                 <dependency>
239                         <groupId>org.camunda.bpm</groupId>
240                         <artifactId>camunda-engine-plugin-connect</artifactId>
241                         <scope>compile</scope>
242                 </dependency>
243
244                 <dependency>
245                         <!-- Bootstrap for styling via Webjars project -->
246                         <groupId>org.webjars</groupId>
247                         <artifactId>bootstrap</artifactId>
248                         <version>2.3.2</version>
249                 </dependency>
250
251                 <dependency>
252                     <groupId>org.jboss.resteasy</groupId>
253                     <artifactId>resteasy-client</artifactId>
254                     <version>3.0.19.Final</version>
255                     <scope>provided</scope>
256                         <exclusions>
257                                 <exclusion>
258                                         <groupId>org.apache.httpcomponents</groupId>
259                                         <artifactId>httpclient</artifactId>
260                                 </exclusion>
261                         </exclusions>
262                 </dependency>
263
264                 <dependency>
265                         <!-- Needed for InMemoryH2Test -->
266                         <groupId>com.h2database</groupId>
267                         <artifactId>h2</artifactId>
268                         <scope>test</scope>
269                 </dependency>
270
271                 <dependency>
272                         <groupId>com.fasterxml.uuid</groupId>
273                         <artifactId>java-uuid-generator</artifactId>
274                 </dependency>
275                 <dependency>
276                         <groupId>org.codehaus.groovy</groupId>
277                         <artifactId>groovy-all</artifactId>
278                 </dependency>
279                 <dependency>
280                         <groupId>org.apache.commons</groupId>
281                         <artifactId>commons-lang3</artifactId>
282                         <version>3.4</version>
283                 </dependency>
284                 <dependency>
285                         <groupId>org.openecomp.mso</groupId>
286                         <artifactId>MSOCoreBPMN</artifactId>
287                         <version>${project.version}</version>
288                 </dependency>
289                 <dependency>
290                         <groupId>org.openecomp.mso</groupId>
291                         <artifactId>MSOCommonBPMN</artifactId>
292                         <version>${project.version}</version>
293             </dependency>
294                 <dependency>
295                         <groupId>org.openecomp.mso</groupId>
296                         <artifactId>MSOCommonBPMN</artifactId>
297                         <version>${project.version}</version>
298                         <classifier>tests</classifier>
299                         <scope>test</scope>
300                 </dependency>
301                 <dependency>
302                         <!-- unit test utilities -->
303                         <groupId>org.openecomp.mso</groupId>
304                         <artifactId>MSOCoreBPMN</artifactId>
305                         <version>${project.version}</version>
306                         <classifier>tests</classifier>
307                         <scope>test</scope>
308                 </dependency>
309                 <dependency>
310                         <groupId>javax.ws.rs</groupId>
311                         <artifactId>javax.ws.rs-api</artifactId>
312                         <version>2.0</version>
313                 </dependency>
314                 <!--            for encoding the url the same way A&AI does -->
315         <dependency>
316            <groupId>org.springframework</groupId>
317         <artifactId>spring-web</artifactId>
318         <version>4.3.2.RELEASE</version>
319         </dependency>
320         <dependency>
321                 <groupId>org.openecomp.mso</groupId>
322                 <artifactId>MSOMockServer</artifactId>
323                 <version>${project.version}</version>
324                 <scope>test</scope>
325                 <classifier>classes</classifier>
326         </dependency>
327         <dependency>
328           <groupId>org.openecomp.mso</groupId>
329           <artifactId>MSORESTClient</artifactId>
330           <version>${project.version}</version>
331         </dependency>
332
333         <dependency>
334                         <groupId>com.github.tomakehurst</groupId>
335                         <artifactId>wiremock</artifactId>
336                         <version>1.56</version>
337                         <scope>test</scope>
338                         <classifier>standalone</classifier>
339                         <exclusions>
340                                 <exclusion>
341                                         <groupId>org.mortbay.jetty</groupId>
342                                         <artifactId>jetty</artifactId>
343                                 </exclusion>
344                                 <exclusion>
345                                         <groupId>com.google.guava</groupId>
346                                         <artifactId>guava</artifactId>
347                                 </exclusion>
348                                 <exclusion>
349                                         <groupId>com.fasterxml.jackson.core</groupId>
350                                         <artifactId>jackson-core</artifactId>
351                                 </exclusion>
352                                 <exclusion>
353                                         <groupId>com.fasterxml.jackson.core</groupId>
354                                         <artifactId>jackson-annotations</artifactId>
355                                 </exclusion>
356                                 <exclusion>
357                                         <groupId>com.fasterxml.jackson.core</groupId>
358                                         <artifactId>jackson-databind</artifactId>
359                                 </exclusion>
360                                 <exclusion>
361                                         <groupId>org.apache.httpcomponents</groupId>
362                                         <artifactId>httpclient</artifactId>
363                                 </exclusion>
364                                 <exclusion>
365                                         <groupId>org.skyscreamer</groupId>
366                                         <artifactId>jsonassert</artifactId>
367                                 </exclusion>
368                                 <exclusion>
369                                         <groupId>xmlunit</groupId>
370                                         <artifactId>xmlunit</artifactId>
371                                 </exclusion>
372                                 <exclusion>
373                                         <groupId>com.jayway.jsonpath</groupId>
374                                         <artifactId>json-path</artifactId>
375                                 </exclusion>
376                                 <exclusion>
377                                         <groupId>net.sf.jopt-simple</groupId>
378                                         <artifactId>jopt-simple</artifactId>
379                                 </exclusion>
380                         </exclusions>
381                 </dependency>
382                 <dependency>
383                 <groupId>javax.servlet</groupId>
384                 <artifactId>javax.servlet-api</artifactId>
385                 <version>3.0.1</version>
386                 <scope>provided</scope>
387             </dependency>
388         </dependencies>
389 </project>