File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 3333
3434 <!-- build plugin dependencies -->
3535 <mvn-compiler .version>3.13.0</mvn-compiler .version>
36+ <mvn-dependency .version>3.7.1</mvn-dependency .version>
3637 <mvn-surefire .version>3.5.1</mvn-surefire .version>
3738 <mvn-jar .version>3.4.2</mvn-jar .version>
3839 <mvn-source .version>3.3.1</mvn-source .version>
4344 <junit-tree-reporter .version>1.3.0</junit-tree-reporter .version>
4445 <jacoco .version>0.8.12</jacoco .version>
4546 <nexus-staging .version>1.7.0</nexus-staging .version>
47+
48+ <!-- Property used by surefire to determine jacoco engine -->
49+ <surefire .jacoco.args></surefire .jacoco.args>
4650 </properties >
4751
4852 <licenses >
162166 </annotationProcessorPaths >
163167 </configuration >
164168 </plugin >
169+ <plugin >
170+ <groupId >org.apache.maven.plugins</groupId >
171+ <artifactId >maven-dependency-plugin</artifactId >
172+ <version >${mvn-dependency.version} </version >
173+ <executions >
174+ <execution >
175+ <id >jar-paths-to-properties</id >
176+ <goals >
177+ <goal >properties</goal >
178+ </goals >
179+ </execution >
180+ </executions >
181+ </plugin >
165182 <plugin >
166183 <groupId >org.apache.maven.plugins</groupId >
167184 <artifactId >maven-surefire-plugin</artifactId >
183200 <statelessTestsetInfoReporter
184201 implementation=" org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter" >
185202 </statelessTestsetInfoReporter >
203+ <argLine >@{surefire.jacoco.args} -javaagent:${net.bytebuddy:byte-buddy-agent:jar} </argLine >
186204 </configuration >
187205 </plugin >
188206 <plugin >
288306 <goals >
289307 <goal >prepare-agent</goal >
290308 </goals >
309+ <configuration >
310+ <propertyName >surefire.jacoco.args</propertyName >
311+ </configuration >
291312 </execution >
292313 <execution >
293314 <id >report</id >
You can’t perform that action at this time.
0 commit comments