Detected an error (BundleException) enabling the plugin missing requirement osgi.wiring.package; (osgi.wiring.package=javax.xml.soap)

Hello everyone
When deploying a plugin in Atlassian Confluence 9.2.2 got this error,
And due to this error the plugin can’t be enabled

Error:
Caused by: org.osgi.framework.BundleException: Unable to resolve com.aciworldwide.confluence.plugin.mtr [350](R 350.0): missing requirement [com.aciworldwide.confluence.plugin.mtr [350](R 350.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.soap) Unresolved requirements: [[com.aciworldwide.confluence.plugin.mtr [350](R 350.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.soap)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:992)
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:404)
… 102 more

I tried below AI(Github-Copilot) generated resolution but it did not worked.
AI generated resolution beow:
Ensure Dependency is Added: Verify that the jakarta.xml.soap-api dependency is included in your pom.xml. This provides the javax.xml.soap package.

jakarta.xml.soap
jakarta.xml.soap-api
2.0.1
provided

Update OSGi Import-Package: Ensure the javax.xml.soap package is included in the Import-Package section of your confluence-maven-plugin configuration in the pom.xml.

javax.xml.soap,

… just a guess…

You have to switch from javax to jakarta.