cfmcgrady commented on code in PR #1802:
URL: 
https://github.com/apache/incubator-celeborn/pull/1802#discussion_r1289640550


##########
project/CelebornBuild.scala:
##########
@@ -334,14 +383,14 @@ object CelebornWorker {
     .settings (
       commonSettings,
       libraryDependencies ++= Seq(
-        "com.google.guava" % "guava" % guavaVersion,
-        "commons-io" % "commons-io" % commonsIoVersion,
-        "io.netty" % "netty-all" % nettyVersion,
-        "org.apache.logging.log4j" % "log4j-1.2-api" % log4j2Version,
-        "org.apache.logging.log4j" % "log4j-slf4j-impl" % log4j2Version,
-        "org.fusesource.leveldbjni" % "leveldbjni-all" % leveldbJniVersion,
-        "org.roaringbitmap" % "RoaringBitmap" % roaringBitmapVersion,
-        "org.mockito" %% "mockito-scala-scalatest" % scalatestMockitoVersion % 
"test",
+        Dependencies.guava,
+        Dependencies.commonsIo,
+        Dependencies.ioNetty,
+        Dependencies.log4j12Api,

Review Comment:
   In the current implementation, we're using a naming pattern like this:
   
   ```
   ${dependency}${scope}
   ```
   
   For instance:
   
   ```
   log4j12Api -> "org.apache.logging.log4j" % "log4j-1.2-api" % log4j2Version 
   log4j12ApiTest -> "org.apache.logging.log4j" % "log4j-1.2-api" % 
log4j2Version % "test"
   ```
   Moreover, a dependency lacking a scope suffix designates the default runtime 
scope.
   
   Do you have a better suggestion for the name rules?
   



-- 
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]

Reply via email to