<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.apache.tika</groupId> | |
<artifactId>tika-parser-modules</artifactId> | |
<version>2.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>tika-parser-multimedia-module</artifactId> | |
<name>Apache Tika parser multimedia module</name> | |
<url>http://tika.apache.org/</url> | |
<packaging>bundle</packaging> | |
<properties> | |
<metadata.extractor.version>2.8.0</metadata.extractor.version> | |
<isoparser.version>1.0.2</isoparser.version> | |
<commons.logging.version>1.1.3</commons.logging.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>tika-core</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.drewnoakes</groupId> | |
<artifactId>metadata-extractor</artifactId> | |
<version>${metadata.extractor.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-codec</groupId> | |
<artifactId>commons-codec</artifactId> | |
<version>${codec.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-io</groupId> | |
<artifactId>commons-io</artifactId> | |
<version>${commons.io.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.poi</groupId> | |
<artifactId>poi</artifactId> | |
<version>${poi.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.poi</groupId> | |
<artifactId>poi-scratchpad</artifactId> | |
<version>${poi.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.poi</groupId> | |
<artifactId>poi-ooxml</artifactId> | |
<version>${poi.version}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>stax</groupId> | |
<artifactId>stax-api</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>xml-apis</groupId> | |
<artifactId>xml-apis</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.googlecode.mp4parser</groupId> | |
<artifactId>isoparser</artifactId> | |
<version>${isoparser.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.pdfbox</groupId> | |
<artifactId>jempbox</artifactId> | |
<version>${pdfbox.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.pdfbox</groupId> | |
<artifactId>fontbox</artifactId> | |
<version>${pdfbox.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-logging</groupId> | |
<artifactId>commons-logging</artifactId> | |
<version>${commons.logging.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>tika-parser-web-module</artifactId> | |
<version>${project.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>tika-parser-pdf-module</artifactId> | |
<version>${project.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>tika-parser-office-module</artifactId> | |
<version>${project.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<classifier>bundle</classifier> | |
<instructions> | |
<Bundle-Activator>org.apache.tika.module.multimedia.internal.Activator</Bundle-Activator> | |
<_runsystempackages>com.sun.xml.bind.marshaller, | |
com.sun.xml.internal.bind.marshaller</_runsystempackages> | |
<Embed-Dependency> | |
metadata-extractor;inline=true, | |
xmpcore;inline=true, | |
commons-codec;inline=true, | |
commons-io;inline=true, | |
jempbox;inline=true, | |
fontbox;inline=true, | |
poi;inline=true, | |
isoparser;inline=true, | |
aspectjrt;inline=true | |
</Embed-Dependency> | |
<Embed-Transitive>true</Embed-Transitive> | |
<Export-Package> | |
org.apache.tika.parser.image.*, | |
org.apache.tika.parser.jpeg.*, | |
org.apache.tika.parser.audio.*, | |
org.apache.tika.parser.video.*, | |
org.apache.tika.parser.mp3.*, | |
org.apache.tika.parser.mp4.* | |
</Export-Package> | |
<Import-Package> | |
*, | |
com.adobe.xmp;resolution:=optional, | |
com.adobe.xmp.properties;resolution:=optional, | |
android.util;resolution:=optional | |
</Import-Package> | |
</instructions> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
<configuration> | |
<useDefaultManifestFile>true</useDefaultManifestFile> | |
<includes> | |
<include>org/apache/tika/**</include> | |
<include>META-INF/**</include> | |
</includes> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-failsafe-plugin</artifactId> | |
<executions> | |
<execution> | |
<goals> | |
<goal>integration-test</goal> | |
<goal>verify</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<systemPropertyVariables> | |
<org.ops4j.pax.logging.DefaultServiceLog.level> | |
WARN | |
</org.ops4j.pax.logging.DefaultServiceLog.level> | |
</systemPropertyVariables> | |
<systemProperties> | |
<property> | |
<name>project.bundle.file</name> | |
<value>target/${project.build.finalName}-bundle.jar</value> | |
</property> | |
</systemProperties> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |