File tree Expand file tree Collapse file tree 1 file changed +48
-2
lines changed Expand file tree Collapse file tree 1 file changed +48
-2
lines changed Original file line number Diff line number Diff line change 15
15
<artifactId >module-file</artifactId >
16
16
17
17
<properties >
18
- <maven .compiler.release>8</maven .compiler.release>
19
- <junit .version>5.5.2</junit .version>
20
18
<assertj .version>3.11.1</assertj .version>
19
+ <maven .compiler.release>8</maven .compiler.release>
21
20
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21
+ <junit .version>5.5.2</junit .version>
22
+ <jacoco .version>0.8.2</jacoco .version>
22
23
</properties >
23
24
24
25
<dependencies >
36
37
<scope >test</scope >
37
38
</dependency >
38
39
</dependencies >
40
+
41
+ <build >
42
+ <plugins >
43
+ <!-- Copy the artifact into the runtime/modules directory -->
44
+ <plugin >
45
+ <artifactId >maven-antrun-plugin</artifactId >
46
+ <configuration >
47
+ <tasks >
48
+ <copy file =" target/${project.artifactId}-${project.version}.jar"
49
+ tofile =" ../runtime/runtime-launcher/modules/${project.artifactId}-${project.version}.jar" >
50
+ </copy >
51
+ </tasks >
52
+ </configuration >
53
+ <executions >
54
+ <execution >
55
+ <phase >install</phase >
56
+ <goals >
57
+ <goal >run</goal >
58
+ </goals >
59
+ </execution >
60
+ </executions >
61
+ </plugin >
62
+
63
+ <!-- JaCoCo test coverage -->
64
+ <plugin >
65
+ <groupId >org.jacoco</groupId >
66
+ <artifactId >jacoco-maven-plugin</artifactId >
67
+ <version >${jacoco.version} </version >
68
+ <executions >
69
+ <execution >
70
+ <goals >
71
+ <goal >prepare-agent</goal >
72
+ </goals >
73
+ </execution >
74
+ <execution >
75
+ <id >generate-code-coverage-report</id >
76
+ <phase >test</phase >
77
+ <goals >
78
+ <goal >report</goal >
79
+ </goals >
80
+ </execution >
81
+ </executions >
82
+ </plugin >
83
+ </plugins >
84
+ </build >
39
85
</project >
You can’t perform that action at this time.
0 commit comments