Skip to content

Commit 86c45ef

Browse files
committed
DATAES-499 - Fix build - jar hell
1 parent 8cb36e4 commit 86c45ef

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

pom.xml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,6 @@
177177
<!--<scope>test</scope>-->
178178
</dependency>
179179

180-
<dependency>
181-
<groupId>org.projectlombok</groupId>
182-
<artifactId>lombok</artifactId>
183-
<version>${lombok}</version>
184-
<scope>provided</scope>
185-
</dependency>
186-
187180
</dependencies>
188181

189182
<build>
@@ -200,6 +193,20 @@
200193
<groupId>org.asciidoctor</groupId>
201194
<artifactId>asciidoctor-maven-plugin</artifactId>
202195
</plugin>
196+
<!--
197+
please do not remove this configuration for surefire - we need that to avoid issue with jar hell
198+
-->
199+
<plugin>
200+
<groupId>org.apache.maven.plugins</groupId>
201+
<artifactId>maven-surefire-plugin</artifactId>
202+
<configuration>
203+
<useSystemClassLoader>true</useSystemClassLoader>
204+
<useFile>false</useFile>
205+
<includes>
206+
<include>**/*Tests.java</include>
207+
</includes>
208+
</configuration>
209+
</plugin>
203210
</plugins>
204211
</build>
205212

0 commit comments

Comments
 (0)