Skip to content

Commit

Permalink
mention include tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-philippe-martin authored and khmarbaise committed Aug 19, 2018
1 parent 0a54658 commit 3b68fe4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/site/apt/examples/class-relocation.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -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>
+-----

0 comments on commit 3b68fe4

Please sign in to comment.