adobe / adobe/aem-eclipse-developer-tools

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

Aperta
#93 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Java
Stelle
37
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema nella configurazione indicata con Eclipse 2020-09, AEM Developer Tools 1.3.0 e Archetype 24, quindi esamina come viene gestita la radice di sincronizzazione dei contenuti AEM di ui.apps durante Maven - Update Project. Il lavoro è completato quando l'importazione del progetto e il suo aggiornamento mantengono "src/main/content/jcr_root" invece di reimpostarlo su "src/main/resources".

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.