|
169 | 169 | </dependency> |
170 | 170 | </dependencies> |
171 | 171 | </plugin>--> |
172 | | - <!-- https://www.jacoco.org/jacoco/trunk/doc/maven.html --> |
173 | | - <plugin> |
174 | | - <groupId>org.jacoco</groupId> |
175 | | - <artifactId>jacoco-maven-plugin</artifactId> |
176 | | - <version>${jacoco.version}</version> |
177 | | - <executions> |
178 | | - <execution> |
179 | | - <id>jacoco-initialize</id> |
180 | | - <goals> |
181 | | - <goal>prepare-agent</goal> |
182 | | - </goals> |
183 | | - </execution> |
184 | | - <execution> |
185 | | - <id>jacoco-site</id> |
186 | | - <phase>test</phase> |
187 | | - <goals> |
188 | | - <goal>report</goal> |
189 | | - </goals> |
190 | | - </execution> |
191 | | - <execution> |
192 | | - <id>default-check</id> |
193 | | - <goals> |
194 | | - <goal>check</goal> |
195 | | - </goals> |
196 | | - <configuration> |
197 | | - <rules> |
198 | | - <rule> |
199 | | - <element>PACKAGE</element> |
200 | | - <limits> |
201 | | - <limit> |
202 | | - <counter>LINE</counter> |
203 | | - <value>COVEREDRATIO</value> |
204 | | - <minimum>0</minimum> |
205 | | - </limit> |
206 | | - </limits> |
207 | | - </rule> |
208 | | - </rules> |
209 | | - </configuration> |
210 | | - </execution> |
211 | | - </executions> |
212 | | - <configuration> |
213 | | - <excludes> |
214 | | - <exclude>**/gradle-wrapper.jar</exclude> |
215 | | - </excludes> |
216 | | - </configuration> |
217 | | - </plugin> |
218 | 172 | <plugin> |
219 | 173 | <groupId>org.apache.maven.plugins</groupId> |
220 | 174 | <artifactId>maven-surefire-plugin</artifactId> |
|
224 | 178 | <useSystemClassLoader>false</useSystemClassLoader> |
225 | 179 | <junitArtifactName>none:none</junitArtifactName> |
226 | 180 | <testNGArtifactName>org.testng:testng</testNGArtifactName> |
227 | | - <argLine>@{argLine} -XX:+StartAttachListener</argLine> |
228 | 181 | <systemPropertyVariables> |
229 | 182 | <org.openapitools.codegen.utils.oncelogger.expiry>1000</org.openapitools.codegen.utils.oncelogger.expiry> |
230 | 183 | <org.openapitools.codegen.utils.oncelogger.cachesize>5000</org.openapitools.codegen.utils.oncelogger.cachesize> |
231 | 184 | </systemPropertyVariables> |
232 | 185 | </configuration> |
233 | | - <dependencies> |
234 | | - <dependency> |
235 | | - <!-- must be on the classpath for test instrumentation --> |
236 | | - <groupId>org.jacoco</groupId> |
237 | | - <artifactId>org.jacoco.agent</artifactId> |
238 | | - <classifier>runtime</classifier> |
239 | | - <version>${jacoco.version}</version> |
240 | | - <scope>runtime</scope> |
241 | | - </dependency> |
242 | | - </dependencies> |
243 | 186 | </plugin> |
244 | 187 | <plugin> |
245 | 188 | <artifactId>maven-dependency-plugin</artifactId> |
|
0 commit comments