adobe / adobe/aem-project-archetype

Bundle 'core' provided to instance only by 'all' package

Open
#654 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
596
Forks
431
Avg merge
10d 6h
Merged PRs (30d)
1

Description

### Expected Behaviour

Sequential deployment of packages "ui.config", "ui.apps", "ui.content" installs "core" bundle.
Recovering behavior that was available in Archetype 24.

The problematic change found: https://github.com/adobe/aem-project-archetype/pull/476/files#diff-25625d5eb7f3c9dc5d84ccc50050962e50bdee02a9645e98d51751dd11c7b2abL69
So that I am not sure if it was intended, I mean the consequences :)

### Actual Behaviour

Behavior not present in the actual archetype. To provide "core" bundle is needed to use "all" package.
Previously - in archetype 24 there were available both options. Deploying packages separately or by "all" package.

### Reproduce Scenario (including but not limited to)

Build and deploy packages "ui.config", "ui.apps", "ui.content" one after another. See that application is not working because OSGi bundle core is missing.

![image](https://user-images.githubusercontent.com/10673561/111975266-ad60df80-8b00-11eb-92a8-6ad85da32c9d.png)

### Background

Gradle AEM Plugin offers to build users the incremental AEM build (based on partial Maven build execution combined with Gradle caching) and increment AEM deployment (based on comparison of local build checksum with checksum stored on AEM instance) which effectively improves development experience. Such capability could be added to the AEM build by using so-called [GAP launcher](https://github.com/wttech/gradle-aem-plugin/blob/master/docs/launcher.md#enhancing-maven-build). However, it was working nicely till archetype 24. Since archetype 25, that build improvements stopped working and moreover does not longer make sense because deploying AEM application using separate packages to the AEM is not reflecting the deployment when "all" assembly is used. AEM deployment ends in a different state - AEM application is not working.

#### Platform and Version

Java 11, recent AEM SDK

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the referenced change in pull request 476 and comparing package assembly behavior between archetype 24 and 25. Reproduce sequential deployment of ui.config, ui.apps, and ui.content on the AEM SDK, then verify that the core bundle is provided without the all package while the all-package deployment remains consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.