Skip to content

Commit 1022dd5

Browse files
committed
fix: test
1 parent 1629109 commit 1022dd5

1 file changed

Lines changed: 5 additions & 33 deletions

File tree

trpc-core/pom.xml

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -262,44 +262,16 @@
262262
<groupId>org.apache.maven.plugins</groupId>
263263
<artifactId>maven-surefire-plugin</artifactId>
264264
<configuration>
265+
<argLine>@{surefireArgLine}
266+
--add-opens java.base/java.lang=ALL-UNNAMED
267+
--add-opens java.base/java.util=ALL-UNNAMED
268+
--add-opens java.base/java.io=ALL-UNNAMED
269+
</argLine>
265270
<testFailureIgnore>${maven.ignore.testfailure}</testFailureIgnore>
266271
<skipTests>false</skipTests>
267-
<systemPropertyVariables>
268-
<jacoco-agent.destfile>${project.build.directory}/coverage.exec
269-
</jacoco-agent.destfile>
270-
</systemPropertyVariables>
271272
<reportsDirectory>../site/junit</reportsDirectory>
272273
</configuration>
273274
</plugin>
274-
<plugin>
275-
<groupId>org.jacoco</groupId>
276-
<artifactId>jacoco-maven-plugin</artifactId>
277-
<executions>
278-
<execution>
279-
<id>default-instrument</id>
280-
<goals>
281-
<goal>instrument</goal>
282-
</goals>
283-
</execution>
284-
<execution>
285-
<id>default-restore-instrumented-classes</id>
286-
<goals>
287-
<goal>restore-instrumented-classes</goal>
288-
</goals>
289-
</execution>
290-
<execution>
291-
<id>report</id>
292-
<phase>prepare-package</phase>
293-
<goals>
294-
<goal>report</goal>
295-
</goals>
296-
<configuration>
297-
<dataFile>${project.build.directory}/coverage.exec</dataFile>
298-
<outputDirectory>../site/${project.artifactId}</outputDirectory>
299-
</configuration>
300-
</execution>
301-
</executions>
302-
</plugin>
303275
</plugins>
304276
</build>
305277
</project>

0 commit comments

Comments
 (0)