VSCode extension "Maven for Java"
Перейти к файлу
Yan Zhang 1a9bd8c866
update dependency version (#7)
2018-02-05 16:41:11 +08:00
.vscode generated by yo 2017-11-10 13:30:04 +08:00
images version 0.5.0, update changelog (#4) 2018-01-16 11:10:53 +08:00
resources update telemetry 2018-01-09 11:40:30 +08:00
src update dependency version (#7) 2018-02-05 16:41:11 +08:00
.gitignore Better maven archetype experience (#35) 2017-12-14 16:59:10 +08:00
.travis.yml fix travis 2017-12-06 12:09:21 +08:00
.vscodeignore ignore images folder, shrink extension size 2017-12-04 15:53:27 +08:00
CHANGELOG.md version 0.5.0, update changelog (#4) 2018-01-16 11:10:53 +08:00
LICENSE.txt For OSS Review (#1) 2018-01-15 16:07:33 +08:00
README.md For OSS Review (#1) 2018-01-15 16:07:33 +08:00
package-lock.json usage data statistics (#46) 2017-12-27 10:28:55 +08:00
package.json update dependency version (#7) 2018-02-05 16:41:11 +08:00
thirdpartynotice.txt add 3rd party notice (#3) 2018-01-16 10:39:36 +08:00
tsconfig.json Better maven archetype experience (#35) 2017-12-14 16:59:10 +08:00
tslint.json usage data statistics (#46) 2017-12-27 10:28:55 +08:00

README.md

Maven Project Explorer

Marketplace Version Installs Rating Build Status

Features

Maven extension for VS Code. It now reads pom.xml in root folder, and provide project structures in sidebar, improving user experience for Java developers who use Maven.

  • Effective POM
  • Shortcut to common goals, namely clean, validate, compile, test, package, verify, install, site, deploy.
  • Perserve history of custom goals for fast re-run long commands(e.g. mvn clean package -DskipTests -Dcheckstyle.skip).
  • Can generate projects from Maven Archetype.
  • Support multi-module maven projects.
  • Support VSCode multi-root workspace.

Requirements

Provide Maven executable filepath.

  • By default, mvn command is executed directly in the terminal, which requires mvn can be found in system envronment PATH.
  • If you do not want to add it into PATH, you can specify maven executable path in settings:
    {
        "maven.executable.path": "/some-path-to-maven-home/bin/mvn"
    }
    

Usage

  • The extension scans pom.xml from each root folder in your workspace recursively, and display all maven projects and their modules in the sidebar.

    Screenshot

  • To speed up the searching of maven projects, you can exclude folders in settings:

    {
        "maven.projects.excludedFolders": [
            "**/.*",                // exclude hidden folders
            "**/node_modules"       // exclude node modules to speed up
        ]
    }
    
  • It perserves history of custom goals for each project, so you can fast re-run previous long commands, e.g. mvn <goals> -Dparam1=value1 -Dparam2=value2 -Dparam3=value3 ...

    Screenshot

  • Archetype Related

    • Generate from Maven Archetype The extension loads archetypes listed in local/remote catelog. After selection, the extension fires mvn archetype:generate -D... in terminal.

    Screenshot

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 dont wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. 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