<?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-client-parent</artifactId> <groupId>io.split.client</groupId> <version>4.18.3</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>java-client</artifactId> <name>Java Client</name> <version>4.18.3</version> <description>Java SDK for Split</description> <build> <resources> <resource> <filtering>true</filtering> <directory>src/main/resources</directory> </resource> </resources> <filters> <filter>src/main/resources/splitversion.properties</filter> </filters> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <inherited>false</inherited> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>non-shaded-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> <configuration> <classifier>non-shaded</classifier> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.2.4</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <minimizeJar>false</minimizeJar> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <artifactSet> <includes> <include>io.split.engine:*</include> <include>io.split.client:*</include> <include>io.split.schemas:*</include> <include>io.codigo.grammar:*</include> <include>org.apache.httpcomponents.*</include> <include>org.apache.hc.*</include> <include>com.google.code.gson:gson</include> <include>com.google.guava:guava</include> <include>org.yaml:snakeyaml:*</include> <include>org.checkerframework:*</include> <include>commons-codec:*</include> </includes> </artifactSet> <transformers> <transformer /> <transformer /> </transformers> <relocations> <relocation> <pattern>org.apache</pattern> <shadedPattern>split.org.apache</shadedPattern> </relocation> <relocation> <pattern>org.checkerframework</pattern> <shadedPattern>split.org.checkerframework</shadedPattern> </relocation> <relocation> <pattern>org.yaml.snakeyaml</pattern> <shadedPattern>split.org.yaml.snakeyaml</shadedPattern> </relocation> <relocation> <pattern>com.google</pattern> <shadedPattern>split.com.google</shadedPattern> </relocation> </relocations> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/**</exclude> <exclude>LICENSE</exclude> <exclude>NOTICE</exclude> <exclude>/*.txt</exclude> <exclude>build.properties</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> <extensions>true</extensions> <configuration> <ignorePublishedComponents>false</ignorePublishedComponents> <publishingServerId>central</publishingServerId> <autoPublish>false</autoPublish> <waitUntil>published</waitUntil> </configuration> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>failureaccess</artifactId> <version>1.0.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>listenablefuture</artifactId> <version>9999.0-empty-to-avoid-conflict-with-guava</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> <version>2.18.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.google.j2objc</groupId> <artifactId>j2objc-annotations</artifactId> <version>2.8</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.36</version> <scope>compile</scope> </dependency> </dependencies> <properties> <maven.compiler.target>8</maven.compiler.target> <maven.compiler.source>8</maven.compiler.source> <slf4j.api.version>1.7.36</slf4j.api.version> </properties> </project>
<dependency> <groupId>io.split.client</groupId> <artifactId>java-client</artifactId> <version>4.18.3</version> </dependency>
io.split.client:java-client:4.18.3