adobe / adobe/aem-eclipse-developer-tools

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

Offen
#93 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Java
Sterne
37
Forks
23
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie damit, das Problem in der aufgeführten Einrichtung mit Eclipse 2020-09, AEM Developer Tools 1.3.0 und Archetype 24 zu reproduzieren. Untersuchen Sie anschließend, wie der AEM content sync root von ui.apps während Maven - Update Project behandelt wird. Als erledigt gilt die Aufgabe, wenn das Importieren des Projekts und seine Aktualisierung "src/main/content/jcr_root" beibehalten, anstatt es auf "src/main/resources" zurückzusetzen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
devtools
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.