Reputation: 1
I have a maven project named A
which is dependent on artifacts B
and C
, I want to generate a thin jar which will have only the classes of A
, B
and C
from project A
with A
s pom. I can do this using maven-shade-plugin, but the problem is the resultant artifact have 3 separate pom files,each with their own set of dependencies. Now How do I replace of B
and C
in A
with their transitive dependencies?
I want to see if maven already has some solution to this instead of me manually updating pom of A
Tried true in maven-shade-plugin, didn't see any change.
Upvotes: 0
Views: 31