Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.18 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.18 KB

About

logstash-logback-encoder with shaded Jackson. Replaces our old fork with a simple build script that is easier to maintain.

Allows us to use logstash-logback-encoder together with Flink, without creating conflicts when classloader.resolve-order is set to parent-first.

Note that version 7.3 is the last one that supports Logback 1.2 (and Slf4J 1.7). Version 7.4 requires Logback 1.3 and Slf4J 2. Version 8.0 requires Logback 1.5.

Publishing

These steps require that you have set up sbt-pgp (GPG key is in keyring) and sbt-sonatype (credentials in ~/.sbt/1.0/sonatype.sbt).

  1. Update upstream artifact versions in build.sbt
  2. Update project version in build.sbt, if necessary
  3. Test publishing:
    sbt publishSigned
  4. Verify that published JAR (in target/sonatype-staging) contains ONLY net.logstash.logback and shaded.pl.touk.nussknacker.lle packages.
  5. Publish new version:
    sbt sonatypeBundleRelease

Remember to tag released version in git, example for version 7.3:

git tag release/7.3
git push origin release/7.3