Initial OpenECOMP MSO commit
[so.git] / bpmn / MSOCoreBPMN / pom.xml
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <parent>
5                 <groupId>org.openecomp.mso</groupId>
6                 <artifactId>bpmn</artifactId>
7                 <version>0.0.4-SNAPSHOT</version>
8         </parent>
9         <modelVersion>4.0.0</modelVersion>
10         <groupId>org.openecomp.mso</groupId>
11         <artifactId>MSOCoreBPMN</artifactId>
12         <packaging>jar</packaging>
13         
14         <build>
15                 <plugins>
16                         <!-- Note: test utilities really ought to exist only in the test scope but -->
17                         <!-- this doesn't seem to work in the jenkins build environment.  When unit -->
18                         <!-- tests are disabled, maven skips building the test scoped jar but then -->
19                         <!-- it inexplicably requires the jar when it is included as a test-scoped -->
20                         <!-- dependency in other projects. There might be something strange in the -->
21                         <!-- jenkins configuration because I don't have this problem on my PC, and -->
22                         <!-- I'm using the same version of maven/surefire -->
23                         <plugin>
24                                 <groupId>org.apache.maven.plugins</groupId>
25                                 <artifactId>maven-jar-plugin</artifactId>
26                                 <version>2.6</version>
27                                 <executions>
28                                         <execution>
29                                                 <!-- Build MSOCoreBPMN-${version}.jar -->
30                                                 <!-- excluding unit test utilities -->
31                                                 <id>default-jar</id>
32                                                 <phase>package</phase>
33                                                 <goals>
34                                                         <goal>jar</goal>
35                                                 </goals>
36                                                 <configuration>
37                                                         <excludes>
38                                                                 <exclude>org/openecomp/mso/bpmn/test/**</exclude>
39                                                         </excludes>
40                                                 </configuration>
41                                         </execution>
42                                         <execution>
43                                                 <!-- Build MSOCoreBPMN-${version}-test.jar -->
44                                                 <!-- containing only the unit test utilities -->
45                                                 <id>test-utilities</id>
46                                                 <phase>package</phase>
47                                                 <goals>
48                                                         <goal>jar</goal>
49                                                 </goals>
50                                                 <configuration>
51                                                         <classifier>test</classifier>
52                                                         <includes>
53                                                                 <include>org/openecomp/mso/bpmn/test/**</include>
54                                                         </includes>
55                                                 </configuration>
56                                         </execution>
57                                 </executions>
58                         </plugin>
59
60                 </plugins>
61         </build>
62
63         <dependencies>
64                 <dependency>
65                         <groupId>org.camunda.bpm</groupId>
66                         <artifactId>camunda-engine</artifactId>
67                         <scope>provided</scope>
68                 </dependency>
69                 <dependency>
70                         <groupId>org.camunda.bpm</groupId>
71                         <artifactId>camunda-engine-rest</artifactId>
72                         <classifier>classes</classifier>
73                         <!-- exclusion to use latest commons-fileupload -->
74                         <exclusions>
75                                 <exclusion>
76                                         <groupId>commons-fileupload</groupId>
77                                         <artifactId>commons-fileupload</artifactId>
78                                 </exclusion>
79                         </exclusions>
80                 </dependency>
81                 <!-- latest commons-fileupload -->
82                 <dependency>
83                         <groupId>commons-fileupload</groupId>
84                         <artifactId>commons-fileupload</artifactId>
85                         <version>1.3.2</version>
86                 </dependency>
87                 <dependency>
88                         <groupId>javax.servlet</groupId>
89                         <artifactId>javax.servlet-api</artifactId>
90                         <version>3.0.1</version>
91                         <scope>provided</scope>
92                 </dependency>
93                 <dependency>
94                         <groupId>junit</groupId>
95                         <artifactId>junit</artifactId>
96                         <scope>test</scope>
97                 </dependency>
98                 <dependency>
99                         <groupId>org.mockito</groupId>
100                         <artifactId>mockito-all</artifactId>
101                         <version>1.10.19</version>
102                         <scope>test</scope>
103                 </dependency>
104                 <!-- Connectors, in compile scope to include it in the war file -->
105                 <dependency>
106                         <groupId>org.camunda.connect</groupId>
107                         <artifactId>camunda-connect-connectors-all</artifactId>
108                         <scope>compile</scope>
109                 </dependency>
110                 <dependency>
111                         <groupId>org.camunda.template-engines</groupId>
112                         <artifactId>camunda-template-engines-freemarker</artifactId>
113                 </dependency>
114                 <dependency>
115                         <groupId>org.camunda.bpm</groupId>
116                         <artifactId>camunda-engine-plugin-spin</artifactId>
117                 </dependency>
118                 <!-- OPTIONAL: spin dataformats -->
119                 <dependency>
120                         <groupId>org.camunda.spin</groupId>
121                         <artifactId>camunda-spin-dataformat-json-jackson</artifactId>
122                 </dependency>
123                 <dependency>
124                         <groupId>org.camunda.spin</groupId>
125                         <artifactId>camunda-spin-dataformat-xml-dom</artifactId>
126                 </dependency>
127                 <dependency>
128                         <groupId>org.camunda.bpm</groupId>
129                         <artifactId>camunda-engine-plugin-connect</artifactId>
130                 </dependency>
131                 <dependency>
132                         <groupId>org.codehaus.groovy</groupId>
133                         <artifactId>groovy-all</artifactId>
134                         <scope>compile</scope>
135                 </dependency>
136                 <dependency>
137                         <groupId>com.h2database</groupId>
138                         <artifactId>h2</artifactId>
139                         <scope>provided</scope>
140                 </dependency>
141                 <dependency>
142                         <groupId>net.sf.saxon</groupId>
143                         <artifactId>Saxon-HE</artifactId>
144                 </dependency>
145                 <dependency>
146                         <groupId>org.openecomp.mso</groupId>
147                         <artifactId>common</artifactId>
148                         <version>${project.version}</version>
149                 </dependency>
150                 <dependency>
151                         <groupId>org.jboss.resteasy</groupId>
152                         <artifactId>resteasy-jaxrs</artifactId>
153                         <version>3.0.19.Final</version>
154                         <scope>provided</scope>
155                         <exclusions>
156                                 <exclusion>
157                                         <groupId>org.slf4j</groupId>
158                                         <artifactId>slf4j-api</artifactId>
159                                 </exclusion>
160                                 <exclusion>
161                                         <groupId>org.slf4j</groupId>
162                                         <artifactId>slf4j-simple</artifactId>
163                                 </exclusion>
164                                 <exclusion>
165                                         <groupId>org.apache.httpcomponents</groupId>
166                                         <artifactId>httpclient</artifactId>
167                                 </exclusion>
168                         </exclusions>
169                 </dependency>
170                 <dependency>
171                         <groupId>org.json</groupId>
172                         <artifactId>json</artifactId>
173                         <version>20160212</version>
174                 </dependency>
175                 <dependency>
176                         <groupId>xmlunit</groupId>
177                         <artifactId>xmlunit</artifactId>
178                         <version>1.6</version>
179                 </dependency>
180         </dependencies>
181 </project>