dynamodb-lock-client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.amazonaws</groupId> <artifactId>dynamodb-lock-client</artifactId> <version>1.3.0</version> </dependency>
<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>com.amazonaws</groupId> <artifactId>dynamodb-lock-client</artifactId> <version>1.3.0</version> <packaging>jar</packaging> <name>Amazon DynamoDB Lock Client</name> <url>https://github.com/awslabs/amazon-dynamodb-lock-client</url> <description>The Amazon DynamoDB Lock Client is a general purpose distributed locking library built on DynamoDB.</description> <scm> <connection>scm:git:git://github.com/awslabs/amazon-dynamodb-lock-client.git</connection> <developerConnection>scm:git:ssh://github.com:awslabs/amazon-dynamodb-lock-client.git</developerConnection> <url>https://github.com/awslabs/amazon-dynamodb-lock-client</url> </scm> <properties> <!-- general properties --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <dynamodb-local.port>8000</dynamodb-local.port> <dynamodb-local.endpoint>http://localhost:${dynamodb-local.port}</dynamodb-local.endpoint> <jdk.version>1.8</jdk.version> <!-- build toolchain --> <maven.assembly.plugin.version>3.1.1</maven.assembly.plugin.version> <maven.compiler.plugin.version>3.8.0</maven.compiler.plugin.version> <maven.dependency.plugin.version>3.1.1</maven.dependency.plugin.version> <maven.enforcer.plugin.version>3.0.0-M2</maven.enforcer.plugin.version> <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version> <maven.javadoc.plugin.version>3.0.1</maven.javadoc.plugin.version> <maven.resources.plugin.version>3.1.0</maven.resources.plugin.version> <maven.source.plugin.version>3.0.1</maven.source.plugin.version> <!-- compile dependencies --> <aws.java.sdk.version>2.20.8</aws.java.sdk.version> <netty.version>[4.1.89.Final,)</netty.version> <commons-logging.version>1.2</commons-logging.version> <!-- test dependencies --> <dynamodblocal.version>1.21.0</dynamodblocal.version> <mockito.version>2.23.0</mockito.version> <powermock.version>2.0.0</powermock.version> <hamcrest.version>1.3</hamcrest.version> <bytebuddy.version>1.9.3</bytebuddy.version> <!-- test toolchain --> <junit.version>4.13.1</junit.version> <log4j-core.version>2.17.1</log4j-core.version> <maven.surefire.version>3.0.0-M3</maven.surefire.version> <maven.failsafe.version>3.0.0-M3</maven.failsafe.version> <docker.maven.plugin.version>0.40.2</docker.maven.plugin.version> <build.profile.id>dev</build.profile.id> <integration-test.category>*/BasicLockClientTests.java,*/GetAllLocksTests.java,*/GetLocksByPartitionKeyTest.java,*/ConsistentLockDataStressTest.java</integration-test.category> <!-- code quality tools --> <maven.checkstyle.plugin.version>3.0.0</maven.checkstyle.plugin.version> <spotbugs-maven-plugin.version>3.1.10</spotbugs-maven-plugin.version> <jacoco.version>0.8.2</jacoco.version> <jacoco.it.execution.data.file>${project.build.directory}/coverage-reports/jacoco-it.exec</jacoco.it.execution.data.file> <jacoco.ut.execution.data.file>${project.build.directory}/coverage-reports/jacoco-ut.exec</jacoco.ut.execution.data.file> <jacoco-aggregate-destFile>${project.build.directory}/coverage-reports/aggregate.exec</jacoco-aggregate-destFile> </properties> <developers> <developer> <name>Justin Lin</name> <email>lnjus@amazon.com</email> </developer> <developer> <name>Alexander Patrikalakis</name> <email>amcpatrikalakis@gmail.com</email> <url>https://www.linkedin.com/in/amcpatrix/en</url> </developer> <developer> <name>Sasha Slutsker</name> <email>slutsker@amazon.com</email> <url>https://www.linkedin.com/in/sasha-slutsker-72a07814</url> </developer> <developer> <name>David Yanacek</name> <email>dyanacek@amazon.com</email> <url>https://www.linkedin.com/in/david-yanacek-5927362/</url> </developer> <developer> <name>Mukti Ranjan Sahoo</name> <email>mukti@amazon.com</email> <url>https://www.linkedin.com/in/mukti-ranjan-sahoo-50051098/</url> </developer> <developer> <name>Amey Jain</name> <email>jainame@amazon.com</email> <url>https://www.linkedin.com/in/ameyjain/</url> </developer> <developer> <name>Sathish Kumar A C</name> <email>sath@amazon.com</email> <url>https://www.linkedin.com/in/acsathish</url> </developer> </developers> <inceptionYear>2013</inceptionYear> <licenses> <license> <name>Amazon Software License</name> <url>https://aws.amazon.com/asl/</url> <distribution>repo</distribution> </license> </licenses> <dependencies> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>dynamodb</artifactId> <version>${aws.java.sdk.version}</version> <exclusions> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-codec-http</artifactId> </exclusion> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-handler</artifactId> </exclusion> <exclusion> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>sdk-core</artifactId> <version>${aws.java.sdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>annotations</artifactId> <version>${aws.java.sdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>auth</artifactId> <version>${aws.java.sdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>regions</artifactId> <version>${aws.java.sdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>http-client-spi</artifactId> <version>${aws.java.sdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>aws-core</artifactId> <version>${aws.java.sdk.version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-core</artifactId> <version>${powermock.version}</version> <scope>test</scope> <exclusions> <exclusion> <!--mockito-core pulls in 2.5 but powermock pulls in 2.4. exclude from powermock.--> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito2</artifactId> <version>${powermock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>${powermock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jacoco</groupId> <artifactId>org.jacoco.agent</artifactId> <version>${jacoco.version}</version> <classifier>runtime</classifier> <scope>test</scope> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>${commons-logging.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j-core.version}</version> <scope>test</scope> </dependency> </dependencies> <dependencyManagement> <dependencies> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>${commons-logging.version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>${hamcrest.version}</version> </dependency> <dependency> <groupId>org.reactivestreams</groupId> <artifactId>reactive-streams</artifactId> <version>1.0.2</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-http</artifactId> <version>${netty.version}</version> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-handler</artifactId> <version>${netty.version}</version> </dependency> <dependency> <!--mockito-core pulls in 1.9.0 but powermock pulls in 1.9.3. force 1.9.3.--> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy-agent</artifactId> <version>${bytebuddy.version}</version> </dependency> <dependency> <!--mockito-core pulls in 1.9.0 but powermock pulls in 1.9.3. force 1.9.3.--> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <version>${bytebuddy.version}</version> </dependency> </dependencies> </dependencyManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven.enforcer.plugin.version}</version> <executions> <execution> <id>enforce</id> <configuration> <rules> <dependencyConvergence /> </rules> </configuration> <goals> <goal>enforce</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>${spotbugs-maven-plugin.version}</version> <configuration> <effort>Max</effort> <threshold>Low</threshold> <xmlOutput>true</xmlOutput> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <executions> <execution> <id>default-instrument</id> <goals> <goal>instrument</goal> </goals> </execution> <execution> <id>default-restore-instrumented-classes</id> <goals> <goal>restore-instrumented-classes</goal> </goals> </execution> <execution> <id>default-report</id> <goals> <goal>report</goal> </goals> </execution> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <!-- Sets the path to the file which contains the execution data. --> <destFile>${jacoco.it.execution.data.file}</destFile> <propertyName>failsafeArgLine</propertyName> </configuration> </execution> <execution> <id>post-integration-test</id> <phase>post-integration-test</phase> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${jacoco.it.execution.data.file}</dataFile> <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> </configuration> </execution> <execution> <id>check</id> <goals> <goal>check</goal> </goals> <configuration> <dataFile>${jacoco-aggregate-destFile}</dataFile> <rules> <rule> <element>CLASS</element> <limits> <limit> <counter>LINE</counter> <value>COVEREDRATIO</value> <minimum>0.5</minimum> </limit> <limit> <counter>BRANCH</counter> <value>COVEREDRATIO</value> <minimum>0.59</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> <execution> <id>merge-results</id> <phase>verify</phase> <goals> <goal>merge</goal> </goals> <configuration> <fileSets> <fileSet> <directory>${project.build.directory}/coverage-reports</directory> <includes> <include>*.exec</include> </includes> </fileSet> </fileSets> <destFile>${jacoco-aggregate-destFile}</destFile> </configuration> </execution> <execution> <id>post-merge-report</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${jacoco-aggregate-destFile}</dataFile> <outputDirectory>${project.reporting.outputDirectory}/jacoco-aggregate</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.8</version> <executions> <execution> <goals> <goal>check</goal> <goal>cpd-check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${maven.dependency.plugin.version}</version> <executions> <execution> <id>analyze</id> <goals> <goal>analyze-only</goal> </goals> <configuration> <failOnWarning>true</failOnWarning> <ignoreNonCompile>true</ignoreNonCompile> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.surefire.version}</version> <configuration> <excludes>${integration-test.category}</excludes> <systemPropertyVariables> <jacoco-agent.destfile>${jacoco.ut.execution.data.file}</jacoco-agent.destfile> </systemPropertyVariables> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${maven.resources.plugin.version}</version> </plugin> </plugins> </build> <profiles> <profile> <id>ossrh-release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven.source.plugin.version}</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>${maven.javadoc.plugin.version}</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>${maven.gpg.plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>integration-tests</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven.failsafe.version}</version> <executions> <execution> <id>default-integration-tests</id> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <includes> <include>*/BasicLockClientTests.java</include> <include>*/GetAllLocksTests.java</include> <include>*/GetLocksByPartitionKeyTest.java</include> </includes> <skip>false</skip> <systemPropertyVariables> <dynamodb-local.endpoint>${dynamodb-local.endpoint}</dynamodb-local.endpoint> </systemPropertyVariables> </configuration> </execution> </executions> </plugin> <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <version>${docker.maven.plugin.version}</version> <executions> <execution> <id>prepare-it-database</id> <phase>pre-integration-test</phase> <goals> <goal>start</goal> </goals> <configuration> <images> <image> <name>amazon/dynamodb-local:${dynamodblocal.version}</name> <alias>it-database</alias> <run> <ports> <port>${dynamodb-local.port}:${dynamodb-local.port}</port> </ports> </run> </image> </images> </configuration> </execution> <execution> <id>remove-it-database</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <distributionManagement> <snapshotRepository> <id>aws</id> <url>https://aws.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>aws</id> <url>https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> </project>