jolly-chef-92794
03/18/2016, 7:58 PMjolly-chef-92794
03/18/2016, 7:59 PM<scope>provided</scope>
witty-crayon-22786
03/18/2016, 7:59 PMjolly-chef-92794
03/18/2016, 7:59 PMwitty-crayon-22786
03/18/2016, 8:00 PMjolly-chef-92794
03/18/2016, 8:01 PMA
depends on a fatjar with lots of hadoop things in version X
. Project A
also depends on project B
, which depends on different (not-fat) hadoop things in version Y
.witty-crayon-22786
03/18/2016, 8:02 PMjolly-chef-92794
03/18/2016, 8:02 PMA
gets its fatjar through a transitive dependency, so it marks its dependency on project B
as provided
so that it won’t get shadowed on the classpath (since project B
would get pulled in forced because alphabetizing)jolly-chef-92794
03/18/2016, 8:03 PMwitty-crayon-22786
03/18/2016, 8:03 PMwitty-crayon-22786
03/18/2016, 8:03 PMclever-ambulance-21321
03/18/2016, 8:04 PMwitty-crayon-22786
03/18/2016, 8:04 PMclever-ambulance-21321
03/18/2016, 8:04 PMwitty-crayon-22786
03/18/2016, 8:05 PMwitty-crayon-22786
03/18/2016, 8:05 PMjolly-chef-92794
03/18/2016, 8:05 PMcompile
vs runtime
bit because hadoopwitty-crayon-22786
03/18/2016, 8:06 PMjolly-chef-92794
03/18/2016, 8:06 PMprovided
than marking it as intransitive
and also playing with deploy_excludes
etcwitty-crayon-22786
03/18/2016, 8:06 PMwitty-crayon-22786
03/18/2016, 8:07 PMjolly-chef-92794
03/18/2016, 8:07 PMwitty-crayon-22786
03/18/2016, 8:07 PMjolly-chef-92794
03/18/2016, 8:08 PMdeploy_excludes
jolly-chef-92794
03/18/2016, 8:08 PMjars
jolly-chef-92794
03/18/2016, 8:08 PMwitty-crayon-22786
03/18/2016, 8:09 PMwitty-crayon-22786
03/18/2016, 8:09 PMjolly-chef-92794
03/18/2016, 8:09 PMdeploy_excludes
accepted a spec rather than a list of jar coordinateswitty-crayon-22786
03/18/2016, 8:09 PM