Adding the ability to pull in a Maven artifact and extract its contents for use to feeding into another task.

Review Request #1210 - Created Oct. 24, 2014 and submitted

Information
Eric Ayers
pants
zundel/jar-source-set
720
9333e2a...
Reviewers
pants-reviews
jsirois, patricklaw

UnpackedJars (unpacked_jars) is a target that extracts files from a jar artifact.
The UnpackJars task does the extraction work.
DeferredSourcesMapper is a task that feeds some unpacked files into another task's sources= attribute.
Initially supported by java_protobuf_library targets.

Adds FromTarget (from_target) and which is used to re-direct the sources attribute to one of these UnpackedJars target
Also adds DeferredSourcesField which is a SourcesField that doesn't know
the exact list of sources when the graph is initially built.

Initial Design doc: https://docs.google.com/a/squareup.com/document/d/1CeKmYBRDq_Agn_YO-Nn6Ek4amGbQnJpV3PceB0_tSsU/edit

Added some unit tests, an example and an integration test.
CI running at https://travis-ci.org/pantsbuild/pants/builds/47172787

Issues

  • 0
  • 16
  • 4
  • 20
Description From Last Updated
Eric Ayers
Patrick Lawson
David Turner
Eric Ayers
Eric Ayers
Patrick Lawson
Eric Ayers
Eric Ayers
Eric Ayers
Patrick Lawson
Patrick Lawson
Eric Ayers
David Turner
Patrick Lawson
Eric Ayers
Eric Ayers
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

w00t! Commit 0dba5f5

Loading...