Avoid generating a module-info class. Fixes
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd ">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd ">
<modelVersion>4.0.0</modelVersion>
<artifactId>assertj-core</artifactId>
<version>3.12.1-SNAPSHOT</version>
<shadedPattern>org.assertj.core.internal.bytebuddy</shadedPattern>
</relocation>
</relocations>
+ <filters>
+ <filter>
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/versions/**</exclude>
+ </excludes>
+ </filter>
+ </filters>
</configuration>
</execution>
</executions>
<configuration>
<instructions>
<Export-Package>org.assertj.core.*</Export-Package>
- <!--
- Don't import what assertj-core exports but import everything else.
- Also need to explicitly import packages that are dynamically loaded using
- Class.forName() (org.junit, org.opentest4j and org.testng are needed
- by the assumptions engine).
- -->
+ <!-- Don't import what assertj-core exports but import everything else. Also need to explicitly import packages
+ that are dynamically loaded using Class.forName() (org.junit, org.opentest4j and org.testng are needed by the assumptions
+ engine). -->
<Import-Package>
!org.assertj.core.*,
org.junit;resolution:="optional",
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
- <!-- exclude hamcrest as its classes are compiled in target/classes for an unknown reason related to hamcrest dependency being optional -->
+ <!-- exclude hamcrest as its classes are compiled in target/classes for an unknown reason related to hamcrest
+ dependency being optional -->
<exclude>**/*hamcrest*/**</exclude>
</excludes>
</configuration>
</plugins>
<pluginManagement>
<plugins>
- <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
+ <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build
+ itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<properties>
<!-- allow tests to access private fields/methods of java.base classes via reflection -->
<argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED
- --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED</argLine>
+ --add-opens
+ java.base/java.io=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED</argLine>
</properties>
</profile>
<profile>
