|
75 | 75 | <sonar.coverage.jacoco.xmlReportPaths> |
76 | 76 | ${project.basedir}/coverage/target/site/jacoco-aggregate/jacoco.xml |
77 | 77 | </sonar.coverage.jacoco.xmlReportPaths> |
78 | | - <jupiter-version>5.13.0-M2</jupiter-version> |
79 | 78 | </properties> |
80 | 79 |
|
81 | 80 | <dependencies> |
82 | 81 | <dependency> |
83 | 82 | <groupId>org.junit.jupiter</groupId> |
84 | 83 | <artifactId>junit-jupiter-api</artifactId> |
85 | | - <version>${jupiter-version}</version> |
86 | 84 | <scope>test</scope> |
87 | 85 | </dependency> |
88 | 86 | <dependency> |
89 | 87 | <groupId>org.junit.jupiter</groupId> |
90 | 88 | <artifactId>junit-jupiter-params</artifactId> |
91 | | - <version>${jupiter-version}</version> |
| 89 | + <scope>test</scope> |
| 90 | + </dependency> |
| 91 | + <dependency> |
| 92 | + <groupId>org.junit.platform</groupId> |
| 93 | + <artifactId>junit-platform-reporting</artifactId> |
92 | 94 | <scope>test</scope> |
93 | 95 | </dependency> |
94 | 96 | <dependency> |
|
99 | 101 | </dependency> |
100 | 102 | </dependencies> |
101 | 103 |
|
| 104 | + <dependencyManagement> |
| 105 | + <dependencies> |
| 106 | + <dependency> |
| 107 | + <groupId>org.junit</groupId> |
| 108 | + <artifactId>junit-bom</artifactId> |
| 109 | + <version>5.12.2</version> |
| 110 | + <type>pom</type> |
| 111 | + <scope>import</scope> |
| 112 | + </dependency> |
| 113 | + </dependencies> |
| 114 | + </dependencyManagement> |
| 115 | + |
102 | 116 | <build> |
103 | 117 | <!-- Restore the default maven final artifact name. --> |
104 | 118 | <finalName>${project.artifactId}-${project.version}</finalName> |
|
130 | 144 | <plugin> |
131 | 145 | <groupId>org.apache.maven.plugins</groupId> |
132 | 146 | <artifactId>maven-surefire-plugin</artifactId> |
133 | | - <version>3.3.1</version> |
| 147 | + <version>3.5.2</version> |
134 | 148 | <configuration> |
135 | 149 | <!-- Sets the VM argument line used when unit tests are run. --> |
136 | 150 | <!-- Suppress UnresolvedMavenProperty. --> |
137 | 151 | <argLine>-Xms1g -Xmx2g @{surefireArgLine}</argLine> |
138 | 152 | <useSystemClassLoader>false</useSystemClassLoader> |
139 | 153 | <forkedProcessExitTimeoutInSeconds>180</forkedProcessExitTimeoutInSeconds> |
140 | 154 | <forkCount>1</forkCount> |
| 155 | + <properties> |
| 156 | + <configurationParameters> |
| 157 | + junit.platform.reporting.open.xml.enabled = true |
| 158 | + junit.platform.reporting.output.dir = target/surefire-reports |
| 159 | + </configurationParameters> |
| 160 | + </properties> |
141 | 161 | </configuration> |
142 | 162 | </plugin> |
143 | 163 | <plugin> |
|
0 commit comments