Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.12 KB

DEVELOPMENT.md

File metadata and controls

57 lines (37 loc) · 1.12 KB

Development

How to build, run and release ACM itself. The tools (MCP server, VS Code extension) are covered in tools/DEVELOPMENT.md.

Building

sh mvnw clean install

The build formats Java code with Spotless (Palantir Java Format). ACM must work the same on AEM 6.5 on-premise, AMS and AEM as a Cloud Service, on Java 8, 11 and 21, so use only Java 8 language features and APIs.

Local development

  1. All-in-one command (incremental building and deployment of 'all' distribution, both backend & frontend)

    sh taskw develop:all
  2. Example contents

    sh taskw develop:content:example
  3. Backend only

    sh taskw develop:core
  4. Frontend only with production build mode

    sh taskw develop:frontend
  5. Frontend only with dev build mode (live reloading)

    sh taskw develop:frontend:dev

Releasing

  1. To check the last release version, run:

    sh taskw release
  2. To release a new version, run:

    sh taskw release -- <new-version>