From 7b3885ce83f340d4b311301d87b3d5aa60dca9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Brychta?= Date: Thu, 3 Oct 2024 10:09:52 +0100 Subject: [PATCH 1/2] Remove outdated release-related code #5787 --- build.sbt | 10 ---------- project/Common.scala | 3 --- 2 files changed, 13 deletions(-) diff --git a/build.sbt b/build.sbt index 0d9885f40..ae91f00e3 100644 --- a/build.sbt +++ b/build.sbt @@ -73,13 +73,3 @@ lazy val snapshot_generator = setupProject( localDependencies = Seq(display, search_common), externalDependencies = CatalogueDependencies.snapshotGeneratorDependencies ) - -// AWS Credentials to read from S3 - -s3CredentialsProvider := { _ => - val builder = new STSAssumeRoleSessionCredentialsProvider.Builder( - "arn:aws:iam::760097843905:role/terraform-20210811133135108800000001", - UUID.randomUUID().toString - ) - builder.build() -} diff --git a/project/Common.scala b/project/Common.scala index 9951ad8a4..3aaf38f92 100644 --- a/project/Common.scala +++ b/project/Common.scala @@ -5,9 +5,6 @@ object Common { val settings: Seq[Def.Setting[_]] = Seq( scalaVersion := "2.12.16", organization := "weco", - resolvers ++= Seq( - "Wellcome releases" at "s3://releases.mvn-repo.wellcomecollection.org/" - ), scalacOptions ++= Seq( "-deprecation", "-unchecked", From 0bc262fcee7d548028c652f63a06ad25570966d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Brychta?= Date: Mon, 7 Oct 2024 13:54:04 +0100 Subject: [PATCH 2/2] Delete Publish.scala --- project/Publish.scala | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 project/Publish.scala diff --git a/project/Publish.scala b/project/Publish.scala deleted file mode 100644 index 43af1dbc6..000000000 --- a/project/Publish.scala +++ /dev/null @@ -1,13 +0,0 @@ -import sbt.Keys._ -import sbt._ - -object Publish { - val settings: Seq[Def.Setting[_]] = Seq( - publishMavenStyle := true, - publishTo := Some( - "S3 releases" at "s3://releases.mvn-repo.wellcomecollection.org/" - ), - publishArtifact in Test := true, - publishArtifact in (Compile, packageDoc) := false - ) -}