AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing microsoft/vscode-maven in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewMaven for Java Features Maven extension for VS Code. It provides a project explorer and shortcuts to execute Maven commands, improving user experience for Java developers who use Maven. • Support to generate projects from Maven Archetype. • Support to generate effective POM. • Provide shortcuts to common goals, plugin goals and customized commands. • Preserve command history to fast re-run. Requirements • Java • Maven / Maven Wrapper For troubleshooting, please refer to the page HERE. Basic Usage Maven Explorer The extension scans in your workspace, and displays all Maven projects and their modules in the sidebar. Run Plugin Goals The extension parse effective-pom of Maven projects, and displays all plugins and plugin goals hierarchically. POM File Editing The extension provides Maven specific completion suggestions when editing POM files, including snippets and artifact hints. Re-Run Historical Commands It preserves history of goals for each project, so you can fast re-run previous long commands, e.g. There are 2 entries for it: • Command Palette -> select -> Select a project -> Select command from the history • Right-click on a project -> Click -> Select command from the history Archetype Related Generate from Maven Archetype The extension loads archetypes listed in local/remote catalog. After selection, the extension sends to terminal. There are 2 entries for it: • Command Palette -> select • Right-click on a folder -> Click Update Maven Archetype Catalog With following steps, you can update the **local cache** of Maven **remote catalog**. It takes some time to download meta data from Maven central repository. Command Palette -> select . Additional Configurations JAVA_HOME and Other Environment Variables This extension executes Maven by opening a terminal session and then calling Maven in that session. Maven requires the JAVA_HOME environment variable to be set. Maven will also look for other variables such as MAVEN_OPTS. If you prefer not to set those variables permanently you can configure them, or any other environment variable, in settings: Special Handling for JAVA_HOME If you have Red Hat's Java Language Support extension installed, then you can specify JAVA_HOME in settings for that extension: This extension (Maven for Java) can reuse that setting if you desire: With this support, you can specify JAVA_HOME in one place and you do not need to use the setting unless you have other environment variables to set. If you have JAVA_HOME configured through the setting, and also specify to reuse the Red Hat setting, then the value from will take precedence. Default Options for Maven Command The usage of Maven executable is: > usage: mvn [options] [ ] [ ] You can use to specify default **options** for all your Maven commands executed in current project. Folder Exclusion for Searching POM Files To speed up the searching of Maven projects, you can exclude folders in settings: Customize Favorite Maven Commands Specify a favorite command in settings: Now right-click on an project item, and then click . The option should show up. Settings | Name | Description | Default Value | |---|---|---| | | Specify whether to show diagnostics for conflict dependencies. | | | | Specifies file path pattern of folders to exclude while searching for Maven projects. | | | | Specifies whether you prefer to use Maven wrapper. If true, it tries using 'mvnw' by walking up the parent folders. If false, or 'mvnw' is not found, it tries 'mvn' in PATH instead. | | | | Specifies absolute path of your 'mvn' executable. When this value is empty, it tries using 'mvn' or 'mvnw' according to the value of 'maven.executable.preferMavenWrapper'. E.g. | | | | Specifies default options for all mvn commands. E.g. | | | | Format of project node name shown in Maven explorer. | | | | "Default method of opening newly created project. | | | | Specifies whether to update effective-pom automatically whenever changes detected. | | | | Specifies the glob pattern used to look for pom.xml files. | | | | Specifies whether to prefetch effective pom on startup. | | | | If this value is true, and if the setting java.home has a value, then the environment variable JAVA_HOME will be set to the value of java.home when a new terminal window is created. | | | | Specifies an array of environment variable names and values. These environment variable values will be added before Maven is executed. : Name of the environment variable to set. : Value of the environment variable to set. | | | | Specify pre-defined favorite commands to execute. : A short name for the command. : Content of the favorite command. | | | | Specifies the way of viewing Maven projects. Possible values: , . | | | | Specifies the absolute path of Maven file. If not specified, is used. | | | | If this value is true, add a command to create Maven Projects in the Explorer context menu for folders. | | Data/Telemetry VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don’t wish to send usage data to Microsoft, you can set the setting to . Learn more in our FAQ. Contributing This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments. Release Notes Refer to CHANGELOG