sam-byng commented on code in PR #6:
URL: 
https://github.com/apache/incubator-pekko-samples/pull/6#discussion_r1137378898


##########
pekko-sample-distributed-workers-scala/build.sbt:
##########
@@ -0,0 +1,27 @@
+name := "pekko-distributed-workers"
+
+version := "1.0"
+
+scalaVersion := "2.13.8"
+val pekkoVersion = "0.0.0+26617-325e2156-SNAPSHOT"
+
+// allow access to snapshots
+resolvers += "Apache Nexus 
Snapshots".at("https://repository.apache.org/content/groups/snapshots/";)
+
+val cassandraPluginVersion = "1.0.6"
+
+Global / cancelable := false
+
+libraryDependencies ++= Seq(
+  "org.apache.pekko" %% "pekko-cluster-typed" % pekkoVersion,
+  "org.apache.pekko" %% "pekko-persistence-typed" % pekkoVersion,
+  "org.apache.pekko" %% "pekko-persistence-query" % pekkoVersion,
+  "org.apache.pekko" %% "pekko-serialization-jackson" % pekkoVersion,
+  "org.apache.pekko" %% "pekko-persistence-cassandra" % cassandraPluginVersion,
+  // this allows us to start cassandra from the sample
+  "org.apache.pekko" %% "pekko-persistence-cassandra-launcher" % 
cassandraPluginVersion,

Review Comment:
   ```suggestion
     "com.typesafe.akka" %% "akka-persistence-cassandra" % 
cassandraPluginVersion,
      // this allows us to start cassandra from the sample
     "com.typesafe.akka" %% "akka-persistence-cassandra-launcher" % 
cassandraPluginVersion,
   ```
   
   Per comment above, suggest revert back to akka dependency until 
pekko-persistence-cassandra snapshots is released.
   
   Note that the CI pipeline is not running test over this sample, so we would 
have missed this otherwise.
   
   Local test yields:
   
   ```
   [error] (update) sbt.librarymanagement.ResolveException: Error downloading 
org.apache.pekko:pekko-persistence-cassandra-launcher_2.13:1.0.6
   [error]   Not found
   [error]   Not found
   [error]   not found: 
/home/developer/.ivy2/localorg.apache.pekko/pekko-persistence-cassandra-launcher_2.13/1.0.6/ivys/ivy.xml
   [error]   not found: 
https://repo1.maven.org/maven2/org/apache/pekko/pekko-persistence-cassandra-launcher_2.13/1.0.6/pekko-persistence-cassandra-launcher_2.13-1.0.6.pom
   [error]   not found: 
https://repository.apache.org/content/groups/snapshots/org/apache/pekko/pekko-persistence-cassandra-launcher_2.13/1.0.6/pekko-persistence-cassandra-launcher_2.13-1.0.6.pom
   [error] Error downloading 
org.apache.pekko:pekko-persistence-cassandra_2.13:1.0.6
   [error]   Not found
   [error]   Not found
   [error]   not found: 
/home/developer/.ivy2/localorg.apache.pekko/pekko-persistence-cassandra_2.13/1.0.6/ivys/ivy.xml
   [error]   not found: 
https://repo1.maven.org/maven2/org/apache/pekko/pekko-persistence-cassandra_2.13/1.0.6/pekko-persistence-cassandra_2.13-1.0.6.pom
   [error]   not found: 
https://repository.apache.org/content/groups/snapshots/org/apache/pekko/pekko-persistence-cassandra_2.13/1.0.6/pekko-persistence-cassandra_2.13-1.0.6.pom
   [error] Total time: 3 s, completed Mar 15, 2023, 4:08:20 PM
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to