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