-
Notifications
You must be signed in to change notification settings - Fork 2
/
sonar_deploy.cmd
96 lines (91 loc) · 3.49 KB
/
sonar_deploy.cmd
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
call mvn clean deploy -Dmaven.javadoc.skip=false -Possrh
call mvn sonar:sonar ^
-Dsonar.scm.exclusions.disabled=true ^
-Dsonar.projectKey=cyanpotion_cyan_potion ^
-Dsonar.organization=cyanpotion ^
-Dsonar.host.url=https://sonarcloud.io ^
-Dsonar.log.level=DEBUG ^
-Dsonar.language=java ^
-Dsonar.java.source=1.8 ^
-Dsonar.sourceEncoding=UTF-8 ^
-Dsonar.java.coveragePlugin=jacoco ^
-Dsonar.login=133240d1ee4abeaa8b7ba1ef36cab1a2b789ddcb
cd ./src/
cd ./base/
call mvn clean deploy -Dmaven.javadoc.skip=false -Possrh
call mvn sonar:sonar ^
-Dsonar.scm.exclusions.disabled=true ^
-Dsonar.sources=src/main/,target/generated-sources/ ^
-Dsonar.tests=src/test/,target/generated-test-sources/ ^
-Dsonar.exclusions=src/main/lombok/** ^
-Dsonar.inclusions=src/main/java/**,target/generated-sources/delombok/** ^
-Dsonar.test.exclusions=src/test/lombok/** ^
-Dsonar.test.inclusions=src/test/java/**,target/generated-test-sources/delombok/** ^
-Dsonar.projectKey=cyan_potion_base ^
-Dsonar.organization=cyanpotion ^
-Dsonar.host.url=https://sonarcloud.io ^
-Dsonar.log.level=DEBUG ^
-Dsonar.language=java ^
-Dsonar.java.source=1.8 ^
-Dsonar.sourceEncoding=UTF-8 ^
-Dsonar.java.binaries=target/classes/ ^
-Dsonar.java.test.binaries=target/test-classes/ ^
-Dsonar.java.coveragePlugin=jacoco ^
-Dsonar.jacoco.reportPaths=target/jacoco.exec ^
-Dsonar.junit.reportPaths=target/surefire-reports/ ^
-Dsonar.login=553972c4c1b0147c484f07f8741d76b24d51415c
cd ../
cd ./coordinate
call mvn clean deploy -Dmaven.javadoc.skip=false -Possrh
call mvn sonar:sonar ^
-Dsonar.scm.exclusions.disabled=true ^
-Dsonar.sources=src/main/,target/generated-sources/ ^
-Dsonar.tests=src/test/,target/generated-test-sources/ ^
-Dsonar.exclusions=src/main/lombok/** ^
-Dsonar.inclusions=src/main/java/**,target/generated-sources/delombok/** ^
-Dsonar.test.exclusions=src/test/lombok/** ^
-Dsonar.test.inclusions=src/test/java/**,target/generated-test-sources/delombok/** ^
-Dsonar.projectKey=cyan_potion_coordinate ^
-Dsonar.organization=cyanpotion ^
-Dsonar.host.url=https://sonarcloud.io ^
-Dsonar.log.level=DEBUG ^
-Dsonar.language=java ^
-Dsonar.java.source=1.8 ^
-Dsonar.sourceEncoding=UTF-8 ^
-Dsonar.java.binaries=target/classes/ ^
-Dsonar.java.test.binaries=target/test-classes/ ^
-Dsonar.java.coveragePlugin=jacoco ^
-Dsonar.jacoco.reportPaths=target/jacoco.exec ^
-Dsonar.junit.reportPaths=target/surefire-reports/ ^
-Dsonar.login=3b4953bb762221ad019f1a4d2cfd37b0830e326f
cd ../
cd ./rpg_module
call mvn clean deploy -Dmaven.javadoc.skip=false -Possrh
call mvn sonar:sonar ^
-Dsonar.scm.exclusions.disabled=true ^
-Dsonar.sources=src/main/,target/generated-sources/ ^
-Dsonar.tests=src/test/,target/generated-test-sources/ ^
-Dsonar.exclusions=src/main/lombok/** ^
-Dsonar.inclusions=src/main/java/**,target/generated-sources/delombok/** ^
-Dsonar.test.exclusions=src/test/lombok/** ^
-Dsonar.test.inclusions=src/test/java/**,target/generated-test-sources/delombok/** ^
-Dsonar.projectKey=cyan_potion_rpg_module ^
-Dsonar.organization=cyanpotion ^
-Dsonar.host.url=https://sonarcloud.io ^
-Dsonar.log.level=DEBUG ^
-Dsonar.language=java ^
-Dsonar.java.source=1.8 ^
-Dsonar.sourceEncoding=UTF-8 ^
-Dsonar.java.binaries=target/classes/ ^
-Dsonar.java.test.binaries=target/test-classes/ ^
-Dsonar.java.coveragePlugin=jacoco ^
-Dsonar.jacoco.reportPaths=target/jacoco.exec ^
-Dsonar.junit.reportPaths=target/surefire-reports/ ^
-Dsonar.login=e50335ce1fed53dfa9ad4ce70995957336cf8e7e
cd ../
cd ./demo
call mvn clean deploy -Dmaven.javadoc.skip=false -Possrh
cd ../
cd ../
delete_delombok.cmd
pause