Git Product home page Git Product logo

aem-guides-wknd-shared's Introduction

AEM WKND Shared Project

Maven CI Maven Central

This is an Adobe Experience Manager project containing shared content and configuration, shared by the various WKND (a fictitious lifestyle brand) applications (WKND Sites, WKND PWA, etc.).

This project is not intended to be installed standalone, rather embedded in other projects that use it's content such as WKND Site.

What's included

The following content and configuration are included using the app name wknd-shared.

Location Description
/content/dam/wknd-shared Image assets and Content Fragments (Article, Adventure, Author)
/content/cq:tags/wknd-shared WKND tags
/conf/wknd-shared/settings/dam/cfm/models Content Fragment Models (Article, Adventure, Author)
/conf/wknd-shared/settings/graphql/persistentQueries Several persistent queries for Adventures and Articles

How to use

Add the WKND Shared artifact ui.content as a dependency to other WKND project's all/pom.xml. The ui.content module is used directly to ensure proper package installation based on the dependency chain.

<dependencies>
    ...
    <dependency>
        <groupId>com.adobe.aem.guides</groupId>
        <artifactId>aem-guides-wknd-shared.ui.content</artifactId>
        <version>x.x.x</version>
        <type>zip</type>
    </dependency> 
    ...
</dependencies>

Then embed the aem-guides-wknd-shared.ui.content artifact in the other WKND project's all/pom.xml, updating the <target> to match the embedding WKND apps' name.

<plugins>
    <plugin>
        <groupId>org.apache.jackrabbit</groupId>
        <artifactId>filevault-package-maven-plugin</artifactId>
        ...
        <configuration>
            ...
            <embeddeds>
                ...
                <embedded>
                    <groupId>com.adobe.aem.guides</groupId>
                    <artifactId>aem-guides-wknd-shared.ui.content</artifactId>
                    <type>zip</type>
                    <target>/apps/wknd-vendor-packages/content/install</target>
                </embedded>
                ...
            </embeddeds>
            ...
        </configuration>
        ...
    </plugin>
    ...
</plugins>

Add the aem-guides-wknd-shared.ui.content as a dependency to other project's ui.content module's filevault-package-maven-plugin and dependencies if the target project depends on WKND Shared content being installed first.

<build>
    <plugins>
        <build>
        <plugins>
            <plugin>
                <groupId>org.apache.jackrabbit</groupId>
                <artifactId>filevault-package-maven-plugin</artifactId>
                <configuration>
                    <group>com.adobe.aem.guides</group>
                    <name>aem-guides-wknd.ui.content</name>
                    <packageType>content</packageType>
                    <accessControlHandling>merge</accessControlHandling>
                    <dependencies>
                        <!-- INCLUDE WKND SHARED DEPENDENCY -->
                        <dependency>
                            <groupId>com.adobe.aem.guides</groupId>
                            <artifactId>aem-guides-wknd-shared.ui.content</artifactId>
                        </dependency>
                    </dependencies>
                </configuration>
            </plugin>
            ...
        </plugins>
    </build>
    ...
    <dependencies>
        ...
        <!-- INCLUDE WKND SHARED DEPENDENCY -->
        <dependency>
            <groupId>com.adobe.aem.guides</groupId>
            <artifactId>aem-guides-wknd-shared.ui.content</artifactId>
            <version>${wknd-shared.version}</version>
            <type>zip</type>
        </dependency>
        ...
    </dependencies>

System Requirements

AEM as a Cloud Service AEM 6.5 AEM 6.4 Java SE Maven
Continual 6.5.13+ Not supported 8, 11 3.3.9+

Setup your local development environment for AEM as a Cloud Service SDK or for older versions of AEM.

Documentation

aem-guides-wknd-shared's People

Contributors

godanny86 avatar adobe-bot avatar davidjgonzalez avatar sachinmali avatar stefangrimm avatar samir300 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.