java - Copy each dependency to its own folder -
java - Copy each dependency to its own folder -
i want re-create each dependency , transitive dependencies own dedicated folder. find hard explain here's example.
project - let's phone call 'myproject' - has 2 dependencies dependency a dependency b
both dependencies has transitive dependencies. lets phone call a's dependencies a1 , a2. lets phone call b's dependencies b1, b2 , b3
i want create next directory construction when building project:
/myproject.jar /projects/a/a.jar /projects/a/jarlib/a1.jar /projects/a/jarlib/a2.jar /projects/b/b.jar /projects/b/jarlib/b1.jar /projects/b/jarlib/b2.jar /projects/b/jarlib/b3.jar
is possible using maven assembly plugin, maven dependency plugin or using both of them? or there other plugin accomplish i'm seeking? i've been trying utilize both of plugins far i've been able results transitive depencies gets copied single folder
try copy-dependencies goal of maven dependency plugin , set userepositorylayout true.
it's not same structure, construction of maven repository.
java maven maven-assembly-plugin
Comments
Post a Comment