03-23-2022 10:22 AM
Hello Team;
I do not know where to put the new Maven project down?
Please refer the URL as below;
"https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html"
Thanks a lot!
03-24-2022 09:46 AM
Use the SDK3.X version the project as you are currently using. The error complains about the java version. I think you have jdk8 installed currently. The project you have checked out, requires java11. I just gave the example of project paths.
From all the responses above, i believe you are using this one: https://github.com/jpotts/alfresco-developer-series/releases/tag/SDK-3.0.1
so continue to use it if you need to work with sdk3.
03-23-2022 03:43 PM
There are subprojects per specific tutorials. The one you showed is about maven sdk.
This is the correct path for content tutorial if you are following the examples as is:
https://github.com/jpotts/alfresco-developer-series/tree/master/content (same path applies to sdk3.x as well).
Make sure you run "mvn clean install" command on this path: D:\WORK-Alfresco\ADF\TUTORIAL_HOME
Here is cmis project : https://github.com/jpotts/alfresco-developer-series/tree/master/content/content-tutorial-cmis (same path applies to sdk3.x as well).
Import the project in your IDE and play around with it.
If you want to create the project from scratch, then you should generate the project via maven archetype and name it "content-tutorial-cmis" , steps are given here (how to generate the archetype): https://github.com/jpotts/alfresco-developer-series/blob/master/maven-sdk/tutorial/tutorial.md
mvn archetype:generate -Dfilter=org.alfresco:
You can also refer this thread to see the steps to generate the archetype : https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-configure-the-development-environ...
03-23-2022 10:22 PM
Hello Abhinav;
Thank you for your help!
I downloaded the CMIS project 'content-tutorial-cmis', and then run "mvn clean install" command, but failed to do it.
Please see the picture as below.
03-23-2022 11:49 PM
That is expected, you need to first run "mvn clean install" at this project, https://github.com/jpotts/alfresco-developer-series/tree/master/content/content-tutorial
cmis tutorial project is using the artifact from https://github.com/jpotts/alfresco-developer-series/tree/master/content/content-tutorial subproject. See the example below:
In this order (path based on your screenshot, adjust the path and name as per your project structure):
mvn clean install D:\WORK-Alfresco\ADF\$TUTORIAL_HOME\alfresco-developer-series\content\content-tutorial\pom.xml
mvn clean install D:\WORK-Alfresco\ADF\$TUTORIAL_HOME\alfresco-developer-series\content\content-tutorial-cmis\pom.xml
03-24-2022 09:34 AM
Hi Abhinav;
Thanks again!
I have downloaded the project as you suggest, and then run "mvn clean install", but failed.
Please refer pictures as follow.
03-24-2022 09:46 AM
Use the SDK3.X version the project as you are currently using. The error complains about the java version. I think you have jdk8 installed currently. The project you have checked out, requires java11. I just gave the example of project paths.
From all the responses above, i believe you are using this one: https://github.com/jpotts/alfresco-developer-series/releases/tag/SDK-3.0.1
so continue to use it if you need to work with sdk3.
03-24-2022 11:46 PM
Yes, SDK3.X version and JDK1.8 build success.
Thank you so much!
Explore our Alfresco products with the links below. Use labels to filter content by product module.