Hi There,
Would anyone be able to help me out with what individual versions of each alfresco module e.g. alfresco-repository, alfresco-remote-api, alfresco-core, alfresco-text-gen etc are present as part of Dockerfile for generating alfresco-content-repository-community:6.2.1-A8 docker image?
I am after what minimum modules are required to start up alfresco from here: https://hub.alfresco.com/t5/alfresco-content-services-hub/project-overview-repository/ba-p/290502 and their versions
I tried to build and start alfresco repo on its own from https://github.com/Alfresco/alfresco-repository but it returns
java -jar alfresco-repository-8.274-SNAPSHOT.jar no main manifest attribute, in alfresco-repository-8.274-SNAPSHOT.jar
Many thanks,
Richa
Can you provide any details as to what you want to achive ? Ideally i would not be worrying what all jar files are present in alfresco image and what version they are. I would simply use the docker image and put my customizations on top of it via extension points.
You can find all the community and public artifacts here: https://artifacts.alfresco.com/nexus/content/repositories/releases/org/alfresco/
Thanks for the reply. I am trying to build a pipeline at my end for generating the relevant jars from their public github repos and generating a docker image out of them. Is it possible to generate the alfresco community war from the public github repos?
I tried building docker image from https://github.com/Alfresco/acs-community-packaging but mvn clean install fails as it refers to enterprise jars:
[ERROR] Failed to execute goal on project alfresco-content-services-distribution: Could not resolve dependencies for project org.alfresco:alfresco-content-services-distribution:jar:7.0.0-SNAPSHOT: Could not find artifact org.alfresco:alfresco-enterprise-remote-api:jar:8.219 in alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public
That's an expected error if you are generating war file unless you have access to alfresco enterprise private repos.
Try running following maven command for generating community edition artifacts:
mvn clean install -Pcommunity
ALONG with war and docker artifacts:
mvn clean install -Pcommunity,communityDocker
Thanks, mvn issue was due to repo used being acs-packaging instead of acs-community-packaging
For extensions/configuration changes, is the suggested way via Platform extensions?
Also, could you direct me to some examples via docker image for it please?
Many thanks,
Richa
Yes you should be using extension points for any customizations.
Extension points:
https://docs.alfresco.com/6.2/concepts/dev-platform-extension-points.html
https://docs.alfresco.com/6.2/concepts/dev-platform-extensions-tutorials.html
https://docs.alfresco.com/6.2/concepts/dev-extensions-share.html
https://docs.alfresco.com/6.2/concepts/dev-extensions-share-extension-points-introduction.html
https://docs.alfresco.com/6.2/concepts/dev-extensions-share-surf-extension-modules.html
Use sdk to develop custom extensions:
https://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html
Example of an extension: https://github.com/jpotts/alfresco-developer-series/tree/master/content/content-tutorial
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.