unleash-client-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>no.finn.unleash</groupId> <artifactId>unleash-client-java</artifactId> <version>4.4.1</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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>no.finn.unleash</groupId> <artifactId>unleash-client-java</artifactId> <version>4.4.1</version> <properties> <version.slf4j>1.7.30</version.slf4j> <version.log4j2>2.13.3</version.log4j2> <version.junit5>5.7.2</version.junit5> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <version.unleash.specification>4.0.0</version.unleash.specification> <arguments /> </properties> <name>no.finn.unleash:unleash-client-java</name> <description>A client library for Unleash</description> <url>http://github.com/Unleash/unleash-client-java</url> <inceptionYear>2014</inceptionYear> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>chriswk</id> <email>chriswk@getunleash.ai</email> <name>Christopher Kolstad</name> <url>https://github.com/chriswk</url> <organization>Unleash</organization> <organizationUrl>https://getunleash.ai</organizationUrl> </developer> <developer> <id>ivarconr</id> <email>ivar@getunleash.ai</email> <name>Ivar Conradi Østhus</name> <url>https://github.com/ivarconr</url> <organizationUrl>https://getunleash.ai</organizationUrl> <organization>Unleash</organization> </developer> </developers> <scm> <url>https://github.com/Unleash/unleash-client-java</url> <connection>scm:git:git@github.com:Unleash/unleash-client-java.git</connection> <developerConnection>scm:git:git@github.com:Unleash/unleash-client-java.git</developerConnection> <tag>unleash-client-java-4.4.1</tag> </scm> <dependencies> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.6</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${version.slf4j}</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> <optional>true</optional> </dependency> <dependency> <groupId>com.sangupta</groupId> <artifactId>murmur</artifactId> <version>1.0.0</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${version.junit5}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${version.junit5}</version> <scope>test</scope> </dependency> <!-- Legacy support --> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.19.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>3.7.7</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.tomakehurst</groupId> <artifactId>wiremock</artifactId> <version>2.27.2</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.JensPiegsa</groupId> <artifactId>wiremock-extension</artifactId> <version>0.4.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <version>${version.log4j2}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> <configuration> <forkCount>1</forkCount> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.2.0</version> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <!--Code analysis tools--> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.7</version> <executions> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.eluder.coveralls</groupId> <artifactId>coveralls-maven-plugin</artifactId> <version>4.3.0</version> <configuration> <repoToken>Z9wVezAubEVqnGPYkOUW031cqHPve2jBz</repoToken> </configuration> <dependencies> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.3.1</version> </dependency> </dependencies> </plugin> <!--Download client-specifications--> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>wagon-maven-plugin</artifactId> <version>2.0.2</version> <executions> <execution> <id>download-client-specifications</id> <phase>process-test-resources</phase> <goals> <goal>download-single</goal> </goals> <configuration> <url>https://github.com</url> <fromFile>Unleash/client-specification/archive/v${version.unleash.specification}.zip </fromFile> <toDir>${project.build.directory}/client-specification</toDir> </configuration> </execution> </executions> </plugin> <!--Unpack client-specification--> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>truezip-maven-plugin</artifactId> <version>1.2</version> <executions> <execution> <id>unpack-client-specification</id> <goals> <goal>copy</goal> </goals> <phase>process-test-resources</phase> <configuration> <verbose>true</verbose> <fileset> <directory> ${project.build.directory}/client-specification/v${version.unleash.specification}.zip </directory> <outputDirectory>${project.build.directory}/client-specification/</outputDirectory> </fileset> </configuration> </execution> </executions> </plugin> <!--Move & rename client-specification--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>move-client-specification</id> <phase>process-test-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.testOutputDirectory}/client-specification</outputDirectory> <resources> <resource> <directory> ${project.build.directory}/client-specification/client-specification-${version.unleash.specification} </directory> <filtering>false</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> <useReleaseProfile>false</useReleaseProfile> <arguments>${arguments} -Psonatype-release</arguments> </configuration> </plugin> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>2.7.0</version> <configuration> <formats> <format> <includes> <include>*.md</include> <include>.gitignore</include> </includes> <trimTrailingWhitespace /> <endWithNewline /> <indent> <spaces>true</spaces> <tabs>false</tabs> <spacesPerTab>4</spacesPerTab> </indent> </format> </formats> <java> <removeUnusedImports /> <toggleOffOn /> <googleJavaFormat> <style>AOSP</style> </googleJavaFormat> <indent> <spaces>true</spaces> </indent> </java> </configuration> <executions> <execution> <id>check</id> <goals> <goal>check</goal> </goals> </execution> <execution> <id>format</id> <goals> <goal>apply</goal> </goals> <phase>compile</phase> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>sonatype-release</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/ </sonatypeOssDistMgmtSnapshotsUrl> </properties> <repositories> <repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <distributionManagement> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>${sonatypeOssDistMgmtSnapshotsUrl}</url> </snapshotRepository> <repository> <id>sonatype-nexus-staging</id> <name>Nexus Release Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories> </project>