Start you Adobe Experience Manager cloud projects with a default repository and directly include maintained versions of some additional handy features.
This repository uses git submodules to include other git repositories into a larger project.
Find the out of the box repos at https://github.com/AdobeAEMXSC
- Click
Repositoriesfrom Cloud Manager menu - Click
Add Repositoryfrom Repositories screen - Enter
aemcs-minimalas repository name, clickSave - Click
…, the clickCheck Branches / Create Project - Click
Createusing the default settings
- Click
Repositoriesfrom Cloud Manager menu - Click
…associated withaemcs-minimal, the clickCopy Repository URL - Open
Terminal, typegit clone [repository URL]- Example
git clone https://git.cloudmanager.adobe.com/myname/aemcs-minimal/
- Example
- Switch folder, type
cd aemcs-minimal - Remove all files and directories, type
git rm -rf . - Clean all unstaged files, type
git clean -fxd - Commit all changes to git, type
git commit -a -m "clean" - Get latest from minimal, type
git clone https://github.com/AdobeAEMXSC/minimal.git - Copy latest from minimal
- If MacOS, type
cp -r minimal/* . cp minimal/.gitignore . cp minimal/.gitmodules . - If Windows, type
xcopy /S /I /E minimal .
- If MacOS, type
- remove artifacts from minimal, type
rm -rf minimal - add submodules, type
git submodule add https://github.com/AdobeAEMXSC/aem-dispatcher.git - Commit all new files to git, type
git add --all - Commit all changes to git, type
git commit -am "updated minimal" - push all commits back to New Repo, type
git push
- Add submodule reference to
.submodules, typegit submodule add <git repository path> - Add the new repository to the
<modules>section in the rootpom.xmlfile to include it into maven build process