jonathanlermitage / oga-maven-plugin

:jigsaw: Old GroupIds Alerter - A Maven plugin that checks for deprecated groupId+artifactId (e.g. did you know that graphql-spring-boot-starter moved from com.graphql-java to com.graphql-java-kickstart?).
https://central.sonatype.com/search?q=biz.lermitage.oga
MIT License
38 stars 7 forks source link

jandex #69

Open froque opened 9 months ago

froque commented 9 months ago

The groupId would change from org.jboss[.jandex] to io.smallrye (or io.smallrye.jandex, but I'd probably prefer the first one :-) ).

jonathanlermitage commented 8 months ago

Need to clarify the migration rule(s) for Jandex. Just asked a question to the developers https://github.com/smallrye/jandex/issues/124#issuecomment-1869072872

jonathanlermitage commented 7 months ago

Working on a new release. For now, I can't create a rule for migrating org.jboss:jandex -> io.smallrye:jandex with an exception for org.jboss.jandex:jandex-maven-plugin -> io.smallrye:jandex-maven-plugin. I will add a new field in order to exclude some artifacts from a groupid migration. The Jandex migration rule will look like

{
            "old": "org.jboss:jandex",
            "new": "io.smallrye:jandex",
            "exclude": ["org.jboss.jandex:jandex-maven-plugin"]
},
{
            "old": "org.jboss.jandex:jandex-maven-plugin",
            "new": "io.smallrye:jandex-maven-plugin"
}

It may also allow me to rework some existing rules.

Nota: it will take some time, as I also have to update the gradle plugin before pushing the Jandex migration rules.