Update the other codegen tasks that create JavaLibrary targets so they can be published

Review Request #3402 — Created Jan. 31, 2016 and submitted

zundel
pants
zundel/propagate-provides-codegen
2866
pants-reviews
dturner-tw, gmalmquist, nhoward_tw, patricklaw, stuhood

Implements _copy_target_attributes() for these other codegen tasks which will allow the publish.jar task to make the synthetic java_library() targets created by codegen inherit the provides configuration from the codegen targets defined in BUILD files.

CI green at https://travis-ci.org/pantsbuild/pants/builds/106015458

ZU
ZU
  1. This is one of the need changes like this to get publishing going at Square. I will follow up with an email to pants-devel. I'll be working more on this when I get back from vacation.

    1. Decided to write this up in a doc: https://docs.google.com/document/d/143WUiPbMVHpkSVCxwVwq55QSj8wUhVot8A0bp_OMRcY/edit#

  2. 
      
ZU
ST
  1. 
      
  2. 
      
ZU
ZU
GM
  1. Ship It!
  2. 
      
ZU
Review request changed

Status: Closed (submitted)

Change Summary:

Thanks Stu and Garrett. Commit cd96e63

DT
  1. Ship It!
  2. 
      
Loading...