DATAES-499 - Fix build - jar hell

This commit is contained in:
Artur Konczak 2018-11-09 11:46:25 +00:00
parent 8cb36e4181
commit 86c45eff81

21
pom.xml
View File

@ -177,13 +177,6 @@
<!--<scope>test</scope>--> <!--<scope>test</scope>-->
</dependency> </dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok}</version>
<scope>provided</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -200,6 +193,20 @@
<groupId>org.asciidoctor</groupId> <groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId> <artifactId>asciidoctor-maven-plugin</artifactId>
</plugin> </plugin>
<!--
please do not remove this configuration for surefire - we need that to avoid issue with jar hell
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useSystemClassLoader>true</useSystemClassLoader>
<useFile>false</useFile>
<includes>
<include>**/*Tests.java</include>
</includes>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>