{ "name": "vscode-maven", "displayName": "Maven for Java", "description": "%description%", "version": "0.44.0", "icon": "resources/logo.png", "publisher": "vscjava", "preview": false, "aiKey": "7c4292ac-8ca8-4e02-9f1c-0b73e1eeeca4", "engines": { "vscode": "^1.75.0" }, "enabledApiProposals": [], "capabilities": { "virtualWorkspaces": false, "untrustedWorkspaces": { "supported": "limited", "restrictedConfigurations": [ "maven.executable.options", "maven.terminal.customEnv" ] } }, "categories": [ "Programming Languages", "Other" ], "keywords": [ "Maven", "Java" ], "license": "MIT", "homepage": "https://github.com/Microsoft/vscode-maven/", "repository": { "type": "git", "url": "https://github.com/Microsoft/vscode-maven.git" }, "activationEvents": [ "workspaceContains:**/pom.xml" ], "main": "./dist/extension", "contributes": { "javaExtensions": [ "./jdtls.ext/com.microsoft.java.maven.plugin/target/com.microsoft.java.maven.plugin-0.39.0.jar" ], "commands": [ { "command": "maven.explorer.refresh", "title": "%contributes.commands.maven.explorer.refresh%", "category": "Maven", "icon": "$(refresh)" }, { "command": "maven.goal.clean", "title": "clean", "category": "Maven" }, { "command": "maven.goal.validate", "title": "validate", "category": "Maven" }, { "command": "maven.goal.compile", "title": "compile", "category": "Maven" }, { "command": "maven.goal.test", "title": "test", "category": "Maven" }, { "command": "maven.goal.test-compile", "title": "test-compile", "category": "Maven" }, { "command": "maven.goal.package", "title": "package", "category": "Maven" }, { "command": "maven.goal.verify", "title": "verify", "category": "Maven" }, { "command": "maven.goal.install", "title": "install", "category": "Maven" }, { "command": "maven.goal.site", "title": "site", "category": "Maven" }, { "command": "maven.goal.deploy", "title": "deploy", "category": "Maven" }, { "command": "maven.goal.custom", "title": "%contributes.commands.maven.goal.custom%", "category": "Maven" }, { "command": "maven.project.effectivePom", "title": "%contributes.commands.maven.project.effectivePom%", "category": "Maven" }, { "command": "maven.project.openPom", "title": "%contributes.commands.maven.project.openPom%", "category": "Maven", "icon": "$(go-to-file)" }, { "command": "maven.archetype.generate", "title": "%contributes.commands.maven.archetype.generate%", "category": "Maven", "icon": "$(add)" }, { "command": "maven.archetype.update", "title": "%contributes.commands.maven.archetype.update%", "category": "Maven" }, { "command": "maven.history", "title": "%contributes.commands.maven.history%", "category": "Maven" }, { "command": "maven.goal.execute", "title": "%contributes.commands.maven.goal.execute%", "category": "Maven" }, { "command": "maven.goal.execute.fromProjectManager", "title": "Run Maven Commands...", "category": "Maven" }, { "command": "maven.goal.execute.fromLifecycleMenu", "title": "%contributes.commands.maven.plugin.execute%", "category": "Maven", "icon": "$(play)" }, { "command": "maven.goal.execute.fromFavoritesMenu", "title": "%contributes.commands.maven.plugin.execute%", "category": "Maven", "icon": "$(play)" }, { "command": "maven.plugin.execute", "title": "%contributes.commands.maven.plugin.execute%", "category": "Maven", "icon": "$(play)" }, { "command": "maven.plugin.debug", "title": "%contributes.commands.maven.plugin.debug%", "category": "Maven" }, { "command": "maven.view.flat", "title": "%contributes.commands.maven.view.flat%", "category": "Maven", "icon": "$(list-flat)" }, { "command": "maven.view.hierarchical", "title": "%contributes.commands.maven.view.hierarchical%", "category": "Maven", "icon": "$(list-tree)" }, { "command": "maven.project.addDependency", "title": "%contributes.commands.maven.project.addDependency%", "category": "Maven", "icon": "$(add)" }, { "command": "maven.project.showDependencies", "title": "%contributes.commands.maven.project.showDependencies%", "category": "Maven" }, { "command": "maven.project.excludeDependency", "title": "%contributes.commands.maven.project.excludeDependency%", "category": "Maven" }, { "command": "maven.project.setDependencyVersion", "title": "%contributes.commands.maven.project.setDependencyVersion%", "category": "Maven", "icon": "$(wrench)" }, { "command": "maven.project.addFavorite", "title": "%contributes.commands.maven.project.addFavorite%", "category": "Maven", "icon": "$(add)" }, { "command": "maven.dependency.goToEffective", "title": "%contributes.commands.maven.dependency.goToEffective%", "category": "Maven" }, { "command": "maven.project.goToDefinition", "title": "%contributes.commands.maven.project.goToDefinition%", "category": "Maven" }, { "command": "maven.favorites", "title": "%contributes.commands.maven.favorites%", "category": "Maven" }, { "command": "maven.java.projectConfiguration.update", "title": "%contributes.commands.maven.java.projectConfiguration.update%", "icon": "$(sync)", "category": "Maven" }, { "command": "maven.profile.select", "title": "Select", "icon": "$(add)", "category": "Maven" }, { "command": "maven.profile.deselect", "title": "Deselect", "icon": "$(remove)", "category": "Maven" }, { "command": "maven.new.module", "title": "%contributes.commands.maven.module.new%", "category": "Maven" } ], "views": { "explorer": [ { "id": "mavenProjects", "name": "%contributes.views.explorer.mavenProjects%", "when": "workbenchState == empty || vscode-maven:activated", "contextualTitle": "%contributes.views.explorer.mavenProjects%", "icon": "resources/icons/dark/project.svg" } ] }, "viewsWelcome": [ { "view": "mavenProjects", "contents": "%contributes.viewsWelcome.mavenProjects.untrustedWorkspaces%", "when": "!isWorkspaceTrusted" } ], "submenus": [ { "id": "maven/run", "label": "Run Maven Commands..." }, { "id": "explorer/maven", "label": "Maven" } ], "menus": { "commandPalette": [ { "command": "maven.goal.clean", "when": "never" }, { "command": "maven.goal.validate", "when": "never" }, { "command": "maven.goal.compile", "when": "never" }, { "command": "maven.goal.test", "when": "never" }, { "command": "maven.goal.test-compile", "when": "never" }, { "command": "maven.goal.package", "when": "never" }, { "command": "maven.goal.verify", "when": "never" }, { "command": "maven.goal.install", "when": "never" }, { "command": "maven.goal.site", "when": "never" }, { "command": "maven.goal.deploy", "when": "never" }, { "command": "maven.goal.custom", "when": "never" }, { "command": "maven.project.effectivePom", "when": "never" }, { "command": "maven.explorer.refresh", "when": "never" }, { "command": "maven.project.openPom", "when": "never" }, { "command": "maven.goal.execute.fromProjectManager", "when": "never" }, { "command": "maven.goal.execute.fromLifecycleMenu", "when": "never" }, { "command": "maven.goal.execute.fromFavoritesMenu", "when": "never" }, { "command": "maven.plugin.execute", "when": "never" }, { "command": "maven.plugin.debug", "when": "never" }, { "command": "maven.project.showDependencies", "when": "never" }, { "command": "maven.project.excludeDependency", "when": "never" }, { "command": "maven.project.setDependencyVersion", "when": "never" }, { "command": "maven.dependency.goToEffective", "when": "never" }, { "command": "maven.project.goToDefinition", "when": "never" }, { "command": "maven.archetype.generate", "when": "!java:projectManagerActivated" }, { "command": "maven.favorites", "when": "isWorkspaceTrusted" }, { "command": "maven.history", "when": "isWorkspaceTrusted" }, { "command": "maven.goal.execute", "when": "isWorkspaceTrusted" }, { "command": "maven.java.projectConfiguration.update", "when": "false" }, { "command": "maven.profile.select", "when": "false" }, { "command": "maven.profile.deselect", "when": "false" } ], "explorer/context": [ { "submenu": "explorer/maven", "group": "1_javaactions@100" } ], "view/title": [ { "command": "maven.java.projectConfiguration.update", "when": "view == mavenProjects && javaLSReady", "group": "navigation@05" }, { "command": "maven.view.flat", "when": "view == mavenProjects && config.maven.view != flat", "group": "navigation@0a" }, { "command": "maven.view.hierarchical", "when": "view == mavenProjects && config.maven.view != hierarchical", "group": "navigation@0b" }, { "command": "maven.archetype.generate", "when": "view == mavenProjects", "group": "navigation@1" } ], "view/item/context": [ { "submenu": "maven/run", "when": "view == mavenProjects && viewItem == maven:project" }, { "command": "maven.project.effectivePom", "when": "view == mavenProjects && viewItem == maven:project", "group": "0-pom@1" }, { "command": "maven.project.showDependencies", "when": "view == mavenProjects && viewItem == maven:project", "group": "0-pom@0" }, { "command": "maven.project.excludeDependency", "when": "view == mavenProjects && viewItem =~ /maven:dependency(?!.*?\\b\\+root\\b)/", "group": "0-dependency@0" }, { "command": "maven.project.setDependencyVersion", "when": "view == mavenProjects && viewItem =~ /maven:dependency(?=.*?\\b\\+conflict\\b)/", "group": "inline" }, { "command": "maven.dependency.goToEffective", "when": "view == mavenProjects && viewItem =~ /maven:dependency(?=.*?\\b\\+conflict\\b)/", "group": "0-dependency@2" }, { "command": "maven.project.goToDefinition", "when": "view == mavenProjects && viewItem =~ /maven:dependency/", "group": "0-dependency@1" }, { "command": "maven.project.openPom", "when": "view == mavenProjects && viewItem == maven:project", "group": "inline" }, { "command": "maven.plugin.execute", "when": "view == mavenProjects && viewItem == maven:pluginGoal", "group": "inline" }, { "command": "maven.plugin.execute", "when": "view == mavenProjects && viewItem == maven:pluginGoal", "group": "1@1" }, { "command": "maven.plugin.debug", "when": "view == mavenProjects && viewItem == maven:pluginGoal", "group": "1@2" }, { "command": "maven.explorer.refresh", "when": "view == mavenProjects && viewItem == maven:plugin", "group": "1@1" }, { "command": "maven.explorer.refresh", "when": "view == mavenProjects && viewItem == maven:menu", "group": "inline" }, { "command": "maven.project.addDependency", "when": "view == javaProjectExplorer && viewItem =~ /java:container(?=.*?\\b\\+maven\\b)/", "group": "inline" }, { "command": "maven.project.addDependency", "when": "view == mavenProjects && viewItem == maven:dependenciesMenu", "group": "inline@0" }, { "command": "maven.project.addFavorite", "when": "view == mavenProjects && viewItem == maven:favoritesMenu", "group": "inline@0" }, { "command": "maven.explorer.refresh", "when": "view == mavenProjects && viewItem == maven:dependenciesMenu", "group": "inline@1" }, { "command": "maven.goal.execute.fromLifecycleMenu", "when": "view == mavenProjects && viewItem == maven:lifecycle", "group": "inline" }, { "command": "maven.goal.execute.fromLifecycleMenu", "when": "view == mavenProjects && viewItem == maven:lifecycle", "group": "1@1" }, { "command": "maven.goal.execute.fromFavoritesMenu", "when": "view == mavenProjects && viewItem == maven:favorites", "group": "inline" }, { "command": "maven.goal.execute.fromFavoritesMenu", "when": "view == mavenProjects && viewItem == maven:favorites", "group": "1@1" }, { "command": "maven.profile.select", "when": "view == mavenProjects && viewItem == maven:profile+unchecked", "group": "inline" }, { "command": "maven.profile.deselect", "when": "view == mavenProjects && viewItem == maven:profile+checked", "group": "inline" } ], "javaProject.maven": [ { "command": "maven.project.openPom", "group": "maven@20" }, { "command": "maven.goal.execute.fromProjectManager", "group": "maven@30" } ], "explorer/maven": [ { "command": "maven.archetype.generate", "when": "config.maven.showInExplorerContextMenu && explorerResourceIsFolder", "group": "maven@1" }, { "command": "maven.new.module", "group": "maven@2" }, { "command": "maven.project.effectivePom", "when": "resourceFilename == pom.xml", "group": "maven@3" } ], "maven/run": [ { "command": "maven.goal.custom", "group": "5-custom@5" }, { "command": "maven.favorites", "group": "5-custom@3" }, { "command": "maven.history", "group": "5-custom@0" }, { "command": "maven.goal.clean", "group": "1-lifecycle@10" }, { "command": "maven.goal.package", "group": "1-lifecycle@20" }, { "command": "maven.goal.install", "group": "1-lifecycle@30" }, { "command": "maven.goal.compile", "group": "1-lifecycle@40" }, { "command": "maven.goal.validate", "group": "3-lifecycle@50" }, { "command": "maven.goal.verify", "group": "3-lifecycle@60" }, { "command": "maven.goal.test", "group": "3-lifecycle@70" }, { "command": "maven.goal.test-compile", "group": "3-lifecycle@75" }, { "command": "maven.goal.site", "group": "4-lifecycle@80" }, { "command": "maven.goal.deploy", "group": "4-lifecycle@90" } ] }, "configuration": [ { "title": "Maven for Java", "properties": { "maven.settingsFile": { "type": [ "string", "null" ], "default": null, "description": "%configuration.maven.settingsFile%", "scope": "machine" }, "maven.excludedFolders": { "type": "array", "default": [ "**/.*", "**/node_modules", "**/target", "**/bin", "**/archetype-resources" ], "description": "%configuration.maven.excludedFolders%", "scope": "resource" }, "maven.executable.preferMavenWrapper": { "type": "boolean", "default": "true", "description": "%configuration.maven.executable.preferMavenWrapper%", "scope": "resource" }, "maven.executable.path": { "type": "string", "default": "", "description": "%configuration.maven.executable.path%", "scope": "machine" }, "maven.executable.options": { "type": "string", "default": "", "description": "%configuration.maven.executable.options%", "scope": "machine-overridable" }, "maven.terminal.useJavaHome": { "type": "boolean", "default": false, "description": "%configuration.maven.terminal.useJavaHome%", "scope": "window" }, "maven.terminal.customEnv": { "type": "array", "items": { "type": "object", "title": "environment setting", "required": [ "environmentVariable", "value" ], "properties": { "environmentVariable": { "type": "string", "minLength": 1, "description": "%configuration.maven.terminal.customEnv.environmentVariable%" }, "value": { "type": "string", "description": "%configuration.maven.terminal.customEnv.value%" } } }, "default": [], "description": "%configuration.maven.terminal.customEnv%", "scope": "resource" }, "maven.terminal.favorites": { "type": "array", "items": { "type": "object", "title": "Favorite commands", "required": [ "command" ], "properties": { "alias": { "type": "string", "minLength": 1, "description": "%configuration.maven.terminal.favorites.alias%" }, "command": { "type": "string", "minLength": 1, "description": "%configuration.maven.terminal.favorites.command%" }, "debug": { "type": "boolean", "default": false, "description": "%configuration.maven.terminal.favorites.debug%" } } }, "default": [], "description": "%configuration.maven.terminal.favorites%", "scope": "resource" }, "maven.view": { "type": "string", "enum": [ "flat", "hierarchical" ], "default": "flat", "scope": "window", "description": "%configuration.maven.view%" }, "maven.showInExplorerContextMenu": { "type": "boolean", "default": "true", "description": "%configuration.maven.showInExplorerContextMenu%", "scope": "resource" }, "maven.pomfile.globPattern": { "type": "string", "default": "**/pom.xml", "description": "%configuration.maven.pomfile.globPattern%", "scope": "window" }, "maven.pomfile.autoUpdateEffectivePOM": { "type": "boolean", "default": false, "description": "%configuration.maven.pomfile.autoUpdateEffectivePOM%", "scope": "window" }, "maven.pomfile.prefetchEffectivePom": { "type": "boolean", "default": false, "description": "%configuration.maven.pomfile.prefetchEffectivePom%", "scope": "application" }, "maven.dependency.enableConflictDiagnostics": { "type": "boolean", "default": "true", "description": "%configuration.maven.dependency.enableConflictDiagnostics%", "scope": "window" }, "maven.projectOpenBehavior": { "default": "Interactive", "type": "string", "scope": "window", "description": "%configuration.maven.projectOpenBehavior%", "enum": [ "Interactive", "Open", "Add to Workspace", "None" ] }, "maven.explorer.projectName": { "default": "${project.name}", "type": "string", "scope": "window", "description": "%configuration.maven.explorer.projectName%", "enum": [ "${project.name}", "${project.artifactId}", "${project.artifactId}-${project.version}", "${project.groupId}.${project.artifactId}", "${project.groupId}.${project.artifactId}-${project.version}" ] } } } ] }, "scripts": { "vscode:prepublish": "webpack --mode production", "build-plugin": "node scripts/build-jdtls-ext.js", "compile": "tsc -p ./", "tslint": "eslint .", "watch": "webpack --mode development --watch --progress", "test": "tsc -p ./ && node ./out/test/index.js", "webpack": "webpack --mode development", "update-tpn": "node scripts/update-third-party-notice.js", "update-xsd": "tsc scripts/generate-maven-xsd.ts && node scripts/generate-maven-xsd.js" }, "devDependencies": { "@types/fs-extra": "^4.0.15", "@types/glob": "^7.2.0", "@types/lodash": "^4.17.7", "@types/lru-cache": "^5.1.0", "@types/md5": "^2.3.5", "@types/minimatch": "^3.0.4", "@types/mocha": "^9.1.1", "@types/node": "^16.18.104", "@types/semver": "^7.5.8", "@types/vscode": "1.75.0", "@types/which": "^1.3.2", "@types/xml2js": "^0.4.14", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "@vscode/test-electron": "^2.4.1", "eslint": "^8.57.0", "glob": "^7.2.3", "mocha": "^9.2.2", "ts-loader": "^9.5.1", "typescript": "^4.8.4", "webpack": "^5.93.0", "webpack-cli": "^4.10.0" }, "dependencies": { "domhandler": "^5.0.3", "expand-home-dir": "0.0.3", "fast-glob": "^3.3.2", "fs-extra": "^4.0.3", "get-port": "^4.2.0", "htmlparser2": "^8.0.1", "jszip": "^3.10.1", "lodash": "^4.17.21", "lru-cache": "^6.0.0", "md5": "^2.2.1", "minimatch": "^3.1.2", "semver": "^7.6.3", "vscode-extension-telemetry-wrapper": "^0.14.0", "vscode-languageclient": "^7.0.0", "vscode-languageserver-protocol": "^3.17.5", "vscode-tas-client": "^0.1.84", "which": "^1.3.1", "xml2js": "^0.5.0" } }