Skip to content

Commit c83e92d

Browse files
committed
Disable assertions in Maven Surefire plugin to prevent bug in bigdataviewer-core.
* see bigdataviewer/bigdataviewer-core#217
1 parent 0647f6a commit c83e92d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,13 @@
253253
<build>
254254
<plugins>
255255
<!-- Configure the maven-surefire-plugin to use a heap size of 1gb while running tests. -->
256+
<!-- Assertions are disabled via -da flag to avoid a bug in bigdataviewer-core:, see https://github.com/bigdataviewer/bigdataviewer-core/pull/217. -->
256257
<plugin>
257258
<groupId>org.apache.maven.plugins</groupId>
258259
<artifactId>maven-surefire-plugin</artifactId>
259260
<version>3.1.0</version>
260261
<configuration>
261-
<argLine>-Xmx1g</argLine>
262+
<argLine>-Xmx1g -da</argLine>
262263
</configuration>
263264
</plugin>
264265
</plugins>
@@ -269,12 +270,13 @@
269270
<build>
270271
<plugins>
271272
<!-- Configure the maven-surefire-plugin to use a heap size of 1gb while running tests for jacoco coverage analysis. -->
273+
<!-- Assertions are disabled via -da flag to avoid a bug in bigdataviewer-core:, see https://github.com/bigdataviewer/bigdataviewer-core/pull/217. -->
272274
<plugin>
273275
<groupId>org.apache.maven.plugins</groupId>
274276
<artifactId>maven-surefire-plugin</artifactId>
275277
<version>3.1.0</version>
276278
<configuration>
277-
<argLine>@{argLine} -Xmx1g</argLine>
279+
<argLine>@{argLine} -Xmx1g -da</argLine>
278280
</configuration>
279281
</plugin>
280282
<plugin>

0 commit comments

Comments
 (0)