From 965e9f934ce5aeadfd93f402dcbffddc1f3b6ec4 Mon Sep 17 00:00:00 2001 From: Brian Schlining Date: Wed, 12 May 2021 08:29:27 -0700 Subject: [PATCH] Updated dependencies --- build.sbt | 24 +++++++++---------- .../m3/panoptes/services/FileArchiver.scala | 3 ++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/build.sbt b/build.sbt index cd1a183..2643b3b 100644 --- a/build.sbt +++ b/build.sbt @@ -1,15 +1,15 @@ -lazy val auth0Version = "3.10.3" -lazy val codecVersion = "1.14" -lazy val configVersion = "1.4.0" -lazy val jettyVersion = "9.4.30.v20200611" -lazy val json4sJacksonVersion = "3.6.9" +lazy val auth0Version = "3.16.0" +lazy val codecVersion = "1.15" +lazy val configVersion = "1.4.1" +lazy val jettyVersion = "9.4.40.v20210413" +lazy val json4sJacksonVersion = "3.6.11" lazy val jansiVersion = "1.18" lazy val jtaVersion = "1.1" -lazy val junitVersion = "4.13" +lazy val junitVersion = "4.13.2" lazy val logbackVersion = "1.3.0-alpha4" -lazy val rxjavaVersion = "3.0.4" -lazy val scalatestVersion = "3.2.0" -lazy val scalatraVersion = "2.7.0" +lazy val rxjavaVersion = "3.0.12" +lazy val scalatestVersion = "3.2.8" +lazy val scalatraVersion = "2.7.1" lazy val servletVersion = "4.0.1" lazy val slf4jVersion = "1.8.0-beta4" @@ -17,8 +17,8 @@ Global / onChangedBuildSource := ReloadOnSourceChanges lazy val buildSettings = Seq( organization := "org.mbari.m3", - scalaVersion := "2.13.3", - crossScalaVersions := Seq("2.13.3"), + scalaVersion := "2.13.5", + crossScalaVersions := Seq("2.13.5"), organizationName := "Monterey Bay Aquarium Research Institute", startYear := Some(2017), licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt")) @@ -87,7 +87,7 @@ lazy val `panoptes` = (project in file(".")) .settings(appSettings) .settings( name := "panoptes", - version := "0.2.3", + version := "0.2.4", fork := true, libraryDependencies ++= Seq( "com.auth0" % "java-jwt" % auth0Version, diff --git a/src/main/scala/org/mbari/m3/panoptes/services/FileArchiver.scala b/src/main/scala/org/mbari/m3/panoptes/services/FileArchiver.scala index 05e17b4..13b63fd 100644 --- a/src/main/scala/org/mbari/m3/panoptes/services/FileArchiver.scala +++ b/src/main/scala/org/mbari/m3/panoptes/services/FileArchiver.scala @@ -18,8 +18,8 @@ package org.mbari.m3.panoptes.services import java.io.InputStream import java.net.URI - import com.typesafe.config.ConfigFactory +import org.slf4j.LoggerFactory import scala.concurrent.{ExecutionContext, Future} @@ -67,6 +67,7 @@ object FileArchiver { val Instance: FileArchiver = { val serviceName = config.getString("panoptes.file.archiver") val clazz = Class.forName(serviceName) + LoggerFactory.getLogger(getClass).info(s"Using '$serviceName' for file archiving") clazz .getDeclaredConstructor() .newInstance()