This a content package project generated using the multimodule-content-package-archetype
using command mvn archetype:generate -DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ -DarchetypeGroupId=com.day.jcr.vault -DarchetypeArtifactId=multimodule-content-package-archetype -DarchetypeVersion=1.0.2
AEM Version: 6.2
This project uses Maven for building. Common commands:
From the root directory, run mvn -PautoInstallPackage clean install
to build the bundle and content package and install to a CQ instance.
From the bundle directory, run mvn -PautoInstallBundle clean install
to build just the bundle and install to a CQ instance.
To use vlt with this project, first build and install the package to your local CQ instance as described above. Then cd to content/src/main/content/jcr_root
and run
vlt --credentials admin:admin checkout -f ../META-INF/vault/filter.xml --force http://localhost:4502/crx
Once the working copy is created, you can use the normal vlt up
and vlt ci
commands.
The CRX host and port can be specified on the command line with: mvn -Dcrx.host=otherhost -Dcrx.port=5502
- Create sling:Folder under /etc/clientlibs
- Create cq:ClientLibraryFolder under your Folder.
- Add Clientlib Files.
- Edit filter.xml.
- Creating Depedencies and Embed Clientlibs
- Difference between the output.
- Added Page template and Page Component (HTML and JSP)
- Added Content Page
- Possible for Dependencies
- Not Possible for Embed (only one Level)
- Use when adding component specific Clientlib
- Cleaning Clientlibs Cache
- Finding Clientlib by Category