Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 70c43b0

Browse files
committed
Make changes to support publishing to Artylab
1 parent 21bf29d commit 70c43b0

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

build.sbt

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ organization := "com.audienceproject"
22

33
name := "spark-dynamodb"
44

5-
version := "1.1.3-SNAPSHOT"
5+
version := "1.1.3-expedia"
66

77
description := "Plug-and-play implementation of an Apache Spark custom data source for AWS DynamoDB."
88

@@ -106,28 +106,34 @@ Test / resourceGenerators += Def.task {
106106
.toSeq
107107
}.taskValue
108108

109+
Global / useGpgPinentry := true
110+
109111
/**
110112
* Maven specific settings for publishing to Maven central.
111113
*/
112114
publishMavenStyle := true
113115
publishArtifact in Test := false
114116
pomIncludeRepository := { _ => false }
115-
publishTo := {
116-
val nexus = "https://oss.sonatype.org/"
117-
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
118-
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
119-
}
120-
pomExtra := <url>https://github.com/audienceproject/spark-dynamodb</url>
117+
118+
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
119+
publishTo := Some("Artylab" at "https://artylab.expedia.biz/bexg-maven-release-local")
120+
//publishTo := {
121+
// val nexus = "https://oss.sonatype.org/"
122+
// if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
123+
// else Some("releases" at nexus + "service/local/staging/deploy/maven2")
124+
//}
125+
pomExtra := <url>https://github.com/rehevkor5/spark-dynamodb</url>
121126
<licenses>
122127
<license>
123128
<name>Apache License, Version 2.0</name>
124129
<url>https://opensource.org/licenses/apache-2.0</url>
125130
</license>
126131
</licenses>
127132
<scm>
128-
<url>git@github.com:audienceproject/spark-dynamodb.git</url>
129-
<connection>scm:git:git//github.com/audienceproject/spark-dynamodb.git</connection>
130-
<developerConnection>scm:git:ssh://github.com:audienceproject/spark-dynamodb.git</developerConnection>
133+
<url>git@github.com:rehevkor5/spark-dynamodb.git</url>
134+
<connection>scm:git:git//github.com/rehevkor5/spark-dynamodb.git</connection>
135+
<developerConnection>scm:git:ssh://github.com:rehevkor5/spark-dynamodb.git</developerConnection>
136+
<tag>expedia</tag>
131137
</scm>
132138
<developers>
133139
<developer>

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
logLevel := Level.Warn
22

3-
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
3+
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
44
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
55
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")

0 commit comments

Comments
 (0)