Merge "Reorder modifiers"
[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.onap.so</groupId>
5                 <artifactId>bpmn</artifactId>
6                 <version>1.2.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                 <dependency>
204                     <groupId>com.google.guava</groupId>
205                     <artifactId>guava</artifactId>
206                     <version>22.0</version> <!-- or 22.0-android for the Android flavor -->
207                 </dependency>
208                 <dependency>
209                         <!-- AssertJ Testing Library -->
210                         <groupId>org.camunda.bpm.extension</groupId>
211                         <artifactId>camunda-bpm-assert</artifactId>
212                         <version>2.0-alpha2</version>
213                         <scope>test</scope>
214                 </dependency>
215                 
216                 <!-- Spin dataformat support, in compile scope to include it in the war
217                         file -->
218                 <dependency>
219                         <groupId>org.camunda.spin</groupId>
220                         <artifactId>camunda-spin-dataformat-all</artifactId>
221                         <scope>compile</scope>
222                 </dependency>
223                 <dependency>
224                         <artifactId>camunda-spin-dataformat-all</artifactId>
225                         <groupId>org.camunda.spin</groupId>
226                         <scope>compile</scope>
227                 </dependency>
228                 <dependency>
229                         <groupId>org.camunda.bpm</groupId>
230                         <artifactId>camunda-engine-plugin-spin</artifactId>
231                         <scope>compile</scope>
232                 </dependency>
233
234                 <dependency>
235                         <groupId>org.camunda.bpm</groupId>
236                         <artifactId>camunda-engine-plugin-connect</artifactId>
237                         <scope>compile</scope>
238                 </dependency>
239
240                 <dependency>
241                         <!-- Bootstrap for styling via Webjars project -->
242                         <groupId>org.webjars</groupId>
243                         <artifactId>bootstrap</artifactId>
244                         <version>2.3.2</version>
245                 </dependency>
246                 <dependency>
247                         <!-- Needed for InMemoryH2Test -->
248                         <groupId>com.h2database</groupId>
249                         <artifactId>h2</artifactId>
250                         <scope>test</scope>
251                 </dependency>
252
253                 <dependency>
254                         <groupId>com.fasterxml.uuid</groupId>
255                         <artifactId>java-uuid-generator</artifactId>
256                 </dependency>
257                 <dependency>
258                         <groupId>org.codehaus.groovy</groupId>
259                         <artifactId>groovy-all</artifactId>
260                 </dependency>
261                 <dependency>
262                         <groupId>org.apache.commons</groupId>
263                         <artifactId>commons-lang3</artifactId>
264                         <version>3.4</version>
265                 </dependency>
266                 <dependency>
267                         <groupId>org.onap.so</groupId>
268                         <artifactId>MSOCoreBPMN</artifactId>
269                         <version>${project.version}</version>
270                 </dependency>
271                 <dependency>
272                         <groupId>org.onap.so</groupId>
273                         <artifactId>MSOCommonBPMN</artifactId>
274                         <version>${project.version}</version>
275             </dependency>
276                 <dependency>
277                         <groupId>org.onap.so</groupId>
278                         <artifactId>MSOCommonBPMN</artifactId>
279                         <version>${project.version}</version>
280                         <classifier>tests</classifier>
281                         <scope>test</scope>
282                 </dependency>
283                 <dependency>
284                         <!-- unit test utilities -->
285                         <groupId>org.onap.so</groupId>
286                         <artifactId>MSOCoreBPMN</artifactId>
287                         <version>${project.version}</version>
288                         <classifier>tests</classifier>
289                         <scope>test</scope>
290                 </dependency>
291                 <dependency>
292                         <groupId>javax.ws.rs</groupId>
293                         <artifactId>javax.ws.rs-api</artifactId>
294                         <version>2.0</version>
295                 </dependency>
296                 <!--            for encoding the url the same way A&AI does -->
297         <dependency>
298            <groupId>org.springframework</groupId>
299         <artifactId>spring-web</artifactId>
300         <version>4.3.2.RELEASE</version>
301         </dependency>
302         <dependency>
303           <groupId>org.onap.so</groupId>
304           <artifactId>MSORESTClient</artifactId>
305           <version>${project.version}</version>
306         </dependency>
307
308     <dependency>
309         <groupId>javax.servlet</groupId>
310         <artifactId>javax.servlet-api</artifactId>
311         <version>3.0.1</version>
312         <scope>provided</scope>
313     </dependency>
314
315
316                 <dependency>
317                 <groupId>org.camunda.bpm</groupId>
318                 <artifactId>camunda-engine-spring</artifactId>
319                 </dependency>
320                 <dependency>
321     <groupId>org.springframework</groupId>
322     <artifactId>spring-beans</artifactId>
323     <version>4.3.2.RELEASE</version>
324 </dependency>
325 <dependency>
326                         <!-- Optional Plugin for Camunda BPM Workbench -->
327                         <groupId>org.camunda.bpm.workbench</groupId>
328                         <artifactId>camunda-workbench-dist-embeddable</artifactId>
329                         <version>1.0.0-alpha8</version>
330                         <scope>test</scope>
331                 </dependency>
332
333                 <dependency>
334                         <groupId>org.onap.msb.java-sdk</groupId>
335                         <artifactId>msb-java-sdk</artifactId>
336                         <version>1.0.0</version>
337                         <exclusions>
338                                 <exclusion>
339                                         <groupId>com.eclipsesource.jaxrs</groupId>
340                                         <artifactId>jersey-all</artifactId>
341                                 </exclusion>
342                         </exclusions>
343                 </dependency>
344
345                 <!-- bwj add; Jetty-util -->
346                 <dependency>
347                         <groupId>org.eclipse.jetty</groupId>
348                         <artifactId>jetty-util</artifactId>
349                         <version>9.4.8.v20171121</version>
350                 </dependency>
351                 <!-- bwj add; hibernate-validator -->
352                 <dependency>
353                         <groupId>org.hibernate</groupId>
354                         <artifactId>hibernate-validator</artifactId>
355                         <version>5.4.2.Final</version>
356                 </dependency>
357                 <!-- bwj add; spring-test -->
358                 <dependency>
359                         <groupId>org.springframework</groupId>
360                         <artifactId>spring-test</artifactId>
361                         <version>4.3.14.RELEASE</version>
362                 </dependency>
363                 <!-- bwj add; libphonenumber  -->
364                 <dependency>
365                         <groupId>com.googlecode.libphonenumber</groupId>
366                         <artifactId>libphonenumber</artifactId>
367                         <version>8.9.1</version>
368                 </dependency>
369     <dependency>
370       <groupId>org.assertj</groupId>
371       <artifactId>assertj-core</artifactId>
372       <version>2.4.0</version>
373       <scope>test</scope>
374     </dependency>
375     <dependency>
376       <groupId>org.springframework.boot</groupId>
377       <artifactId>spring-boot-test</artifactId>
378       <version>1.4.2.RELEASE</version>
379       <scope>test</scope>
380     </dependency>
381                 <dependency>
382                         <groupId>ch.qos.logback</groupId>
383                         <artifactId>logback-classic</artifactId>
384                         <version>1.2.3</version>
385                 </dependency>
386                 <dependency>
387                         <groupId>ch.qos.logback</groupId>
388                         <artifactId>logback-core</artifactId>
389                         <version>1.2.3</version>
390                 </dependency>
391                 <dependency>
392                         <groupId>org.slf4j</groupId>
393                         <artifactId>slf4j-api</artifactId>
394                 </dependency>
395         </dependencies>
396 </project>