maven shade - relocate classes coming from a particular jar only

Viewed 20

Let us say I have 2 dependencies D1 and D2. The package names of the classes in both the jars are of the format say "a.b.c". I need to create a maven shaded jar, where the classes in D1 are not supposed to be relocated ("a.b.c"), but the classes in D2 are supposed to be relocated to say "shaded.a.b.c". Is this possible with the maven shade plugin?

0 Answers
Related