You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/02/08 10:47:37 UTC
[incubator-pekko-connectors-kafka] branch main updated: more props needed for jar publish (#28)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-connectors-kafka.git
The following commit(s) were added to refs/heads/main by this push:
new 1043bd27 more props needed for jar publish (#28)
1043bd27 is described below
commit 1043bd27d6d96e6f2c0ec2d073f5327b32c72566
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Wed Feb 8 11:47:32 2023 +0100
more props needed for jar publish (#28)
---
.asf.yaml | 2 +-
CONTRIBUTING.md | 2 +-
docs/src/main/paradox/home.md | 2 +-
project/ProjectSettings.scala | 22 ++++++++++++++++++----
4 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 08739ef9..801c7ba0 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,7 +1,7 @@
# https://cwiki.apache.org/confluence/display/INFRA/.asf.yaml+features+for+git+repositories
github:
- description: "Apache Pekko Kafka connector - Pekko-Connectors is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Apache Pekko."
+ description: "Apache Pekko Kafka Connector - Pekko-Connectors is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Apache Pekko."
homepage: https://pekko.apache.org/
labels:
- pekko
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5ed70d40..a7099a20 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,4 +1,4 @@
-# Welcome! Thank you for contributing to the Apache Pekko Kafka connector!
+# Welcome! Thank you for contributing to the Apache Pekko Kafka Connector!
We follow the standard GitHub [fork & pull](https://help.github.com/articles/using-pull-requests/#fork--pull) approach to pull requests. Just fork the official repo, develop in a branch, and submit a PR!
diff --git a/docs/src/main/paradox/home.md b/docs/src/main/paradox/home.md
index 5c1770a1..4fb60bf7 100644
--- a/docs/src/main/paradox/home.md
+++ b/docs/src/main/paradox/home.md
@@ -1,6 +1,6 @@
# Overview
-The [Apache Pekko Kafka connector project](https://pekko.apache.org/docs/pekko-connectors-kafka/current/) is an open source initiative to implement stream-aware and reactive integration pipelines for Java and Scala. It is built on top of @extref[Pekko Streams](pekko:stream/index.html), and has been designed from the ground up to understand streaming natively and provide a DSL for reactive and stream-oriented programming, with built-in support for backpressure. Akka Streams is a [Reactive [...]
+The [Apache Pekko Kafka Connector project](https://pekko.apache.org/docs/pekko-connectors-kafka/current/) is an open source initiative to implement stream-aware and reactive integration pipelines for Java and Scala. It is built on top of @extref[Pekko Streams](pekko:stream/index.html), and has been designed from the ground up to understand streaming natively and provide a DSL for reactive and stream-oriented programming, with built-in support for backpressure. Akka Streams is a [Reactive [...]
This **Alpakka Kafka connector** lets you connect [Apache Kafka](https://kafka.apache.org/) to Akka Streams. It was formerly known as **Akka Streams Kafka** and even **Reactive Kafka**.
diff --git a/project/ProjectSettings.scala b/project/ProjectSettings.scala
index abec2c56..aecf6f47 100644
--- a/project/ProjectSettings.scala
+++ b/project/ProjectSettings.scala
@@ -7,7 +7,7 @@ import net.aichler.jupiter.sbt.Import.jupiterTestFramework
import org.scalafmt.sbt.ScalafmtPlugin.autoImport.scalafmtOnCompile
import sbt.{ Def, _ }
import sbt.Keys._
-import xerial.sbt.Sonatype.autoImport.sonatypeProfileName
+import xerial.sbt.Sonatype.autoImport.{ sonatypeCredentialHost, sonatypeProfileName }
object ProjectSettings {
val onLoadMessage: String = """
@@ -48,6 +48,8 @@ object ProjectSettings {
| run a single benchmark backed by Docker containers
""".stripMargin
+ private val apacheBaseRepo = "repository.apache.org"
+
lazy val commonSettings: Seq[Def.Setting[_]] = Def.settings(
organization := "org.apache.pekko",
organizationName := "Apache Software Foundation",
@@ -60,9 +62,9 @@ object ProjectSettings {
"Apache Pekko Connectors Kafka Contributors",
"dev@pekko.apache.org",
url("https://github.com/apache/incubator-pekko-connectors-kafka/graphs/contributors")),
- startYear := Some(2014),
+ startYear := Some(2022),
licenses := Seq("Apache-2.0" -> url("https://opensource.org/licenses/Apache-2.0")),
- description := "Apache Pekko kafka connector is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Pekko.",
+ description := "Apache Pekko Kafka Connector is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Pekko.",
crossScalaVersions := Seq(Scala213),
scalaVersion := Scala213,
crossVersion := CrossVersion.binary,
@@ -110,5 +112,17 @@ object ProjectSettings {
|Copyright (C) 2016 - 2020 Lightbend Inc. <https://www.lightbend.com>
|""".stripMargin)),
projectInfoVersion := (if (isSnapshot.value) "snapshot" else version.value),
- sonatypeProfileName := "com.typesafe")
+ publishMavenStyle := true,
+ pomIncludeRepository := (_ => false),
+ credentials ++= apacheNexusCredentials,
+ sonatypeCredentialHost := apacheBaseRepo,
+ sonatypeProfileName := "org.apache.pekko")
+
+ private def apacheNexusCredentials: Seq[Credentials] =
+ (sys.env.get("NEXUS_USER"), sys.env.get("NEXUS_PW")) match {
+ case (Some(user), Some(password)) =>
+ Seq(Credentials("Sonatype Nexus Repository Manager", apacheBaseRepo, user, password))
+ case _ =>
+ Seq.empty
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org