redhat-developer / redhat-developer/vscode-java
Rebuild All, Rebuild Project and Reload all Maven Projects trigger maven phases up to process-test-classes
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 546
- Ø Merge
- 20 Std. 1 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
Since version 1.14.0 the actions Rebuild All, Rebuild Project and Reload all Maven Projects trigger maven phases up to process-test-classes. For us this leads to a huge performance issue (vscode even hangs up) since we use a multi project workspace with multiple maven project that each need to do some expensive stuff (javascript dojo build) in phase process-sources.
Up until now this worked in eclipse and vscode with java extension 1.13.0 like a charm, since both never executed this phase in the UI if not explicitly triggered by a maven build.
Is it by intention or is this a bug? If it is, is there any possibilty to turn this off or any other solution available?
Environment
- Operating System: Win 10
- JDK version: jdk-17.0.3.1
- Visual Studio Code version: 1.74.3
- Java extension version: 1.14.0
Steps To Reproduce
- Import the project
- change the file path in the ant plugin in the pom.xml to a path in your system
- Click Rebuild All
- Now you see, that the file is created and lines are appended whenever one of the actions is executed.
Same steps in version 1.13.0 never writes the file as the phase is not executed.
Current Result
Phase process-sources is executed.
Expected Result
Phase process-sources is not executed like in v1.13.0.
Additional Informations
none
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere das Verhalten mit der bereitgestellten demo.zip, indem du den Pfad im ant plugin in pom.xml änderst, und vergleiche Rebuild All zwischen den Extension-Versionen 1.13.0 und 1.14.0. Verfolge, welche Maven-Lifecycle-Phasen diese Aktionen aufrufen; als abgeschlossen gilt es, wenn process-sources von diesen UI-Aktionen nicht mehr ausgeführt wird und damit das erwartete Ergebnis erreicht ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, typescript
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100