blob: e9d5033555f3ad587e4bb34000d785498eaea68d [file] [log] [blame]
<?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.2.4</version>
<relativePath>../../core/pom.xml</relativePath>
</parent>
<artifactId>cas-product</artifactId>
<packaging>war</packaging>
<name>CAS Product Server Web Application</name>
<description>This project builds on top of the CAS file management component and exposes
its underlying data delivery capabilities using the OODT ProductServer
component. All-in-all, this project contributes an OODT LargeProductHandler
component, that can be used to deliver and format a CAS product structure
into an OODT XML Query Result Set.</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>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<!--
Zip4j is released under the Apache License, Version 2.0
For reference, see: http://www.lingala.net/zip4j/about.php
-->
<groupId>net.lingala.zip4j</groupId>
<artifactId>zip4j</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-extension-providers</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-local</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>org.apache.oodt</groupId>
<artifactId>cas-filemgr</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.oodt</groupId>
<artifactId>cas-metadata</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.oodt</groupId>
<artifactId>oodt-commons</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<targetPath>org/apache/oodt/xmlquery</targetPath>
<directory>${basedir}/src/main/conf</directory>
<includes>
<include>mime.properties</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/dtd</directory>
</resource>
</resources>
<testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
<plugins>
<!--
For plugins by Maven we don't need to specify a groupId because the
groupId org.apache.maven.plugins is assumed by default.
-->
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<webResources>
<resource>
<!-- this is relative to the pom.xml directory -->
<directory>.</directory>
<includes>
<include>LICENSE.txt</include>
<include>CHANGES.txt</include>
</includes>
<targetPath>META-INF/</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<name>java.util.logging.config.file</name>
<value>${basedir}/src/test/resources/test.logging.properties</value>
</property>
</systemProperties>
<excludes>
<exclude>org/apache/oodt/cas/product/service/resources/ResourceTestBase.java</exclude>
<exclude>org/apache/oodt/xmlquery/CodecTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>