diff --git a/akka-docs/rst/java/cluster-sharding.rst b/akka-docs/rst/java/cluster-sharding.rst index d1d3d0cf99..f8042fe203 100644 --- a/akka-docs/rst/java/cluster-sharding.rst +++ b/akka-docs/rst/java/cluster-sharding.rst @@ -234,10 +234,6 @@ This mode is enabled with configuration:: Since it is running in a cluster :ref:`persistence-java` must be configured with a distributed journal. -You must explicitly add the ``akka-persistence`` dependency to your build if -you use this mode. - - Startup after minimum number of members --------------------------------------- diff --git a/akka-docs/rst/scala/cluster-sharding.rst b/akka-docs/rst/scala/cluster-sharding.rst index 2e2cccc94e..b2bc0fcd30 100644 --- a/akka-docs/rst/scala/cluster-sharding.rst +++ b/akka-docs/rst/scala/cluster-sharding.rst @@ -237,9 +237,6 @@ This mode is enabled with configuration:: Since it is running in a cluster :ref:`persistence-scala` must be configured with a distributed journal. -You must explicitly add the ``akka-persistence`` dependency to your build if -you use this mode. - Startup after minimum number of members --------------------------------------- diff --git a/project/AkkaBuild.scala b/project/AkkaBuild.scala index 2299726aea..0c1ca8d139 100644 --- a/project/AkkaBuild.scala +++ b/project/AkkaBuild.scala @@ -180,7 +180,7 @@ object AkkaBuild extends Build { // Scope "test" is alright in the pom.xml, but would have been nicer with // provided. dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm", - distributedData % "compile;test->provided", persistence % "provided;test", clusterTools) + distributedData, persistence % "compile;test->provided", clusterTools) ).configs(MultiJvm) lazy val distributedData = Project(