<?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.1.8</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>java-manta-client</artifactId> <name>java-manta-client</name> <version>3.1.8</version> <description>Java Manta Client</description> <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> <configuration> <minimizeJar>true</minimizeJar> <artifactSet> <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> </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-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <skip>${maven.test.skip}</skip> <suiteXmlFiles> <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile> </suiteXmlFiles> </configuration> </plugin> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <version>${maven-replacer-plugin-plugin.version}</version> <executions> <execution> <id>replace-version-info</id> <phase>generate-sources</phase> <goals> <goal>replace</goal> </goals> <configuration> <basedir>${project.basedir}/src/main/java</basedir> <includes> <include>**/MantaVersion.java</include> </includes> <preserveDir>true</preserveDir> <replacements> <replacement> <token>VERSION = ".*";</token> <value>VERSION = "${project.version}";</value> </replacement> <replacement> <token>DATE = Instant\..*;</token> <value>DATE = Instant.parse("${maven.build.timestamp}");</value> </replacement> </replacements> </configuration> </execution> <execution> <id>revert-version-info</id> <phase>prepare-package</phase> <goals> <goal>replace</goal> </goals> <configuration> <basedir>${project.basedir}/src/main/java</basedir> <includes> <include>**/MantaVersion.java</include> </includes> <preserveDir>true</preserveDir> <replacements> <replacement> <token>VERSION = ".*";</token> <value>VERSION = "${project.version}";</value> </replacement> <replacement> <token>DATE = Instant\..*;</token> <value>DATE = Instant.now();</value> </replacement> </replacements> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk15on</artifactId> <version>1.56</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> <version>1.56</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.squareup.jnagmp</groupId> <artifactId>bouncycastle-rsa</artifactId> <version>2.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>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.1.7</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>slf4j-api</artifactId> <groupId>org.slf4j</groupId> </exclusion> <exclusion> <artifactId>logback-core</artifactId> <groupId>ch.qos.logback</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.9.10</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>junit</artifactId> <groupId>junit</groupId> </exclusion> <exclusion> <artifactId>jcommander</artifactId> <groupId>com.beust</groupId> </exclusion> <exclusion> <artifactId>bsh</artifactId> <groupId>org.beanshell</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.21</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>2.0.2-beta</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>objenesis</artifactId> <groupId>org.objenesis</groupId> </exclusion> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> </dependencies> <properties> <maven-replacer-plugin-plugin.version>1.5.3</maven-replacer-plugin-plugin.version> </properties> </project>
<dependency> <groupId>com.joyent.manta</groupId> <artifactId>java-manta-client</artifactId> <version>3.1.8</version> </dependency>
com.joyent.manta:java-manta-client:3.1.8