forked from microsoft/vscode-maven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
374 lines (374 loc) · 10.8 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
{
"name": "vscode-maven",
"displayName": "Maven for Java",
"description": "Manage maven projects, execute goals, generate project from archetype, improve user experience for Java developers.",
"version": "0.10.0",
"icon": "resources/logo.png",
"publisher": "vscjava",
"preview": true,
"aiKey": "7c4292ac-8ca8-4e02-9f1c-0b73e1eeeca4",
"engines": {
"vscode": "^1.18.0"
},
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"Maven",
"Java"
],
"homepage": "https://github.com/Microsoft/vscode-maven/blob/0.10.0/README.md",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-maven.git"
},
"activationEvents": [
"workspaceContains:**/pom.xml",
"onCommand:maven.project.refreshAll",
"onCommand:maven.goal.clean",
"onCommand:maven.goal.validate",
"onCommand:maven.goal.compile",
"onCommand:maven.goal.test",
"onCommand:maven.goal.package",
"onCommand:maven.goal.verify",
"onCommand:maven.goal.install",
"onCommand:maven.goal.site",
"onCommand:maven.goal.deploy",
"onCommand:maven.goal.custom",
"onCommand:maven.project.effectivePom",
"onCommand:maven.project.openPom",
"onCommand:maven.archetype.generate",
"onCommand:maven.archetype.update",
"onCommand:maven.history",
"onView:mavenProjects"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "maven.project.refreshAll",
"title": "Refresh",
"category": "Maven",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"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.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": "Custom goals ... ",
"category": "Maven"
},
{
"command": "maven.project.effectivePom",
"title": "Effective POM",
"category": "Maven"
},
{
"command": "maven.project.openPom",
"title": "Open POM file",
"category": "Maven"
},
{
"command": "maven.archetype.generate",
"title": "Generate from Maven Archetype",
"category": "Maven"
},
{
"command": "maven.archetype.update",
"title": "Update Maven Archetype Catalog",
"category": "Maven"
},
{
"command": "maven.history",
"title": "History ...",
"category": "Maven"
},
{
"command": "maven.goal.execute",
"title": "Execute commands",
"category": "Maven"
}
],
"views": {
"explorer": [
{
"id": "mavenProjects",
"name": "Maven Projects",
"when": "mavenExtensionActivated"
}
]
},
"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.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.project.refreshAll",
"when": "never"
},
{
"command": "maven.project.openPom",
"when": "never"
}
],
"explorer/context": [
{
"command": "maven.archetype.generate",
"group": "maven@3"
},
{
"command": "maven.project.effectivePom",
"when": "resourceFilename == pom.xml",
"group": "maven@1"
}
],
"view/title": [
{
"command": "maven.project.refreshAll",
"when": "view == mavenProjects",
"group": "navigation@2"
}
],
"view/item/context": [
{
"command": "maven.goal.custom",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@5"
},
{
"command": "maven.history",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@0"
},
{
"command": "maven.goal.clean",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@10"
},
{
"command": "maven.goal.package",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@20"
},
{
"command": "maven.goal.install",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@30"
},
{
"command": "maven.goal.compile",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@40"
},
{
"command": "maven.goal.validate",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@50"
},
{
"command": "maven.goal.verify",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@60"
},
{
"command": "maven.goal.test",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@70"
},
{
"command": "maven.goal.site",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@80"
},
{
"command": "maven.goal.deploy",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "1-lifecycle@90"
},
{
"command": "maven.project.effectivePom",
"when": "view == mavenProjects && viewItem == ProjectItem",
"group": "0-pom@1"
}
]
},
"configuration": [
{
"title": "Maven for Java",
"properties": {
"maven.excludedFolders": {
"type": "array",
"default": [
"**/.*",
"**/node_modules",
"**/target",
"**/bin"
],
"description": "Specifies filepath pattern of folders to exclude while searching for maven projects.",
"scope": "resource"
},
"maven.executable.preferMavenWrapper": {
"type": "boolean",
"default": "true",
"description": "Specifies whether you perfer to use Maven wrapper. If true, it tries using 'mvnw' in root folder by default if the file exists. Otherwise it tries 'mvn' in PATH instead.",
"scope": "resource"
},
"maven.executable.path": {
"type": "string",
"default": "",
"description": "Specifies absolute path of your mvn executable. When this value is empty, it tries using 'mvn' or 'mvnw' according to value of 'maven.executeble.preferMavenWapper'. Note that a relative path is not suggested, but if you do specify one, the absolute path will be resolved from your workspace root folder (if exists). ",
"scope": "resource"
},
"maven.executable.options": {
"type": "string",
"default": "",
"description": "Specifies default options for all mvn commands.",
"scope": "resource"
},
"maven.terminal.useJavaHome": {
"type": "boolean",
"default": false,
"description": "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.",
"scope": "window"
},
"maven.terminal.customEnv": {
"type": "array",
"items": {
"type": "object",
"title": "environment setting",
"properties": {
"environmentVariable": {
"type": "string",
"description": "Name of the environment variable to set"
},
"value": {
"type": "string",
"description": "Value to set for the environment variable"
}
}
},
"default": [],
"description": "Specifies an array of environment variable names and values. These environment variable values will be added to the terminal session before Maven is first executed.",
"scope": "window"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"tslint": "tslint -t verbose src/*.ts",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/fs-extra": "^4.0.5",
"@types/md5": "^2.1.32",
"@types/minimatch": "^3.0.1",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"@types/xml2js": "^0.4.2",
"tslint": "^5.8.0",
"tslint-microsoft-contrib": "^5.0.1",
"typescript": "^2.6.1",
"vscode": "^1.1.18"
},
"dependencies": {
"fs-extra": "^4.0.3",
"md5": "^2.2.1",
"minimatch": "^3.0.4",
"xml2js": "^0.4.19",
"vscode-extension-telemetry-wrapper": "~0.2.1"
}
}