You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by he...@apache.org on 2026/06/16 04:04:16 UTC

(pekko-connectors-kafka) branch fix/resolve-compiler-warnings created (now d86f0ee9)

This is an automated email from the ASF dual-hosted git repository.

He-Pin pushed a change to branch fix/resolve-compiler-warnings
in repository https://gitbox.apache.org/repos/asf/pekko-connectors-kafka.git


      at d86f0ee9 chore: suppress sbt lint warnings for intentionally used keys

This branch includes the following new commits:

     new d86f0ee9 chore: suppress sbt lint warnings for intentionally used keys

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org


(pekko-connectors-kafka) 01/01: chore: suppress sbt lint warnings for intentionally used keys

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

He-Pin pushed a commit to branch fix/resolve-compiler-warnings
in repository https://gitbox.apache.org/repos/asf/pekko-connectors-kafka.git

commit d86f0ee9367a67dee8e83ca7ac754c06c980ab65
Author: 虎鸣 <he...@alibaba-inc.com>
AuthorDate: Tue Jun 16 12:03:58 2026 +0800

    chore: suppress sbt lint warnings for intentionally used keys
    
    Motivation:
    sbt lint reports false positives for keys that are legitimately used
    in build configuration but appear unused to the linter.
    
    Modification:
    - Add globalSettings override to exclude mimaReportSignatureProblems
      and projectInfoVersion from lint checks
    - Add Global excludeLintKeys for previewPath in docs project
    
    Result:
    Clean sbt build with no lint warnings
---
 build.sbt                     | 1 +
 project/ProjectSettings.scala | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/build.sbt b/build.sbt
index d8b9ad0a..526e3071 100644
--- a/build.sbt
+++ b/build.sbt
@@ -141,6 +141,7 @@ lazy val docs = project
     Compile / paradox / name := "Pekko",
     makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value,
     previewPath := (Paradox / siteSubdirName).value,
+    Global / excludeLintKeys += previewPath,
     Global / pekkoParadoxIncubatorNotice := None,
     Preprocess / siteSubdirName := s"api/pekko-connectors-kafka/${projectInfoVersion.value}",
     Preprocess / sourceDirectory := (LocalRootProject / ScalaUnidoc / unidoc / target).value,
diff --git a/project/ProjectSettings.scala b/project/ProjectSettings.scala
index 32b7b34a..4b80703a 100644
--- a/project/ProjectSettings.scala
+++ b/project/ProjectSettings.scala
@@ -144,4 +144,7 @@ object ProjectSettings extends AutoPlugin {
 
   override lazy val buildSettings = Seq(
     dynverSonatypeSnapshots := true)
+
+  override def globalSettings =
+    Seq(excludeLintKeys ++= Set(mimaReportSignatureProblems, projectInfoVersion))
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org