diff --git a/pom.xml b/pom.xml index ded9f0c9..c0cc6ea3 100644 --- a/pom.xml +++ b/pom.xml @@ -166,13 +166,6 @@ ${apache-shiro.version} - - org.iq80.snappy - snappy - ${snappy.version} - true - - org.aspectj @@ -243,6 +236,13 @@ test + + org.iq80.snappy + snappy + ${snappy.version} + test + + org.springframework.shell spring-shell diff --git a/src/main/asciidoc/reference/bootstrap-annotations.adoc b/src/main/asciidoc/reference/bootstrap-annotations.adoc index d9b94068..fca8d79d 100644 --- a/src/main/asciidoc/reference/bootstrap-annotations.adoc +++ b/src/main/asciidoc/reference/bootstrap-annotations.adoc @@ -1292,6 +1292,16 @@ TIP: Alternatively, a user may use the `spring.data.gemfire.cache.compression.co and `spring.data.gemfire.cache.compression.region-names` properties in the `application.properties` file to set and configure the values of these `@EnableCompression` annotation attributes. +WARNING: To use Apache Geode's Region Compression feature, you must include the `org.iq80.snappy:snappy` dependency +in your _Maven_ `pom.xml` or `build.gradle` file when using _Gradle_. This is only necessary if you use Apache Geode's +default, out-of-the-box support for Region Compression, which uses the +http://geode.apache.org/releases/latest/javadoc/org/apache/geode/compression/SnappyCompressor.html[`SnappyCompressor`] +by default. Of course, if you are using another compression library, you will need to include dependencies +for that compression library on your application's classpath. Additionally, you will need to implement Apache Geode's +http://geode.apache.org/releases/latest/javadoc/org/apache/geode/compression/Compressor.html[`Compressors`] to adapt +your compression library of choice, define it as a bean in the _Spring_ context, and then set the `compressorBeanName` +to this custom bean definition. + See the `@EnableCompression` annotation _Javadoc_ for more details. More details on Apache Geode Compression can be found