Skip to content

2.2.5-M1 July 2023 Initial javax detector feature (jakarta migration support)

Pre-release
Pre-release
Compare
Choose a tag to compare
@plaird plaird released this 28 Jul 00:40
· 55 commits to main since this release
73fa087

This is an initial trial release of a new javax detector. It detects any jar in the springboot jar classpath that contains a class from a javax package. It consults an ignorelist (that you provide) to determine if this is known jar. If not, it will fail the build.

Context

If you haven't heard of the javax -> jakarta migration that is up-ending the Java community, this may seem like a strange feature. For more information, please see our new docs on this topic. The javax -> jakarta migration (which is required for Spring Boot 3), and the new detector feature, are explained there.

Because this is a trial release, the main docs do not reference it. To use it, please update your workspace file like so:

http_archive(
    name = "rules_spring",
    sha256 = "716396a5b1c1c0c5a3cdfe910fba34cd59ae20063a8b7bf861916e82326d46f4",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.2.5-M1/rules-spring-2.2.5-M1.zip",
    ],
)