Plugin modernizing checks issue

I’ve followed the plugin modernizing guide Improve a Plugin Tutorial
The local tests run successfully on both mvn clean verify and mvn hpi:run, but I get the following error from the PR checks Unknown packaging: hpi @ hudson.plugins.filesystem_scm:filesystem_scm:${revision}${changelist}, /home/jenkins/agent/workspace/em_scm-plugin_plugin-modernizing/pom.xml, line 12, column 14.
How should I configure the hpi plugin?
PR link: fix: plugin modernizing by guymeron · Pull Request #18 · jenkinsci/filesystem_scm-plugin · GitHub

Thanks,

Guy

The issue was solved with Jenkinsfile update

buildPlugin(
    configurations: [
                    [platform: 'linux', jdk: 21],
                    [platform: 'windows', jdk: 21],
])