Hello
I am running a community edition All-In-One (AIO) project for SDK 4.0 (alfresco.platform.version: 6.2.0-ea).
I have a webscript that calls for a new dependency to deserialize LocalDateTime - jackson-datatype-jsr310.
I have added it to the platform project pom.xml initially:
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>2.9.7</version>
</dependency>
</dependencies>
This worked locally on my machine where the JAR is downloaded to the .m2 folder. However, when I later build the project Docker image in teamcity and run it in another environment, I get a ClassNotFoundException: com.fasterxml.jackson.datatype.jsr310.JavaTimeModule in the webscript class that uses the jar. This leads to the conclusion that the JAR is not included in the docker image.
I get the sense that I need to create an AMP for this to happen and have tried to follow along with official tutorials, but attempts have been futile and for some reason Maven attempts to retrieve the jar from https://artifacts.alfresco.com/nexus/content/groups/private.
Which steps do I need to take? Please explain precisely which modifications I must make which files for this particular jar. It's a bit confusing to me that there's multiple POM files involved.