adobe / adobe/aem-eclipse-developer-tools

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

Đang mở
#93 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Java
Star
37
Fork
23
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề trong thiết lập được liệt kê gồm Eclipse 2020-09, AEM Developer Tools 1.3.0 và Archetype 24, sau đó kiểm tra cách ui.apps AEM content sync root được xử lý trong Maven - Update Project. Được xem là hoàn tất khi việc nhập dự án và cập nhật dự án giữ nguyên "src/main/content/jcr_root" thay vì đặt lại thành "src/main/resources".

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.