tika-server-standard
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-server-standard</artifactId>
<version>4.0.0</version>
</dependency><?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">
<parent>
<artifactId>tika-server</artifactId>
<groupId>org.apache.tika</groupId>
<version>4.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>tika-server-standard</artifactId>
<name>Apache Tika standard server</name>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-server-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-parsers-standard-package</artifactId>
<version>${project.version}</version>
<type>pom</type>
<!-- this is brought in by tika-server-core. Don't duplicate -->
<exclusions>
<exclusion>
<groupId>org.apache.tika</groupId>
<artifactId>tika-parser-digest-commons</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.tika</groupId>
<artifactId>tika-parser-zip-commons</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- inference: text embeddings and CLIP image embeddings -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-inference</artifactId>
<version>${project.version}</version>
</dependency>
<!-- VLM: OpenAI-compatible, Gemini, and Claude vision parsers -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-vlm</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-handler-boilerpipe</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-xmp</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
</dependency>
<!-- test jars -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-server-core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-langdetect-opennlp</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-langdetect-optimaize</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<argLine>-da -XX:+HeapDumpOnOutOfMemoryError -Xmx512m</argLine>
<systemPropertyVariables>
<java.util.logging.config.file>
${basedir}/src/main/resources/log4j2.xml
</java.util.logging.config.file>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.apache.tika.server.core.TikaServerCli</mainClass>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
<manifestEntries>
<Automatic-Module-Name>org.apache.tika.server.standard</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-plugins</id>
<phase>process-test-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/plugins/tika-pipes-file-system</outputDirectory>
<artifactItems>
<artifactItem>
<groupId>org.apache.tika</groupId>
<artifactId>tika-pipes-file-system</artifactId>
<version>${project.version}</version>
<type>zip</type>
<overWrite>true</overWrite>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<inputExcludes>
<inputExclude>src/main/resources/tikaserver-version.properties</inputExclude>
<inputExclude>src/test/resources/test-documents/*</inputExclude>
<inputExclude>src/TODO</inputExclude>
</inputExcludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
<!-- TIKA-4733: the distribution zip is an Apache dist artifact, not a
Maven Central one. attach=false keeps it off Central; the
apache-release profile stages it to dist straight from target/.
Sibling modules (tika-e2e-tests/tika-server) that consume the
distribution zip as a Maven dep are satisfied by the install-file
execution below. appendAssemblyId=false drops the legacy "-bin"
classifier so the file is tika-server-standard-<version>.zip,
consistent with tika-app, tika-eval-app and the pipes plugins. -->
<attach>false</attach>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<executions>
<!--
With <attach>false</attach> on the assembly above (TIKA-4733) the
distribution zip is not part of the project artifact set and so is
neither deployed to Central nor installed locally. Sibling reactor
modules declare tika-server-standard:zip as a Maven dep, so install
it into the local repo at its canonical coordinates to satisfy
reactor resolution without publishing it to Central.
Bound to 'package' (not 'install') on purpose: the e2e-tests CI job
runs 'mvn -pl tika-e2e-tests -am clean verify', which never reaches
the install phase. tika-e2e-tests/tika-server unpacks this zip by
artifact coordinates during process-test-resources, so the zip must
be in the local repo by the time package completes on this module.
-->
<execution>
<id>install-server-zip-locally</id>
<phase>package</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<file>${project.build.directory}/tika-server-standard-${project.version}.zip</file>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<packaging>zip</packaging>
<generatePom>false</generatePom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<scm>
<tag>4.0.0-rc1</tag>
</scm>
</project>