GithubHelp home page GithubHelp logo

tml / acs-aem-commons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adobe-consulting-services/acs-aem-commons

0.0 3.0 0.0 34.7 MB

Home Page: http://adobe-consulting-services.github.io/acs-aem-commons/

License: Apache License 2.0

Java 93.11% JavaScript 4.48% CSS 0.27% HTML 1.67% Groovy 0.05% Shell 0.01% Rich Text Format 0.01% Less 0.41%

acs-aem-commons's Introduction

ACS AEM Commons

Maven Central Join the chat at https://gitter.im/Adobe-Consulting-Services/acs-aem-commons Build Status Code Climate Issues codecov Maintainability

This project is a unified collection of AEM/CQ code generated by the AEM consulting practice.

Building

This project uses Maven for building. Common commands:

From the root directory, run mvn -PautoInstallPackage clean install (for AEM 6.5) or mvn -PautoInstallPackage,cloud clean install (for AEMaaCS) to build the bundles and content packages and install the container package to an AEM instance.

From the bundle directory, run mvn -PautoInstallBundle clean install to build just the bundle and install to an AEM instance. In addition there is the profile autoInstallUiAppsPackage to just install the ui.apps package to AEM.

The Maven profile cloud is used to both build both the AEMaaCS and the AEM 6.5 packages/bundles as well as to optionally install the version targeted for AEMaaCS (with the additional profile autoInstallPackage or autoInstallUiPackage). It is automatically active when no other profile is activated via command line or settings,.xml.

To build only the version for AEM 6.5 (without using any other profiles) use the command line option -P \!cloud to deactivate the default profile cloud.

Using with VLT

To use vlt with this project, first build and install the package to your local AEM 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.

Specifying AEM Host/Port

The AEM host and port can be specified on the command line with: mvn -Dcrx.host=otherhost -Dcrx.port=5502

Distribution

Rules

  • Spaces, not tabs.
  • Provide documentation in the parent org GH project: https://github.com/Adobe-Consulting-Services/adobe-consulting-services.github.io
  • Target AEM as a Cloud Service. AEM 6.5.x only features can still be contributed, but please create a Feature Review Github Issue before working on them to ensure they will accepted. Check the compatibility table for compatibility of older versions.
  • API classes and interfaces must have JavaDocs. Not necessary for implementation classes.
  • Don't use author tags. This is a community project.

Want commit rights?

  • Create an issue.

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.