forked from iemafzalhassan/retail-store-sample-app
-
Notifications
You must be signed in to change notification settings - Fork 551
Expand file tree
/
Copy pathproject.json
More file actions
53 lines (53 loc) · 1.47 KB
/
project.json
File metadata and controls
53 lines (53 loc) · 1.47 KB
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
{
"name": "orders",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "src/orders",
"targets": {
"build": {
"executor": "nx:run-commands",
"cache": true,
"inputs": ["{projectRoot}/src/**/*", "{projectRoot}/pom.xml"],
"outputs": ["{projectRoot}/target/*.jar"],
"options": {
"command": "./mvnw --no-transfer-progress -DskipTests package"
}
},
"test": {
"executor": "nx:run-commands",
"dependsOn": ["build"],
"cache": true,
"inputs": ["{projectRoot}/src/**/*", "{projectRoot}/pom.xml"],
"outputs": ["{projectRoot}/target/surefire-reports/*.xml"],
"options": {
"command": "./mvnw clean test -DexcludedGroups=integration"
}
},
"test:integration": {
"executor": "nx:run-commands",
"dependsOn": ["test"],
"cache": true,
"inputs": ["{projectRoot}/src/**/*", "{projectRoot}/pom.xml"],
"outputs": ["{projectRoot}/target/surefire-reports/*.xml"],
"options": {
"command": "./mvnw clean test -Dgroups=integration"
}
},
"lint": {
"executor": "nx:run-commands",
"dependsOn": ["build"],
"options": {
"command": "./mvnw checkstyle:checkstyle"
}
},
"serve": {
"executor": "nx:run-commands",
"options": {
"command": "./mvnw spring-boot:run"
}
},
"manifest": {},
"helm": {}
},
"tags": ["service", "chart"]
}