algoliasearch-apache-uber
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.algolia</groupId>
<artifactId>algoliasearch-apache-uber</artifactId>
<version>3.16.14</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>algoliasearch</artifactId>
<groupId>com.algolia</groupId>
<version>3.16.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>algoliasearch-apache-uber</artifactId>
<name>algoliasearch-apache-uber</name>
<description>Uber jar for Algolia Search API using Apache HTTP client</description>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.1</version>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Bundle-SymbolicName>com.algolia.algoliasearch-apache-uber</Bundle-SymbolicName>
<Bundle-Name>algoliasearch-apache-uber</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>com.algolia.search.*,
${relocated.org.apache}.http.impl.nio.client,
${relocated.com.fasterxml.jackson}.annotation,
${relocated.com.fasterxml.jackson}.databind</Export-Package>
<Import-Package>javax.net.ssl,javax.naming,!org.apache.avalon.framework.logger,!org.apache.log,!org.apache.log4j,!javax.servlet,*</Import-Package>
<Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>org.apache.*:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</filter>
<filter>
<artifact>commons-codec:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</filter>
<filter>
<artifact>commons-logging:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
<exclude>org/apache/commons/logging/impl/Log4JLogger.class</exclude>
<exclude>org/apache/commons/logging/impl/AvalonLogger.class</exclude>
<exclude>org/apache/commons/logging/impl/LogKitLogger.class</exclude>
<exclude>org/apache/commons/logging/impl/Jdk13LumberjackLogger.class</exclude>
<exclude>org/apache/commons/logging/impl/ServletContextCleaner.class</exclude>
</excludes>
</filter>
<filter>
<artifact>com.fasterxml.jackson.*:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.apache</pattern>
<shadedPattern>${relocated.org.apache}</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml.jackson</pattern>
<shadedPattern>${relocated.com.fasterxml.jackson}</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<includeDependencySources>true</includeDependencySources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<relocated.org.apache>com.algolia.search.org.apache</relocated.org.apache>
<relocated.com.fasterxml.jackson>com.algolia.search.com.fasterxml.jackson</relocated.com.fasterxml.jackson>
</properties>
</project>