All notable changes to the "vscode-maven" extension will be documented in this file.
- add new project as module of existing project via 'New Module...' command. #849.
- Merge "Refresh" and "Reload All Maven Projects" menus into a single menu "Reload All Maven Projects". #997.
- Create Java Project -> JavaFX does not create a JavaFX project. #1003.
- Add creating empty maven project without archetypes. #869
- Remove Marketplace preview flag. #987
- Improve navigation of parent POM. #959
- Maven explorer failed to list profiles within maven-help-plugin@3.4.0. #964
- Support to navigate to POM file of modules. #949
- Support to navigate to parent POM file. #952
- Add profile support in Maven explorer. #956
- Group common lifecycle phases into a submenu of the context menu. #954
- Missing "Resolve Unknow Type" feature when Language Support for Java was upgraded to v1.14.0. #932
- Cannot navigate to POM of dependencies when
localRepository
is specified in settings.xml. #924
- CVE-2022-42889
- Documentation on tag hover duplicates with the XML extension's implementation. #918
- Incorrect invocation of the command when debugging plugin goal. #913
- Regression on running plugin goals, where prefix is missing. #910
- Created a new FavoritesMenu. This menu allows shortcuts to execute the favorite commands. #884
- Created a UI to add favorites into the user workspace scope. #901
- Improve performance of fetching plugin goals when expanding plugin node in Maven explorer. #903
- Input boxes freeze when value is invalid, since VS Code v1.73.0. #896
- Can filter artifacts with group Id when adding a dependency. #877
- Update depgraph-maven-plugin to 4.0.2, which is used to calculate dependencies. #867
- Error: UriError path cannot begin with two slash characters. #817
- Wrongly recongnize Git Bash as WSL when it's not installed on default location. #874
- Support Maven schema-based completion for pom.xml files. #857
- Show correct version when inherited from parent projects. #851
- Better completion for properties. #843
- Shortcut to reload all Maven projects. #847
- New setting
maven.explorer.projectName
to customize format of project node name. #834
- Wrong completion range in pom.xml. #842
- Error:
mainThreadExtensionService.ts:80 TypeError: r is not iterable
when opening multi-module projects. #839
- Replace
xml-zero-lexer
withhtmlparser2
as the parser of pom.xml files. #822 - Follow upstream change to build JDTLS plugin with JDK 17. #824
- Error "Failed to find dependency" when dependency conflict exists. #815
- Wrong icon of view-switching buttons. #814
- Fix completion of version. #796
- Enable external call from other extensions to add dependencies. #743
- Enable external call from other extensions to create Maven projects. #775
- Custom options were not passed to the command line when creating new projects. #771
- Failed to attach to remote debuggee VM when debugging a Maven goal. #757
- Setting
maven.settingsFile
was not honored when executing Maven commands. #776 - StackOverflowException when there exists circular dependencies in projects. #763
Maven: Add a dependency
not working. #766
- Add command to navigate between conflict dependencies. #672
- New localization: Chinese (Traditional). #727
- Open POM file under local repository in readonly mode. #718
- Improve performance on fetching plugin information. #714
- New entry to
Run
lifecycle phases from context menu. #700 - New setting
maven.projectOpenBehavior
specifying default way to open newly created project. #662
- Bugs fixes and improvements related to dependency management.
- Failed to create project when an empty workspace is opened. #689
- Malformed dependency node was inserted when pom.xml is dirty. #690 #691
- A text file was wrongly created in workspace when calculating depenencies.
- [Preview] Improve dependency management experience. #261
- Visualize dependencies in Maven explorer.
- Resolve dependency conflicts.
- Present Effective POMs better with content provider API. #680
- Environment varibles not loaded on calculating effective POM. #637
- Effective POM was not update-to-date. #681
- Add code action
add a dependency
when cursor is within<dependencies>
node. #634
- Fixed error when executing "Custom..." or "Favorites..." from command palette. #628
- Fixed missing entries when resolving unknown types. #638
- Fixed Maven project creation on Windows. #623
- Improved user experience for Maven project creation. #604
- Archetype catalog could not be update. #618
- Add shortcuts for common lifecycle phases into Maven explorer. #601
- Add a new setting
maven.settingsFile
to specify location of settings.xml file. #581
- Only generate effective POMs on demand to improve overall performance. #579
- Display project name, groupId, artifactId in Maven explorer. #590
- Fix auto-completion for
version
section. #594 - Fix auto-completion for
dependency
section when Java extension is working in lightweight mode. #598 - Fix remote code execution vulnerability. CVE-2021-28472.
- Update extension icons. #578
- Exclude POMs in
archetype-resources
folder by default. #580 - Update setting
maven.terminal.customEnv
to only affect commands sent to terminal. #584 (Fix for CVE-2021-27084)
- Refine conceptual title of Maven explorer. #567
- Improve UX of dependencies navigation. #571 #572 #573
- Support to navigate to dependency POM file with
Ctrl/Cmd + Click
. #562 - Use a unified command to create projects if Project Manager for Java is enabled. #488
- Align with VS Code native UX. #560
- Hide Maven Explorer for non-Maven workspaces. #549
- No longer activate extension on opening xml files. #555
- Fix an error creating temporary directory for Remote-SSH scenario with multiple users. #547
- Fix title of wizard for creating a project. #551
- Allow users to hide the "Create Maven Project" entry in File Explorer. #536
- Move "Open POM file" into context menu in Project Manager Explorer. #541
- Fix "Resolve unknown type" command when folder path contains whitespaces. #535
- Fix path conversion when using WSL as default integrated terminal. #542
- Register entries for commands in Project Manager extension.
- Change
maven.executable.options
tomachine-overridable
scope. - Change
maven.executable.preferMavenWrapper
toresource
scope.
- Add back buttons to the project creation wizard. #520
- Settings
maven.executable.*
are now limited to machine scope. Fix for CVE-2020-0604.
- Fix: terminals were wrongly closed. #513
- Better support for PowerShell. #494
- Keep the cache file of effective pom for diagnosis. #319
- Fix: mvnw was not identified if .mvn folder doesn't exist. #504
- Fix: notification "Maven executable not found in PATH" pops up for multiple times. #501
- Fix: tilde was not expanded as home directory in unix-like systems. #507
- Fix: Maven output didn't write to the integrated terminal window. #489
- Destination folder was ingored when creating new project. #478
- Reuse VS Code's icons. #469
- Terminals were opened in the wrong workspace root folder. #467
NoClassDefFoundError
occurred when resolving unknown types. #474
- Support to debug favorite commands. #444
- Add shortcut to view output when error occurs. PR#458
- Support to browse to select local Maven executable if not found. PR#457
- Remove unnecessary prefix
cmd /c
for powershell commands. #452 - Walk up parent folders to find available Maven wrapper. #PR460
- Projects were not indexed when adding a folder to current workspace. #453
- Improve exposure of command "resolve unknown types". PR#448
- Insert the dependency into the wrong position when resolving unknown types. #441
- Support to "Collapse All" in Maven explorer. PR#414
- Support to specify the project for command "Maven: Add a dependency". PR418
- Java extension was unnecessarily activated. #424
- Projects were not identified before expanding the Maven explorer. #429
- Provide more completion suggestions for groupId and artifactId on POM file authoring. PR#404
- No candidates when resolving unknown types. PR#405
- Add inline action buttons in Maven explorer.
- Add icons for Maven explorer items. PR#397
- Can add dependencies when hovering on unresolved types. PR#391
- Cannot show dependencies.
- Expanded plugin nodes tend to collapse after loading. #364
- Typo in Hover information. #368
- Unexpected error log on first use. #358
- Switch to use new VS Code API (v1.37+) to get default shell. #337
Thank Christian Lutz @thccorni for contribution.
- Cannot show plugin goals. #340
- For Maven project creation:
- Refresh explorer when config
maven.pomfile.globPattern
changes. #334
- Change command name "Generate from Maven Archetype" to "Create Maven Project" for clarity. #345
- Provide a workaround for default shell detection. #319
- Add new config
maven.pomfile.globPattern
, which specifies how the extension searchs for POM files. #316 - Add new config
maven.pomfile.autoUpdateEffectivePOM
, which specifies whether to update Effective-POM automatically. #319
- Unexpected insertion of code snippets. #310
- A bug that Maven
localRepository
setting was not effective. #322 - Cannot create Maven project when target directory has brackets and default shell is PowerShell. #324
Thank Justin Ridgewell (@jridgewell) for the contributions to make the extension even better.
- A regression issue which blocks auto-completion for pom files. #311
- An error on calculating effective pom when there is whitespace in project path. #304
- A bug which causes to retry calculating effective pom all the time. #296
- Support to debug a plugin goal.
- The feature is designed for debugging code of the plugin goal itself. It can also debug Java classes loaded in the same JVM.
- Debugging Java classes loaded by a forked process is not supported. E.g. when
devtools
is present, breakpoints in application code will not be hit when debuggingspring-boot:run
according to its docs.
- Add a shortcut to show dependency tree.
- Fix miscellaneous minor issues by enabling TS strict null check.
- A potential NPE when no folder is open. #279
- Errors on executing some commands when there is no open workspace. #274 #277
- Missing description for favorite commands configuration. PR#275
- Allow to specify and execute "favorite" Maven commands. #72 #259
- Hover to show effective version of a dependency. #260
- Add a command "Maven: Add a dependency" for convenience when editing pom.xml. #253
- Use a simple and robust way to inject custom environment variables into terminals. PR#240
- Fix a regression of executing custom goals from command palette. #243
- Fix the order of completion items for non-semantic versions. #236
- Fix the issue that extension is not activated when opening an external pom.xml file. #232
- Provide completion suggestions leveraging info from both local and central repository. #195
- Fix the issue that mvn help:describe keeps grabbing the focus in MacOSX. #214
- Fix WSL file path conversion when the root is changed in
wsl.conf
. #206
- Support to switch between hierarchical and flat view of modules. #193
- Support to complete dependencies when editing pom.xml file. #195
- It is disabled by default, enable it by setting the value of
maven.completion.enabled
totrue
. - The dependency candidates are from the local Maven repository.
- It is disabled by default, enable it by setting the value of
- Chinese localization: Add a whitespace between English and Chinese characters. #184
- Add a shortcut in Maven explorer to generate projects. PR#190
- Support to view and execute plugin goals. #126
- Change icons of Maven project nodes. PR#181
- Add Chinese localization. #146
- Fix vulnerability issue of event-stream. PR#154
- Better support for WSL. PR#143 by @RobertDeRose
- Add Chinese localization for configuration entries and command names. PR#147
- Fix wording in documents.
Thank @RobertDeRose, @johanhammar and @apupier for the contribution.
- Use the latest version of vscode-extension-telemetry dependency. #135
- Sort Maven projects alphabetically in Explorer. PR#118 by @owenconti
- Adjust order of steps when generating projects from an archetype. #122
- Open trouble-shooting page in browser.PR#131
- Fixed some bugs.
Thank Owen Conti (@owenconti) for the help to make the extension even better.
- Supported to hide Maven explorer view by default. #51
- Started to use a separate terminal for each root folder. #68
- Improved performance of searching for pom.xml #77
- Started to includes Maven archetypes in local catalog when generating projects. #82
- Forced to use mvn wrapper as Maven executable file if one is found in root folder, and added a new configuration
maven.executable.preferMavenWrapper
allowing to turn it off. #84 #105 - Refined command
maven.history
to re-run historical goals.#87 - Started to use "cmd /c" to execute Maven commands for PowerShell.#112
- Supported to update explorer automatically when workspace folders change. #27
- Some code refactoring and bug fixing.
- Fixed bug of using
./mvnw
as maven executable.
- Fetch list of popular archetypes on the fly. #63
- Guide users to setup correct mvn executable path when error occurs. #66
- Fixed some bugs.
- Fixed vulnerabilities in package dependencies.
- Formatted filepath for WSL Bash.
- Added entry for historical commands in context menu.
- Simplified the workflow for executing custom goals.
- Supported to fast re-run maven command from history.
- Supported to trigger maven command from command palette.
- Fixed some bugs.
- Added support for setting JAVA_HOME and other environment variables through configuration settings.
- Supported to put popular archetypes ahead when generating projects.
- Supported to append default options for mvn commands.
- Supported to auto-update maven project explorer tree view when pom.xml has been created/modified/removed.
- Started to collect anonymous data of selected Maven Archetype when users generate projects.
- Updated extension name.
- Excluded pom.xml in
target
folder by default. (to avoid duplicate item in explorer) - Fixed CRLF issue #10.
- Supported to use maven wrapper.
- Changed icon of treeItems for dark/light themes.
- Fixed some bugs.
For historical releases earlier than v0.4.1
, please refer to Eskibear/vscode-maven.