| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more contributor |
| license agreements. See the NOTICE.txt file distributed with this work for |
| additional information regarding copyright ownership. The ASF licenses this |
| file to you under the Apache License, Version 2.0 (the "License"); you may not |
| use this file except in compliance with the License. You may obtain a copy of |
| the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| License for the specific language governing permissions and limitations under |
| the License. |
| --> |
| <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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.oodt</groupId> |
| <artifactId>oodt-core</artifactId> |
| <version>1.9-SNAPSHOT</version> |
| <relativePath>../core/pom.xml</relativePath> |
| </parent> |
| <artifactId>cas-workflow</artifactId> |
| <name>Catalog and Archive Workflow Management Component</name> |
| <description>The workflow management component of a Catalog and Archive Service. This component |
| purposefully separates workflow repositories and workflow engines standard interfaces, and |
| provides some out of the box backend implementations of them (including one based |
| on the javax.sql.DataSource interface). This component provides everything that you need |
| to execute workflows, and science processing pipelines.</description> |
| <!-- All dependencies should be listed in core/pom.xml and be ordered alphabetically by package and artifact. |
| Once the dependency is in the core pom, it can then be used in other modules without the version tags. |
| For example, within core/pom.xml: |
| |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk</artifactId> |
| <version>1.7.4</version> |
| </dependency> |
| |
| Elsewhere in the platform: |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk</artifactId> |
| </dependency> |
| |
| Where possible the same dependency version should be used across the whole platform but if required the version |
| can be overridden in a specific pom and should have a comment explaing why the version has been overridden |
| --> |
| <dependencies> |
| <!-- https://mvnrepository.com/artifact/org.apache.avro/avro --> |
| <dependency> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| <version>1.8.1</version> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/org.apache.avro/avro-ipc --> |
| <dependency> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro-ipc</artifactId> |
| <version>1.8.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-dbcp</groupId> |
| <artifactId>commons-dbcp</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-pool</groupId> |
| <artifactId>commons-pool</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>concurrent</groupId> |
| <artifactId>concurrent</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.javamail</groupId> |
| <artifactId>geronimo-javamail_1.4_mail</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-activation_1.1_spec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-analyzers-common</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-backward-codecs</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.oodt</groupId> |
| <artifactId>cas-cli</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.oodt</groupId> |
| <artifactId>cas-metadata</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.oodt</groupId> |
| <artifactId>cas-resource</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.oodt</groupId> |
| <artifactId>oodt-commons</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.oodt</groupId> |
| <artifactId>oodt-conf</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.safehaus.jug</groupId> |
| <artifactId>jug</artifactId> |
| <classifier>asl</classifier> |
| </dependency> |
| <dependency> |
| <groupId>xmlrpc</groupId> |
| <artifactId>xmlrpc</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-management</artifactId> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </dependency> |
| <!-- Logging - JUL to SLF4J --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro-maven-plugin</artifactId> |
| <version>1.7.7</version> |
| <configuration> |
| <stringType>String</stringType> |
| <detail>true</detail> |
| </configuration> |
| <executions> |
| <execution> |
| <id>schemas</id> |
| <configuration> |
| <imports> |
| <import>${basedir}/src/main/avro/types/AvroWorkflowCondition.avsc</import> |
| <import>${basedir}/src/main/avro/types/AvroWorkflowTask.avsc</import> |
| <import>${basedir}/src/main/avro/types/AvroWorkflow.avsc</import> |
| <import>${basedir}/src/main/avro/types/AvroWorkflowInstance.avsc</import> |
| <import>${basedir}/src/main/avro/types/AvroWorkflowInstancePage.avsc</import> |
| </imports> |
| </configuration> |
| <goals> |
| <goal>schema</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>protocol</id> |
| <configuration><imports> |
| <import>${basedir}/src/main/avro/types</import> |
| </imports> |
| </configuration> |
| <goals> |
| <goal>idl-protocol</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>pertest</forkMode> |
| <useSystemClassLoader>false</useSystemClassLoader> |
| <systemProperties> |
| <property> |
| <name>java.util.logging.config.file</name> |
| <value>${basedir}/src/test/resources/test.logging.properties</value> |
| </property> |
| </systemProperties> |
| <environmentVariables> |
| <WORKFLOW_HOME>${project.basedir}</WORKFLOW_HOME> |
| <OODT_PROJECT>primary</OODT_PROJECT> |
| </environmentVariables> |
| <forkedProcessTimeoutInSeconds>0</forkedProcessTimeoutInSeconds> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <includes> |
| <include>**/*Test*.java</include> |
| </includes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-2</version> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/assembly.xml</descriptor> |
| </descriptors> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.oodt.cas.workflow.system.AvroRpcWorkflowManagerClient</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>audit</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rat-maven-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/src/test/resources/*</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>verify</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |