javascript - Manually install modules in Adobe CQ 5.6 -


i try install custom google search module from here. documentation explains how install using package manager, way i'll have install same package on every cq instance. there way include package inside code deploy cq, saved in repository , pull code have module installed?

an organization specific nexus or apache archiva can helpful in situation maintaining/deploying packages not in central maven/adobe repo.

if package not in central repo ("custom google search module" in case) , can upload[0] package local/organization specific nexus/apache archiva , tell your/team member's pom file download .

so, pom.xml needs have repository url of local/organization specific nexus/apache archiva or maven settings should have mirror pointing org. nexus/archiva.

your project can have dependency of custom google search module follows ,

<dependency>             <groupid>infield-tools</groupid>             <artifactid>googlesearch</artifactid>             <version>1.0-snapshot</version>             <type>content-package</type> </dependency> 

to embed , deploy gsa package along code , can leverage content package maven plugin [1].

the whole setup/procedure might not complicated sounds answer !

[0]https://books.sonatype.com/nexus-book/reference/using-sect-uploading.html [1]https://docs.adobe.com/docs/en/cq/5-6-1/core/how_to/how_to_use_the_vlttool/vlt-mavenplugin.html


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -