Platform 7 upgrade in progress: Learn about the first highlights and changes

Hi,
We are experiencing a chain dependency conflict when using Atlassian REST V2 along with mywork-api in Confluence 9.0.0-m48, can you help with this?

<dependency>
	<groupId>com.atlassian.mywork</groupId>
	<artifactId>mywork-api</artifactId>
	<version>19.0.15</version>
	<scope>provided</scope>
</dependency>
Caused by: org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve resource com.mute.confluence.plugins.lms [com.mute.confluence.plugins.lms [299](R 299.0)] because it is exposed to package 'javax.ws.rs.core' from resources com.atlassian.plugins.rest.atlassian-rest-v2-plugin [com.atlassian.plugins.rest.atlassian-rest-v2-plugin [163](R 163.0)] and org.apache.felix.framework [org.apache.felix.framework [0](R 0)] via two dependency chains.

Chain 1:
  com.mute.confluence.plugins.lms [com.mute.confluence.plugins.lms [299](R 299.0)]
    import: (osgi.wiring.package=javax.ws.rs.core)
     |
    export: osgi.wiring.package: javax.ws.rs.core
  com.atlassian.plugins.rest.atlassian-rest-v2-plugin [com.atlassian.plugins.rest.atlassian-rest-v2-plugin [163](R 163.0)]

Chain 2:
  com.mute.confluence.plugins.lms [com.mute.confluence.plugins.lms [299](R 299.0)]
    import: (osgi.wiring.package=com.atlassian.mywork.model)
     |
    export: osgi.wiring.package=com.atlassian.mywork.model; uses:=javax.ws.rs.core
  com.atlassian.mywork.common-plugin [com.atlassian.mywork.common-plugin [129](R 129.0)]
    import: (osgi.wiring.package=javax.ws.rs.core)
2 Likes