adobe / adobe/aem-eclipse-developer-tools

AEM content sync root directory keeps getting reset after Maven -> Update Project

未关闭
#93 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Java
星标
37
派生
23
PR 合并指标
30 天内没有已合并 PR

描述

### Expected Behavior

In Eclipse, for the ui.apps project, importing an Archetype 24 maven project should result in an AEM content sync root directory of "src/main/content/jcr_root", but instead sets the content sync root to "src/main/resources".

If you update the content sync root to "src/main/content/jcr_root" and later run Maven -> Update Project, that action resets the content sync root directory back to "src/main/resources".

### Actual Behavior

Importing an Archetype 24 project initially sets the AEM Content sync root directory to "src/main/resources", and it gets reset to "src/main/resources" every time that Maven -> Update Project is run.

#### Steps to Reproduce

- Install latest Eclipse (currently version 2020-09).
- Install latest AEM Developer Tools for Eclipse (currently version 1.3.0).
- Create new archetype 24 maven project.
- Import project into Eclipse.
- Right click on ui.apps project and select Properties.
- In dialog, click on "AEM" section.
- See that content sync root directory is "src/main/resources".
- Change content sync root directory to "src/main/content/jcr_root"
- Right click on ui.apps project and select Maven -> Update Project.
- Click OK in dialog.
- Update runs.
- Right click on ui.apps project and select Properties again.
- In dialog, click on "AEM" section.
- See that content sync root directory has been reset to "src/main/resources".

#### Platform and Version

Archetype 24, Eclipse 2020-09

贡献指南

打开贡献指南

调研方向

首先,在所列出的 Eclipse 2020-09、AEM Developer Tools 1.3.0 和 Archetype 24 配置中复现该问题,然后检查在 Maven - Update Project 期间如何处理 ui.apps AEM content sync root。完成标准是导入项目并更新项目后仍保留 "src/main/content/jcr_root",而不是将其重置为 "src/main/resources"。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。