diff --git a/akka-docs/rst/java/cluster-sharding.rst b/akka-docs/rst/java/cluster-sharding.rst index 47b62ee93b..9af493ab4d 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 b90d575be8..a47aebfa2c 100644 --- a/project/AkkaBuild.scala +++ b/project/AkkaBuild.scala @@ -171,7 +171,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(