1SHADE-JAR(1)                  Java Packages Tools                 SHADE-JAR(1)
2
3
4

NAME

6       shade-jar - rename Java namespace in JAR file
7

SYNOPSIS

9       bin/shade-jar orig-namespace shaded-namespace in-jar out-jar
10

DESCRIPTION

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

EXAMPLES

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

BUGS

25       Currently only class files are shaded. Resources are not renamed.
26       Neither contents of resource files nor manifests are processed.
27

AUTHOR

29       Written by Mikolaj Izdebski.
30

REPORTING BUGS

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                      01/25/2023                      SHADE-JAR(1)
Impressum