Skip to content

Commit

Permalink
Avoid generating a module-info class. Fixes #1448
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-costigliola committed Feb 27, 2019
1 parent fb75625 commit 14384ec
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions pom.xml
@@ -1,5 +1,6 @@
<?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>
Expand Down Expand Up @@ -159,6 +160,14 @@
<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>
Expand Down Expand Up @@ -202,12 +211,9 @@
<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",
Expand All @@ -229,7 +235,8 @@
<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>
Expand Down Expand Up @@ -288,7 +295,8 @@
</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>
Expand Down Expand Up @@ -325,7 +333,8 @@
<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>
Expand Down

0 comments on commit 14384ec

Please sign in to comment.