blob: 05cfb7546ba48daf375069d7098083fe5dc6b106 [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 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>
<artifactId>org.apache.stanbol.enhancer.parent</artifactId>
<groupId>org.apache.stanbol</groupId>
<version>0.10.0-SNAPSHOT</version>
<relativePath>../../parent</relativePath>
</parent>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.enhancer.engines.tika</artifactId>
<version>0.10.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache Stanbol Enhancer Enhancement Engine : Apache Tika </name>
<description>Enhancement Engine that uses Apache Tika to convert parsed
documents to plain text and xhtml
</description>
<inceptionYear>2012</inceptionYear>
<scm>
<connection>
scm:svn:http://svn.apache.org/repos/asf/stanbol/trunk/enhancer/engines/tika/
</connection>
<developerConnection>
scm:svn:https://svn.apache.org/repos/asf/stanbol/trunk/enhancer/engines/tika/
</developerConnection>
<url>http://stanbol.apache.org/</url>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>
org.apache.stanbol.enhancer.servicesapi; provide:=true,
org.apache.stanbol.enhancer.servicesapi.impl; provide:=true,
*
</Import-Package>
<Private-Package>
org.apache.stanbol.enhancer.engines.tika.*
</Private-Package>
<!-- Workaround for COMPRESS-199 -->
<Embed-Dependency>
commons-compress,
xz
</Embed-Dependency>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<!-- AL20 License -->
<exclude>src/license/THIRD-PARTY.properties</exclude>
<!-- AL20 License for test resources (see src/test/resources/README) -->
<exclude>src/test/resources/test.doc</exclude>
<exclude>src/test/resources/test.email.txt</exclude>
<exclude>src/test/resources/test.html</exclude>
<exclude>src/test/resources/test.odt</exclude>
<exclude>src/test/resources/test.pages</exclude>
<exclude>src/test/resources/test.pdf</exclude>
<exclude>src/test/resources/test.rtf</exclude>
<exclude>src/test/resources/test.xhtml</exclude>
<exclude>src/test/resources/test2.html</exclude>
<exclude>src/test/resources/test2.pdf</exclude>
<exclude>src/test/resources/testASF.asf</exclude>
<exclude>src/test/resources/testGIF.gif</exclude>
<exclude>src/test/resources/testJPEG_EXIF.jpg</exclude>
<exclude>src/test/resources/testJPEG_GEO.jpg</exclude>
<exclude>src/test/resources/testMID.mid</exclude>
<exclude>src/test/resources/testMP3id3v24.mp3</exclude>
<exclude>src/test/resources/testMP3lyrics.mp3</exclude>
<exclude>src/test/resources/testTIFF.tif</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId>
<version>0.10.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-parsers</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr.annotations</artifactId>
</dependency>
<dependency>
<groupId>org.apache.clerezza</groupId>
<artifactId>rdf.core</artifactId>
</dependency>
<dependency> <!-- for metadata mappings -->
<groupId>org.apache.clerezza</groupId>
<artifactId>rdf.ontologies</artifactId>
</dependency>
<!-- Tika 1.2 requires commons-compress 1.4.1 but this can not be used
as OSGI bundle because of COMPRESS-199 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.tukaani</groupId>
<artifactId>xz</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.enhancer.core</artifactId>
<version>0.10.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency> <!-- used for debug level logging during tests -->
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>