1SHADE-JAR(1) Java Packages Tools SHADE-JAR(1)
2
3
4
6 shade-jar - rename Java namespace in JAR file
7
9 bin/shade-jar orig-namespace shaded-namespace in-jar out-jar
10
12 shade-jar utility is means for changing JAR file namespaces. Basically
13 it replaces all occurences of given pattern with a given replacement.
14 The replacament is performed on class file names and inside the class
15 files themselves. This is commonly known as shading.
16
18 shade-jar org.apache.log4j com.example.shaded.log4j
19 /usr/share/java/log4j.jar lib/shaded-log4j.jar will replace all
20 occurences of org.apache.log4j in JAR file /usr/share/java/log4j.jar
21 with com.example.shaded.log4j and store the resulting JAR in
22 lib/shaded-log4j.jar.
23
25 Currently only class files are shaded. Resources are not renamed.
26 Neither contents of resource files nor manifests are processed.
27
29 Written by Mikolaj Izdebski.
30
32 Bugs should be reported through Java Packages Tools issue tracker at
33 Github: https://github.com/fedora-java/javapackages/issues.
34
35
36
37JAVAPACKAGES 08/11/2019 SHADE-JAR(1)