| <?xml version="1.0"?> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <parent> |
| <groupId>org.openecomp.mso</groupId> |
| <artifactId>bpmn</artifactId> |
| <version>1.1.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.openecomp.mso</groupId> |
| <artifactId>MSOCoreBPMN</artifactId> |
| <packaging>jar</packaging> |
| |
| <build> |
| <plugins> |
| <!-- Note: test utilities really ought to exist only in the test scope but --> |
| <!-- this doesn't seem to work in the jenkins build environment. When unit --> |
| <!-- tests are disabled, maven skips building the test scoped jar but then --> |
| <!-- it inexplicably requires the jar when it is included as a test-scoped --> |
| <!-- dependency in other projects. There might be something strange in the --> |
| <!-- jenkins configuration because I don't have this problem on my PC, and --> |
| <!-- I'm using the same version of maven/surefire --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.6</version> |
| <executions> |
| <execution> |
| <!-- Build MSOCoreBPMN-${version}.jar --> |
| <!-- excluding unit test utilities --> |
| <id>default-jar</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <exclude>org/openecomp/mso/bpmn/test/**</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| <execution> |
| <!-- Build MSOCoreBPMN-${version}-test.jar --> |
| <!-- containing only the unit test utilities --> |
| <id>test-utilities</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <classifier>test</classifier> |
| <includes> |
| <include>org/openecomp/mso/bpmn/test/**</include> |
| </includes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.camunda.bpm</groupId> |
| <artifactId>camunda-engine</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.camunda.bpm</groupId> |
| <artifactId>camunda-engine-rest</artifactId> |
| <classifier>classes</classifier> |
| <!-- exclusion to use latest commons-fileupload --> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- latest commons-fileupload --> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.3.2</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>3.0.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>1.10.19</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- Connectors, in compile scope to include it in the war file --> |
| <dependency> |
| <groupId>org.camunda.connect</groupId> |
| <artifactId>camunda-connect-connectors-all</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.camunda.template-engines</groupId> |
| <artifactId>camunda-template-engines-freemarker</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.camunda.bpm</groupId> |
| <artifactId>camunda-engine-plugin-spin</artifactId> |
| </dependency> |
| <!-- OPTIONAL: spin dataformats --> |
| <dependency> |
| <groupId>org.camunda.spin</groupId> |
| <artifactId>camunda-spin-dataformat-json-jackson</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.camunda.spin</groupId> |
| <artifactId>camunda-spin-dataformat-xml-dom</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.camunda.bpm</groupId> |
| <artifactId>camunda-engine-plugin-connect</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.saxon</groupId> |
| <artifactId>Saxon-HE</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openecomp.mso</groupId> |
| <artifactId>common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.resteasy</groupId> |
| <artifactId>resteasy-jaxrs</artifactId> |
| <version>3.0.19.Final</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.json</groupId> |
| <artifactId>json</artifactId> |
| <version>20160212</version> |
| </dependency> |
| <dependency> |
| <groupId>xmlunit</groupId> |
| <artifactId>xmlunit</artifactId> |
| <version>1.6</version> |
| </dependency> |
| </dependencies> |
| </project> |