Hi,
I’m developing a plugin for Jira Service Desk and am having issues when I add the awssdk to the dependencies. I’ve added the BOM in the dependency management section like this:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.5.51</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
which allows selection of parts of the sdk. I’ve added a single dependency like this:
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>servicecatalog</artifactId>
<scope>import</scope>
</dependency>
and it’s the addition of this dependency that causes the build to fail with:
Unresolved constraint in bundle com.atlassian.tutorial.testSDK-tests [172]: Unable to resolve 172.0: missing requirement [172.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.tutorial.api) [caused by: Unable to resolve 171.0: missing requirement [171.0] osgi.wiring.package; (osgi.wiring.package=com.google.protobuf)]
although adding other sdk dependencies such as ec2 or s3 have a similar effect.
I’ve checked the osgi tab on Jira and my plugin does indeed have com.google.protobuf listed among its imports, but it’s not in red suggesting that it is not missing. Maybe the version is wrong?
Jira version=7.13.0, amps version=8.0.0.
Any suggestions would be greatly appreciated.