Plugin does not export OSGI Package com.deniz.jira.versioning.data

Description

The most recent version of the CmpVersionMappingService uses a CmpVersionUpdateInfo class. This package is in the com.deniz.jira.versioning.data package but is not exported in the OSGI manifest.

When plugins using the Java API try to use methods requiring CmpVersionUpdateInfo, the result is an OSGi exception:

Unable to resolve com.qlik.jira.product-component-versioning [294](R 294.0): missing requirement [com.qlik.jira.product-component-versioning [294](R 294.0)] osgi.wiring.package; (osgi.wiring.package=com.deniz.jira.versioning.data) Unresolved requirements: [[com.qlik.jira.product-component-versioning [294](R 294.0)] osgi.wiring.package; (osgi.wiring.package=com.deniz.jira.versioning.data)]. This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see https://developer.atlassian.com/x/mQAN

See http://thestarware.com/api/cm/com/deniz/jira/versioning/data/package-summary.html
and the attached screenshot from the OSGI manager.

Environment

None

Assignee

Deniz Oğuz

Reporter

Deniz Oğuz

Labels

None

Source

None

Jira Version

Database Type/Version

H2 / 1.4.185 (local development)

Browser Type/Version

Chrome / 83.0.4103.61

Fix versions

Priority

Major
Configure