You can follow the below given steps to generate and test a sample sd4 based project which uses ACS 6.2.x:
1- Generate the archetype [ use: mvn archetype:generate -Dfilter=org.alfresco: ] using SDK 4.1.0 (meant for ACS 6.2.x). Decide to generate AIO or individual archetypes based on your current setup/preference.
You would get additional project named "yourproject-share-docker/yourproject-platform-docker". It will have DockerFile containing the base image and steps to be performed while launching the containers. You will also get a project named as "docker", this will have docker-compose.yml file which basically defines all the services which using which containers will be launced.
Make sure you provide the same groupId and artifactId as per your current project.
2- Build and Start the containers and see if everything works ok. Use "run.bat build_start" (run.sh build_start for linux) command to build and start the docker containers. You can refer "run.bat or run.sh" files.
3- To remote debug and put breakpoints you can follow these documents. Make sure you add below step in platform DockerFile:
Add the below given line in your platform-docker project's DockerFile:
COPY hotswap-agent.properties $TOMCAT_DIR/webapps/alfresco/WEB-INF/classes For remote debugging follow the instructions given here: