You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/08/19 09:54:05 UTC
[maven-shade-plugin] branch pr-4 created (now 3b68fe4)
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a change to branch pr-4
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git.
at 3b68fe4 mention include tag
This branch includes the following new commits:
new 3b68fe4 mention include tag
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven-shade-plugin] 01/01: mention include tag
Posted by kh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch pr-4
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git
commit 3b68fe4796ad03301d3d21a4640fbc52b3b36123
Author: Jean-Philippe Martin <jp...@google.com>
AuthorDate: Fri Aug 17 14:01:39 2018 -0700
mention include tag
---
src/site/apt/examples/class-relocation.apt.vm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/site/apt/examples/class-relocation.apt.vm b/src/site/apt/examples/class-relocation.apt.vm
index e55634f..d895fee 100644
--- a/src/site/apt/examples/class-relocation.apt.vm
+++ b/src/site/apt/examples/class-relocation.apt.vm
@@ -70,3 +70,20 @@ Relocating Classes
into the package <<<org.shaded.plexus.util>>> by moving the corresponding JAR file entries and rewritting the
affected bytecode. The class <<<Xpp3Dom>>> and some others will remain in their original package.
+
+ It's also possible to narrow the pattern with the <<<include>>> tag:
+
+
++-----
+<project>
+ ...
+ <relocation>
+ <pattern>org.codehaus.plexus.util</pattern>
+ <shadedPattern>org.shaded.plexus.util</shadedPattern>
+ <includes>
+ <include>org.codehaud.plexus.util.io.*</include>
+ </includes>
+ </relocation>
+ ...
+</project>
++-----