Skip to content

Sample maven project that uses the @ez-aem/policies npm package to manage AEM Policies & Style System

License

Notifications You must be signed in to change notification settings

ez-aem/policies-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

policies-example

Sample maven project that uses the @ez-aem/policies npm package to manage AEM Policies & Style System.

Usage

  1. Create the policies folder. If you are working on an Archetype project, the name should be ui.policies. If you are working on a site-template project, then we recommend /src/policies.

  2. Install into your AEM archetype or site-template project with degit and npx.

cd ui.policies 
# or
cd /src/policies

npx degit github:ez-aem/policies-example
  1. Find and Replace PROJECTNAME with your project's name. This will also need to be done on the ./src/main/content/jcr_content/conf/PROJECTNAME folder, so make sure it's a name that Maven will accept.

  2. Install the npm depenencies.

npm ci
  1. Run the example.
npm run generate
  1. Run the maven build example
mvn clean install
  1. Update the policies and style system code to your liking. Further documentation can be found at @ez-aem/policies.

  2. Integrate into your existing Maven project by updating the parent pom information in the pom.xml file. And add the maven submodule to your parent pom's build <modules> section.

About

Sample maven project that uses the @ez-aem/policies npm package to manage AEM Policies & Style System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published