File tree Expand file tree Collapse file tree 8 files changed +27
-110
lines changed
operator-build-maven-plugin Expand file tree Collapse file tree 8 files changed +27
-110
lines changed Original file line number Diff line number Diff line change @@ -342,8 +342,6 @@ pipeline {
342
342
cat "${WORKSPACE}/.mvn/maven.config"
343
343
'''
344
344
withSonarQubeEnv(' SonarCloud' ) {
345
- // For whatever reason, defining this property in the maven.config file is not working...
346
- //
347
345
sh " mvn sonar:sonar"
348
346
}
349
347
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- <!-- Copyright (c) 2017, 2021 , Oracle and/or its affiliates.
1
+ <!-- Copyright (c) 2017, 2022 , Oracle and/or its affiliates.
2
2
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. -->
3
3
<project xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xmlns =" http://maven.apache.org/POM/4.0.0"
22
22
<groupId >org.apache.maven.plugins</groupId >
23
23
<artifactId >maven-checkstyle-plugin</artifactId >
24
24
</plugin >
25
+ <plugin >
26
+ <groupId >org.jacoco</groupId >
27
+ <artifactId >jacoco-maven-plugin</artifactId >
28
+ </plugin >
25
29
</plugins >
26
30
</build >
27
31
43
47
<scope >test</scope >
44
48
</dependency >
45
49
</dependencies >
46
-
47
- <properties >
48
- <sonar .coverage.jacoco.xmlReportPaths>${basedir} /../${aggregate.report.dir} </sonar .coverage.jacoco.xmlReportPaths>
49
- </properties >
50
-
51
50
</project >
Original file line number Diff line number Diff line change 1
- <!-- Copyright (c) 2017, 2021 , Oracle and/or its affiliates.
1
+ <!-- Copyright (c) 2017, 2022 , Oracle and/or its affiliates.
2
2
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
3
-->
4
4
<project xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
134
134
</build >
135
135
</profile >
136
136
</profiles >
137
-
138
- <properties >
139
- <sonar .coverage.jacoco.xmlReportPaths>${basedir} /../${aggregate.report.dir} </sonar .coverage.jacoco.xmlReportPaths>
140
- </properties >
141
-
142
137
</project >
Original file line number Diff line number Diff line change 76
76
<groupId >org.apache.maven.plugins</groupId >
77
77
<artifactId >maven-checkstyle-plugin</artifactId >
78
78
</plugin >
79
+ <plugin >
80
+ <groupId >org.jacoco</groupId >
81
+ <artifactId >jacoco-maven-plugin</artifactId >
82
+ </plugin >
79
83
</plugins >
80
84
</build >
81
85
</project >
Original file line number Diff line number Diff line change 1
- <!-- Copyright (c) 2017, 2021 , Oracle and/or its affiliates.
1
+ <!-- Copyright (c) 2017, 2022 , Oracle and/or its affiliates.
2
2
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. -->
3
3
<project xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://maven.apache.org/POM/4.0.0"
4
4
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
271
271
</execution >
272
272
</executions >
273
273
</plugin >
274
-
274
+ <plugin >
275
+ <groupId >org.jacoco</groupId >
276
+ <artifactId >jacoco-maven-plugin</artifactId >
277
+ </plugin >
275
278
</plugins >
276
279
</build >
277
280
405
408
<scope >test</scope >
406
409
</dependency >
407
410
</dependencies >
408
-
409
- <properties >
410
- <sonar .coverage.jacoco.xmlReportPaths>${basedir} /../${aggregate.report.dir} </sonar .coverage.jacoco.xmlReportPaths>
411
- </properties >
412
-
413
411
</project >
Original file line number Diff line number Diff line change 16
16
<module >kubernetes</module >
17
17
<module >operator-build-maven-plugin</module >
18
18
<module >json-schema-generator</module >
19
- <module >buildtime-reports</module >
20
19
</modules >
21
20
22
21
<scm >
309
308
<goal >prepare-agent</goal >
310
309
</goals >
311
310
</execution >
311
+ <execution >
312
+ <id >report</id >
313
+ <phase >test</phase >
314
+ <goals >
315
+ <goal >report</goal >
316
+ </goals >
317
+ </execution >
312
318
</executions >
313
319
</plugin >
314
-
315
320
</plugins >
316
321
</build >
317
322
627
632
<jacoco .version>0.8.7</jacoco .version>
628
633
<git-commit-id-plugin-version >4.9.10</git-commit-id-plugin-version >
629
634
<htmlunit-version >2.59.0</htmlunit-version >
630
- <aggregate .report.dir>buildtime-reports/target/site/jacoco-aggregate/jacoco.xml</aggregate .report.dir>
631
635
<checkstyle .config.location>${root.basedir} /build-tools/checkstyle/customized_google_checks.xml</checkstyle .config.location>
632
636
<no-reports >false</no-reports >
633
637
</properties >
634
-
635
638
</project >
Original file line number Diff line number Diff line change 1
- <!-- Copyright (c) 2017, 2021 , Oracle and/or its affiliates.
1
+ <!-- Copyright (c) 2017, 2022 , Oracle and/or its affiliates.
2
2
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. -->
3
3
<project xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://maven.apache.org/POM/4.0.0"
4
4
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
52
52
<groupId >org.apache.maven.plugins</groupId >
53
53
<artifactId >maven-checkstyle-plugin</artifactId >
54
54
</plugin >
55
+ <plugin >
56
+ <groupId >org.jacoco</groupId >
57
+ <artifactId >jacoco-maven-plugin</artifactId >
58
+ </plugin >
55
59
</plugins >
56
60
</build >
57
61
58
62
<profiles >
59
-
60
63
<profile >
61
64
<id >default</id >
62
65
<activation >
75
78
<artifactId >client-java</artifactId >
76
79
</dependency >
77
80
</dependencies >
78
-
79
- <properties >
80
- <sonar .coverage.jacoco.xmlReportPaths>${basedir} /../${aggregate.report.dir} </sonar .coverage.jacoco.xmlReportPaths>
81
- </properties >
82
-
83
81
</project >
You can’t perform that action at this time.
0 commit comments