diff --git a/.gitignore b/.gitignore index b83d222..c8ee1df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target/ +/dependency-reduced-pom.xml diff --git a/README.md b/README.md index b266882..73a821c 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,11 @@ Set the Region explicitly in your `advanced.auth-provider.class` configuration ( ## Add the Authentication Plugin to the Application -The authentication plugin supports version 4.x of the DataStax Java Driver for Cassandra. If you’re using Apache Maven, or a build system that can use Maven dependencies, add the following dependencies to your `pom.xml` file. +The authentication plugin supports version 4.x of the DataStax Java Driver for Cassandra. + +### With Maven/Ivy + +If you’re using Apache Maven, or a build system that can use Maven dependencies, add the following dependencies to your `pom.xml` file. ``` xml @@ -70,6 +74,12 @@ The authentication plugin supports version 4.x of the DataStax Java Driver for C ``` +### Download the Shaded JAR + +If you just need the JAR to use with a third party tool, please use the shaded JAR (includes the SDK and other +dependencies) located in the [releases](https://github.com/aws/aws-sigv4-auth-cassandra-java-driver-plugin/releases) +section on GitHub. + ## How to use the Authentication Plugin When using the open-source DataStax Java driver, the connection to your Amazon Keyspaces endpoint is represented by the `CqlSession` class. To create the `CqlSession`, you can either configure it programmatically using the `CqlSessionBuilder` class (accessed via `CqlSession.builder()`) or with the configuration file. diff --git a/pom.xml b/pom.xml index a7a8dbf..7483f96 100644 --- a/pom.xml +++ b/pom.xml @@ -177,6 +177,69 @@ + + org.jacoco + jacoco-maven-plugin + 0.8.7 + + + default-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + default-check + + check + + + + + BUNDLE + + + COMPLEXITY + COVEREDRATIO + 0.60 + + + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.2.4 + + true + true + + + com.datastax.oss + + + + + package + + shade + + + +