Commit 2ba193e27574e4abe0535d56f1b2f37e367a9ce0
1 parent
9b834226
Exists in
master
Add Jacoco
Showing
1 changed file
with
52 additions
and
0 deletions
Show diff stats
pom.xml
... | ... | @@ -116,6 +116,37 @@ |
116 | 116 | </execution> |
117 | 117 | </executions> |
118 | 118 | </plugin> |
119 | + <plugin> | |
120 | + <groupId>org.jacoco</groupId> | |
121 | + <artifactId>jacoco-maven-plugin</artifactId> | |
122 | + <version>0.8.4</version> | |
123 | + <executions> | |
124 | + <execution> | |
125 | + <id>default-prepare-agent</id> | |
126 | + <goals> | |
127 | + <goal>prepare-agent</goal> | |
128 | + </goals> | |
129 | + </execution> | |
130 | + <execution> | |
131 | + <id>default-prepare-agent-integration</id> | |
132 | + <goals> | |
133 | + <goal>prepare-agent-integration</goal> | |
134 | + </goals> | |
135 | + </execution> | |
136 | + <execution> | |
137 | + <id>default-report</id> | |
138 | + <goals> | |
139 | + <goal>report</goal> | |
140 | + </goals> | |
141 | + </execution> | |
142 | + <execution> | |
143 | + <id>default-report-integration</id> | |
144 | + <goals> | |
145 | + <goal>report-integration</goal> | |
146 | + </goals> | |
147 | + </execution> | |
148 | + </executions> | |
149 | + </plugin> | |
119 | 150 | </plugins> |
120 | 151 | |
121 | 152 | <!-- Avoid Eclipse warnings "Plugin execution not covered by lifecycle |
... | ... | @@ -150,6 +181,27 @@ |
150 | 181 | </pluginManagement> |
151 | 182 | </build> |
152 | 183 | |
184 | + <reporting> | |
185 | + <plugins> | |
186 | + <plugin> | |
187 | + <groupId>org.jacoco</groupId> | |
188 | + <artifactId>jacoco-maven-plugin</artifactId> | |
189 | + <reportSets> | |
190 | + <reportSet> | |
191 | + <reports> | |
192 | + <report>report-integration</report> | |
193 | + </reports> | |
194 | + </reportSet> | |
195 | + <reportSet> | |
196 | + <reports> | |
197 | + <report>report</report> | |
198 | + </reports> | |
199 | + </reportSet> | |
200 | + </reportSets> | |
201 | + </plugin> | |
202 | + </plugins> | |
203 | + </reporting> | |
204 | + | |
153 | 205 | <!-- The project dependencies --> |
154 | 206 | <dependencies> |
155 | 207 | ... | ... |