File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # Maven Shaded Jar Artifact
2+ dependency-reduced-pom.xml
3+
14node_modules
25
36# Ignore Eclipse stuff
Original file line number Diff line number Diff line change 1717
1818 <properties >
1919 <java .version>1.6</java .version>
20+ <repackage .base>com.auth0.jwt.internal</repackage .base>
2021 </properties >
2122
2223 <licenses >
7677 <encoding >UTF-8</encoding >
7778 </configuration >
7879 </plugin >
80+ <plugin >
81+ <groupId >org.apache.maven.plugins</groupId >
82+ <artifactId >maven-shade-plugin</artifactId >
83+ <version >2.2</version >
84+ <executions >
85+ <execution >
86+ <phase >package</phase >
87+ <goals >
88+ <goal >shade</goal >
89+ </goals >
90+ <configuration >
91+ <shadedArtifactAttached >false</shadedArtifactAttached >
92+ <createDependencyReducedPom >true</createDependencyReducedPom >
93+ <relocations >
94+ <relocation >
95+ <pattern >com.fasterxml.jackson</pattern >
96+ <shadedPattern >${repackage.base} .com.fasterxml.jackson</shadedPattern >
97+ </relocation >
98+ <relocation >
99+ <pattern >org.apache.commons.codec</pattern >
100+ <shadedPattern >${repackage.base} .org.apache.commons.codec</shadedPattern >
101+ </relocation >
102+ </relocations >
103+ </configuration >
104+ </execution >
105+ </executions >
106+ </plugin >
79107 </plugins >
80108 </build >
81109</project >
You can’t perform that action at this time.
0 commit comments