You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2018/06/10 21:26:20 UTC
[maven-surefire] branch master updated: maven-shade-plugin missing
configuration in junit5 provider and not minimized in junit47
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/master by this push:
new 83f94f6 maven-shade-plugin missing configuration in junit5 provider and not minimized in junit47
83f94f6 is described below
commit 83f94f6bd8b0f432c4acce7907bd39911102f8e7
Author: Tibor17 <ti...@apache.org>
AuthorDate: Sun Jun 10 23:25:58 2018 +0200
maven-shade-plugin missing configuration in junit5 provider and not minimized in junit47
---
surefire-providers/surefire-junit-platform/pom.xml | 11 +++++++++++
surefire-providers/surefire-junit47/pom.xml | 1 +
2 files changed, 12 insertions(+)
diff --git a/surefire-providers/surefire-junit-platform/pom.xml b/surefire-providers/surefire-junit-platform/pom.xml
index d8d025b..dd0367a 100644
--- a/surefire-providers/surefire-junit-platform/pom.xml
+++ b/surefire-providers/surefire-junit-platform/pom.xml
@@ -152,11 +152,22 @@
<goal>shade</goal>
</goals>
<configuration>
+ <minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>org.apache.maven.surefire:common-java5</include>
</includes>
</artifactSet>
+ <relocations>
+ <relocation>
+ <pattern>javax.annotation</pattern>
+ <shadedPattern>org.apache.maven.surefire.javax.annotation</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>org.apache.maven.shared</pattern>
+ <shadedPattern>org.apache.maven.surefire.org.apache.maven.shared</shadedPattern>
+ </relocation>
+ </relocations>
</configuration>
</execution>
</executions>
diff --git a/surefire-providers/surefire-junit47/pom.xml b/surefire-providers/surefire-junit47/pom.xml
index 8ffdbf2..d3f050f 100644
--- a/surefire-providers/surefire-junit47/pom.xml
+++ b/surefire-providers/surefire-junit47/pom.xml
@@ -140,6 +140,7 @@
<goal>shade</goal>
</goals>
<configuration>
+ <minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>org.apache.maven.surefire:common-junit3</include>
--
To stop receiving notification emails like this one, please contact
tibordigana@apache.org.