java-manta-client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.joyent.manta</groupId>
<artifactId>java-manta-client</artifactId>
<version>3.5.0</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>java-manta</artifactId>
<groupId>com.joyent.manta</groupId>
<version>3.5.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>java-manta-client</artifactId>
<name>java-manta-client</name>
<version>3.5.0</version>
<description>Java Manta Client</description>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<forceCreation>true</forceCreation>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<minimizeJar>false</minimizeJar>
<artifactSet>
<includes>
<include>com.joyent.manta:*</include>
<include>com.joyent.http-signature:*</include>
<include>org.apache.httpcomponents:*</include>
<include>org.apache.commons:commons-lang3</include>
<include>org.apache.commons:commons-collections4</include>
<include>commons-io:commons-io</include>
<include>commons-codec:commons-codec</include>
<include>com.fasterxml.uuid:java-uuid-generator</include>
<include>com.fasterxml.jackson.core:*</include>
<include>com.fasterxml.jackson.datatype:jackson-datatype-jsr310</include>
<include>com.joyent.util:fast-md5</include>
<include>org.slf4j:jcl-over-slf4j</include>
<include>io.mikael:urlbuilder</include>
<include>uk.com.robust-it:cloning</include>
<include>org.objenesis:objenesis</include>
</includes>
<excludes>
<exclude>com.google.code.findbugs:jsr305</exclude>
<exclude>junit:junit</exclude>
<exclude>org.slf4j:slf4j-api</exclude>
<exclude>org.bouncycastle:*</exclude>
<exclude>com.squareup.jnagmp:*</exclude>
<exclude>net.java.dev.jna:*</exclude>
<exclude>org.hamcrest:*</exclude>
<exclude>org.mockito:*</exclude>
<exclude>commons-logging:*</exclude>
</excludes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.joyent.http</pattern>
<shadedPattern>com.joyent.manta.http</shadedPattern>
</relocation>
<relocation>
<pattern>com.google</pattern>
<shadedPattern>com.joyent.manta.com.google</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache</pattern>
<shadedPattern>com.joyent.manta.org.apache</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml</pattern>
<shadedPattern>com.joyent.manta.com.fasterxml</shadedPattern>
</relocation>
<relocation>
<pattern>io.mikael.urlbuilder</pattern>
<shadedPattern>com.joyent.manta.io.mikael.urlbuilder</shadedPattern>
</relocation>
<relocation>
<pattern>org.objenesis</pattern>
<shadedPattern>com.joyent.manta.org.objenesis</shadedPattern>
</relocation>
<relocation>
<pattern>com.rits</pattern>
<shadedPattern>com.joyent.manta.com.rits</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>org.apache.commons:commons-collections4</artifact>
<excludes>
<exclude>org/apache/commons/collections4/functors/InvokerTransformer.class</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<executions>
<execution>
<id>default-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<excludeDefaultDirectories>true</excludeDefaultDirectories>
<filesets>
<fileset>
<directory>src</directory>
<directory>target</directory>
</fileset>
</filesets>
</configuration>
</execution>
<execution>
<id>clean-client-shade-workaround-source-pre</id>
<phase>deploy</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<excludeDefaultDirectories>true</excludeDefaultDirectories>
<filesets>
<fileset>
<directory>src</directory>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${maven-build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>add-shade-source-workaround-src</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.basedir}/src/shade-source-workaround</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-maven-resources-plugin.version}</version>
<executions>
<execution>
<id>copy-shade-source-workaround-src</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>src/shade-source-workaround</outputDirectory>
<resources>
<resource>
<directory>${multi.module.root}/java-manta-client-unshaded/src/main/java</directory>
</resource>
</resources>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.65</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.65</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.squareup.jnagmp</groupId>
<artifactId>bouncycastle-rsa</artifactId>
<version>3.0.0</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<artifactId>bcpkix-jdk15on</artifactId>
<groupId>org.bouncycastle</groupId>
</exclusion>
<exclusion>
<artifactId>bcprov-jdk15on</artifactId>
<groupId>org.bouncycastle</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.29</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.24.5</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>objenesis</artifactId>
<groupId>org.objenesis</groupId>
</exclusion>
<exclusion>
<artifactId>byte-buddy</artifactId>
<groupId>net.bytebuddy</groupId>
</exclusion>
<exclusion>
<artifactId>byte-buddy-agent</artifactId>
<groupId>net.bytebuddy</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>