Module ImportFrom alias alias alias alias alias alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Assign TupleStore NameStore AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BoolOpOr NameLoad TupleLoad Assign NameStore BoolOpOr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Call NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return ListComp AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr attr comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword ListLoad Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Raise Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Yield AttributeLoad NameLoad attr Expr Yield AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Yield AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Yield AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A copy pants.backend.jvm.targets.jar_dependency JarDependency pants.base.exceptions TargetDefinitionException pants.base.payload Payload pants.base.payload_field JarsField pants.build_graph.address Address pants.build_graph.target Target pants.util.memo memoized_property ManagedJarDependencies N/A Target N/A N/A A set of pinned external artifact versions to apply transitively. __init__ N/A N/A self payload artifacts N/A None None kwargs N/A N/A 
    :param artifacts: List of `jar <#jar>`_\s or specs to jar_library targets with pinned versions.
      Versions are pinned per (org, name, classifier, ext) artifact coordinate (excludes, etc are
      ignored for the purposes of pinning).
     N/A N/A jar_objects N/A self _library_specs N/A N/A self _split_jars_and_specs N/A artifacts N/A N/A payload N/A payload N/A Payload N/A N/A N/A payload add_fields N/A artifacts N/A JarsField jar_objects N/A N/A N/A N/A super ManagedJarDependencies self __init__ payload payload kwargs N/A traversable_specs N/A N/A self N/A N/A N/A N/A iter N/A self library_specs N/A property library_specs N/A N/A self N/A N/A N/A Lists of specs to resolve to jar_libraries containing more jars. N/A N/A N/A N/A N/A Address parse spec relative_to N/A N/A self address spec_path spec N/A spec N/A self _library_specs N/A memoized_property _split_jars_and_specs N/A N/A cls jars N/A N/A N/A library_specs N/A N/A jar_objects N/A N/A item jars N/A N/A N/A isinstance item JarDependency N/A N/A N/A N/A jar_objects append item N/A N/A N/A N/A library_specs append item N/A N/A jar_objects library_specs N/A classmethod N/A ManagedJarLibraries N/A object N/A N/A Creates a managed_jar_dependencies(), and also generates a jar_library for each artifact.

  Using this factory saves a lot of duplication. For example, this: ::

      managed_jar_libraries(name='managed',
        artifacts=[
          jar('org.foobar', 'foobar', '1.2'),
          jar('com.example', 'example', '8'),
        ],
      )

  Is equivalent to: ::

      managed_jar_dependencies(name='managed',
        artifacts=[
          jar('org.foobar', 'foobar', '1.2'),
          jar('com.example', 'example', '8'),
        ],
      )

      jar_library(name='org.foobar.foobar',
        jars=[jar('org.foobar', 'foobar')],
        managed_dependencies=':managed',
      )

      jar_library(name='com.example.example',
        jars=[jar('com.example', 'example')],
        managed_dependencies=':managed',
      )

  Which is also equivalent to: ::

      managed_jar_dependencies(name='managed',
        artifacts=[
          ':org.foobar.foobar',
          ':com.example.example',
        ],
      )

      jar_library(name='org.foobar.foobar',
        jars=[jar('org.foobar', 'foobar')],
        managed_dependencies=':managed',
      )

      jar_library(name='com.example.example',
        jars=[jar('com.example', 'example')],
        managed_dependencies=':managed',
      )

   JarLibraryNameCollision N/A TargetDefinitionException N/A N/A Two generated jar_libraries would have the same name. N/A __init__ N/A N/A self parse_context N/A N/A N/A N/A self _parse_context parse_context N/A __call__ N/A N/A self name artifacts N/A None kwargs N/A N/A 
    :param string name: The name of the generated managed_jar_dependencies() target.
    :param artifacts: List of `jar <#jar>`_\s or specs to jar_library targets with pinned versions.
      Versions are pinned per (org, name, classifier, ext) artifact coordinate (excludes, etc are
      ignored for the purposes of pinning).
     N/A management N/A N/A N/A self _parse_context create_object managed_jar_dependencies name name artifacts artifacts kwargs N/A N/A jars _ N/A N/A ManagedJarDependencies _split_jars_and_specs artifacts N/A N/A library_name dep N/A N/A N/A N/A self _jars_by_name management jars items N/A N/A N/A N/A N/A self _parse_context create_object jar_library name library_name jars N/A N/A N/A copy deepcopy dep managed_dependencies N/A N/A :{} format name N/A _jars_by_name N/A N/A cls management jars N/A N/A N/A jars_by_name N/A N/A dep jars N/A N/A library_name N/A N/A cls _jar_library_name dep N/A N/A library_name jars_by_name N/A N/A previous N/A jars_by_name N/A library_name N/A N/A N/A cls JarLibraryNameCollision management N/A N/A Two jar coordinates would generate the same name. Please put one of them in a separate jar_library() definition.
  {coord1}: {name}
  {coord2}: {name}
 format coord1 previous coord2 dep name library_name N/A N/A jars_by_name N/A library_name dep N/A jars_by_name N/A classmethod _jar_coordinate_parts N/A N/A cls coord N/A N/A N/A N/A N/A coord org N/A N/A N/A coord name N/A N/A coord classifier N/A N/A N/A N/A coord classifier N/A N/A coord ext N/A N/A N/A N/A coord ext N/A classmethod _jar_library_name N/A N/A cls coord N/A N/A N/A N/A N/A . join N/A N/A cls _jar_coordinate_parts coord N/A classmethod N/A