blob: 9f5fec8dd490c7d2f9ac65e1b3993d1e4f2b5bd2 [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>0.2</version>
<relativePath>../core/pom.xml</relativePath>
</parent>
<artifactId>cas-metadata</artifactId>
<name>Catalog and Archive Service Generic Multi-valued Metadata Container</name>
<description>A Multi-valued, generic Metadata container class. The class uses an internal
Map of string keys pointing to vectors of strings. The data
structure looks like the following:
[std:string key]⇒std:vector of std:strings
The multi-valued nature of the class is handled transparently by this Metadata
container. Since all values are stored internally as string vectors, the difference
between a scalar value and a non-scalar is handled by determining whether the list of
values for a particular key is greater than 1.</description>
<build>
<resources>
<resource>
<targetPath>org/apache/oodt/cas/metadata/util</targetPath>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>tika-mimetypes.xml</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<targetPath>org/apache/oodt/cas/metadata</targetPath>
<directory>${basedir}/src/testdata</directory>
<includes>
<include>extern-config.xml</include>
<include>copyandrewrite.test.conf</include>
<include>extern-config.xml</include>
<include>met_extr_preconditions.xml</include>
<include>samplemet.xml</include>
<include>testExtractor</include>
<include>testfile.txt</include>
<include>testfile2.txt.met</include>
<include>testfile2.txt</include>
<include>tika-mimetypes.xml</include>
</includes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<name>java.util.logging.config.file</name>
<value>${basedir}/src/main/resources/logging.properties</value>
</property>
</systemProperties>
<forkMode>never</forkMode>
<includes>
<include>**/*Test*.java</include>
</includes>
<excludes>
<exclude>org/apache/oodt/cas/metadata/MetadataTestCase.java</exclude>
</excludes>
</configuration>
</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>**/testdata/*</exclude>
<exclude>**/resources/examples/*</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.oodt</groupId>
<artifactId>oodt-commons</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.oodt</groupId>
<artifactId>pcs-input</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>0.8</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>2.5.4</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-hibernate3</artifactId>
<version>2.0.8</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>