| <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.tika</groupId> |
| <artifactId>tika-parsers-ml</artifactId> |
| <version>2.6.0</version> |
| </parent> |
| |
| <artifactId>tika-dl</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Apache Tika Deep Learning (powered by DL4J)</name> |
| <url>http://maven.apache.org</url> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>com.twelvemonkeys.common</groupId> |
| <artifactId>common-io</artifactId> |
| <version>${twelvemonkeys.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.twelvemonkeys.imageio</groupId> |
| <artifactId>imageio-bmp</artifactId> |
| <version>${twelvemonkeys.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.twelvemonkeys.imageio</groupId> |
| <artifactId>imageio-jpeg</artifactId> |
| <version>${twelvemonkeys.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.twelvemonkeys.imageio</groupId> |
| <artifactId>imageio-psd</artifactId> |
| <version>${twelvemonkeys.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.twelvemonkeys.imageio</groupId> |
| <artifactId>imageio-tiff</artifactId> |
| <version>${twelvemonkeys.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.freemarker</groupId> |
| <artifactId>freemarker</artifactId> |
| <version>2.3.31</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>tika-parser-advancedmedia-module</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.datavec</groupId> |
| <artifactId>datavec-data-image</artifactId> |
| <version>${dl4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.deeplearning4j</groupId> |
| <artifactId>deeplearning4j-zoo</artifactId> |
| <version>${dl4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.deeplearning4j</groupId> |
| <artifactId>deeplearning4j-modelimport</artifactId> |
| <version>${dl4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.deeplearning4j</groupId> |
| <artifactId>deeplearning4j-nn</artifactId> |
| <version>${dl4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.nd4j</groupId> |
| <artifactId>nd4j-api</artifactId> |
| <version>${dl4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.nd4j</groupId> |
| <artifactId>nd4j-native-platform</artifactId> |
| <version>${dl4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j2-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <!-- |
| To reduce the size of jar by excluding unnecessary native libs, |
| set `-Djavacpp.platform=<target>` |
| possible targets = {android-arm, linux-x86_64, macosx-x86_64, windows-x86_64} |
| More details here https://github.com/bytedeco/javacpp-presets/blob/master/README.md#downloads |
| |
| By default, native libs for all major native platforms are included. |
| --> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Automatic-Module-Name>org.apache.tika.dl</Automatic-Module-Name> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${rat.version}</version> |
| <configuration> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <scm> |
| <tag>2.6.0-rc1</tag> |
| </scm> |
| </project> |