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.
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).
- Update upstream artifact versions in build.sbt
- Update project version in build.sbt, if necessary
- Test publishing:
sbt publishSigned
- Verify that published JAR (in target/sonatype-staging) contains ONLY
net.logstash.logback
andshaded.pl.touk.nussknacker.lle
packages. - 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