AWS package cannot be resolved by Felix Console
Hi guys,
I am using the most recent maven archtype and therefore have the following folder structure:
Project Name
-Core
-it.launcher
-it.tests
-it.apps
-ui.content
I am importing an AWS dependency on my Master POM and Core POM
Master POM
<dependencyManagement>
<dependencies>
<!--AWS Dependencies -->
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.5.25</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-cloudfront</artifactId>
<version>1.11.534</version>
</dependency>
Core POM
<dependencies>
<!--AWS Dependency -->
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-cloudfront</artifactId>
</dependency>
The class using the AWS functionality is a custom workflow step that I have put inside the Core folder. However, when I deploy this to AEM I am getting "Cannot be resolved". I understand that just simply adding the dependency to the POM only helps compiling the code however the OSGI container is not able to see the dependency.

How can I fix this in my current project structure? I've read a few comments telling us to create some sort of eclipse bundle, but is there a more practical way to sort out this issue? We need this to be part of our continuous integration pipeline.
Many thanks in advance

