blob: fa2055c01a8872cfe74db59bedbe263180d49f8c [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<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>0.0.4-SNAPSHOT</version>
7 </parent>
8 <modelVersion>4.0.0</modelVersion>
9 <groupId>org.openecomp.mso</groupId>
10 <artifactId>MSOGammaBPMN</artifactId>
11 <packaging>war</packaging>
12
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.apache.maven.plugins</groupId>
17 <artifactId>maven-war-plugin</artifactId>
18 <version>2.3</version>
19 <configuration>
20 <source>1.7</source>
21 <target>1.7</target>
22 <failOnMissingWebXml>false</failOnMissingWebXml>
23 </configuration>
24 </plugin>
25 <plugin>
26 <groupId>org.apache.maven.plugins</groupId>
27 <artifactId>maven-compiler-plugin</artifactId>
28 <version>3.1</version>
29 <configuration>
30 <source>1.7</source>
31 <target>1.7</target>
32 </configuration>
33 </plugin>
34 <plugin>
35 <groupId>org.apache.cxf</groupId>
36 <artifactId>cxf-codegen-plugin</artifactId>
37 <version>2.5.2</version>
38 </plugin>
39 <plugin>
40 <groupId>org.apache.maven.plugins</groupId>
41 <artifactId>maven-eclipse-plugin</artifactId>
42 <version>2.8</version>
43 <configuration>
44 <additionalProjectnatures>
45 <projectnature>org.eclipse.jdt.groovy.core.groovyNature</projectnature>
46 </additionalProjectnatures>
47 <sourceIncludes>
48 <sourceInclude>**/*.groovy</sourceInclude>
49 </sourceIncludes>
50 </configuration>
51 </plugin>
52 <plugin>
53 <artifactId>maven-antrun-plugin</artifactId>
54 <executions>
55 <execution>
56 <id>compile</id>
57 <phase>compile</phase>
58 <configuration>
59 <tasks>
60 <mkdir dir="${basedir}/src/main/groovy" />
61 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
62 <classpath refid="maven.compile.classpath" />
63 </taskdef>
64 <mkdir dir="${project.build.outputDirectory}" />
65 <groovyc destdir="${project.build.outputDirectory}"
66 srcdir="${basedir}/src/main/groovy/" listfiles="true">
67 <classpath refid="maven.compile.classpath" />
68 </groovyc>
69 </tasks>
70 </configuration>
71 <goals>
72 <goal>run</goal>
73 </goals>
74 </execution>
75 <execution>
76 <id>test-compile</id>
77 <phase>test-compile</phase>
78 <configuration>
79 <tasks>
80 <mkdir dir="${basedir}/src/test/groovy" />
81 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc">
82 <classpath refid="maven.test.classpath" />
83 </taskdef>
84 <mkdir dir="${project.build.testOutputDirectory}" />
85 <groovyc destdir="${project.build.testOutputDirectory}"
86 srcdir="${basedir}/src/test/groovy/" listfiles="true">
87 <classpath refid="maven.test.classpath" />
88 </groovyc>
89 </tasks>
90 </configuration>
91 <goals>
92 <goal>run</goal>
93 </goals>
94 </execution>
95 </executions>
96 </plugin>
97 </plugins>
98 <pluginManagement>
99 <plugins>
100 <!--This plugin's configuration is used to store Eclipse m2e settings
101 only. It has no influence on the Maven build itself. -->
102 <plugin>
103 <groupId>org.eclipse.m2e</groupId>
104 <artifactId>lifecycle-mapping</artifactId>
105 <version>1.0.0</version>
106 <configuration>
107 <lifecycleMappingMetadata>
108 <pluginExecutions>
109 <pluginExecution>
110 <pluginExecutionFilter>
111 <groupId>
112 org.apache.maven.plugins
113 </groupId>
114 <artifactId>
115 maven-antrun-plugin
116 </artifactId>
117 <versionRange>
118 [1.3,)
119 </versionRange>
120 <goals>
121 <goal>run</goal>
122 </goals>
123 </pluginExecutionFilter>
124 <action>
125 <ignore></ignore>
126 </action>
127 </pluginExecution>
128 </pluginExecutions>
129 </lifecycleMappingMetadata>
130 </configuration>
131 </plugin>
132 </plugins>
133 </pluginManagement>
134 </build>
135
136 <dependencies>
137 <dependency>
138 <!-- process engine, in compile scope to include it in the war file -->
139 <groupId>org.camunda.bpm</groupId>
140 <artifactId>camunda-engine</artifactId>
141 <scope>compile</scope>
142 <exclusions>
143 <exclusion>
144 <groupId>org.slf4j</groupId>
145 <artifactId>slf4j-api</artifactId>
146 </exclusion>
147 </exclusions>
148 </dependency>
149 <!-- Using the `DefaultEjbProcessApplication` result in: `java.sql.SQLException:
150 You cannot commit during a managed transaction!` -->
151 <dependency>
152 <!-- CDI integration, needs to be included in WAR, otherwise CDI can not
153 work correctly -->
154 <groupId>org.camunda.bpm</groupId>
155 <artifactId>camunda-engine-cdi</artifactId>
156 </dependency>
157
158 <dependency>
159 <!-- AssertJ Testing Library -->
160 <groupId>org.camunda.bpm.extension</groupId>
161 <artifactId>camunda-bpm-assert</artifactId>
162 <version>1.2</version>
163 <scope>test</scope>
164 </dependency>
165 <dependency>
166 <groupId>org.mockito</groupId>
167 <artifactId>mockito-all</artifactId>
168 <version>1.10.19</version>
169 <scope>test</scope>
170 </dependency>
171 <dependency>
172 <!-- Optional Plugin for Camunda BPM Workbench -->
173 <groupId>org.camunda.bpm.workbench</groupId>
174 <artifactId>camunda-workbench-dist-embeddable</artifactId>
175 <version>1.0.0-alpha8</version>
176 <scope>test</scope>
177 </dependency>
178
179 <!-- Spin dataformat support, in compile scope to include it in the war
180 file -->
181 <dependency>
182 <groupId>org.camunda.spin</groupId>
183 <artifactId>camunda-spin-dataformat-all</artifactId>
184 <scope>compile</scope>
185 </dependency>
186 <dependency>
187 <groupId>org.camunda.bpm</groupId>
188 <artifactId>camunda-engine-plugin-spin</artifactId>
189 <scope>compile</scope>
190 </dependency>
191
192 <dependency>
193 <groupId>org.camunda.bpm</groupId>
194 <artifactId>camunda-engine-plugin-connect</artifactId>
195 <scope>compile</scope>
196 </dependency>
197
198 <dependency>
199 <!-- Bootstrap for styling via Webjars project -->
200 <groupId>org.webjars</groupId>
201 <artifactId>bootstrap</artifactId>
202 <version>2.3.2</version>
203 </dependency>
204
205 <dependency>
206 <groupId>org.jboss.resteasy</groupId>
207 <artifactId>resteasy-client</artifactId>
208 <version>3.0.19.Final</version>
209 <scope>provided</scope>
210 <exclusions>
211 <exclusion>
212 <groupId>org.apache.httpcomponents</groupId>
213 <artifactId>httpclient</artifactId>
214 </exclusion>
215 </exclusions>
216 </dependency>
217 <dependency>
218 <groupId>junit</groupId>
219 <artifactId>junit</artifactId>
220 <version>4.11</version>
221 <scope>test</scope>
222 </dependency>
223
224 <dependency>
225 <!-- Needed for InMemoryH2Test -->
226 <groupId>com.h2database</groupId>
227 <artifactId>h2</artifactId>
228 <scope>test</scope>
229 </dependency>
230
231 <dependency>
232 <groupId>com.fasterxml.uuid</groupId>
233 <artifactId>java-uuid-generator</artifactId>
234 </dependency>
235 <dependency>
236 <groupId>org.codehaus.groovy</groupId>
237 <artifactId>groovy-all</artifactId>
238 </dependency>
239 <dependency>
240 <groupId>org.apache.commons</groupId>
241 <artifactId>commons-lang3</artifactId>
242 <version>3.4</version>
243 </dependency>
244 <dependency>
245 <groupId>org.openecomp.mso</groupId>
246 <artifactId>MSOCoreBPMN</artifactId>
247 <version>${project.version}</version>
248 </dependency>
249 <dependency>
250 <!-- unit test utilities -->
251 <groupId>org.openecomp.mso</groupId>
252 <artifactId>MSOCoreBPMN</artifactId>
253 <version>${project.version}</version>
254 <classifier>test</classifier>
255 <scope>test</scope>
256 </dependency>
257 <dependency>
258 <groupId>javax.ws.rs</groupId>
259 <artifactId>javax.ws.rs-api</artifactId>
260 <version>2.0</version>
261 </dependency>
262 <!-- for encoding the url the same way A&AI does -->
263 <dependency>
264 <groupId>org.springframework</groupId>
265 <artifactId>spring-web</artifactId>
266 <version>4.3.2.RELEASE</version>
267 </dependency>
268
269 <dependency>
270 <groupId>org.openecomp.mso</groupId>
271 <artifactId>MSORESTClient</artifactId>
272 <version>${project.version}</version>
273 </dependency>
274
275<!-- Took from MockServer modules after removing it to avoid class file for javax.servlet.ServletContextListener not found -->
276 <dependency>
277 <groupId>com.github.tomakehurst</groupId>
278 <artifactId>wiremock</artifactId>
279 <version>1.56</version>
280 <classifier>standalone</classifier>
281 <exclusions>
282 <exclusion>
283 <groupId>org.mortbay.jetty</groupId>
284 <artifactId>jetty</artifactId>
285 </exclusion>
286 <exclusion>
287 <groupId>com.google.guava</groupId>
288 <artifactId>guava</artifactId>
289 </exclusion>
290 <exclusion>
291 <groupId>com.fasterxml.jackson.core</groupId>
292 <artifactId>jackson-core</artifactId>
293 </exclusion>
294 <exclusion>
295 <groupId>com.fasterxml.jackson.core</groupId>
296 <artifactId>jackson-annotations</artifactId>
297 </exclusion>
298 <exclusion>
299 <groupId>com.fasterxml.jackson.core</groupId>
300 <artifactId>jackson-databind</artifactId>
301 </exclusion>
302 <exclusion>
303 <groupId>org.apache.httpcomponents</groupId>
304 <artifactId>httpclient</artifactId>
305 </exclusion>
306 <exclusion>
307 <groupId>org.skyscreamer</groupId>
308 <artifactId>jsonassert</artifactId>
309 </exclusion>
310 <exclusion>
311 <groupId>xmlunit</groupId>
312 <artifactId>xmlunit</artifactId>
313 </exclusion>
314 <exclusion>
315 <groupId>com.jayway.jsonpath</groupId>
316 <artifactId>json-path</artifactId>
317 </exclusion>
318 <exclusion>
319 <groupId>net.sf.jopt-simple</groupId>
320 <artifactId>jopt-simple</artifactId>
321 </exclusion>
322 </exclusions>
323 </dependency>
324 </dependencies>
325</project>